Position: Home page » Equipment » How to modify the number of threads used in mining program

How to modify the number of threads used in mining program

Publish: 2021-03-31 02:12:39
1. 1 / 7 step by step reading

1: material purchase

1.1: motherboard suggestion: the graphics card mining does not need a lot of PCI e bandwidth, and the motherboard with PCI-E 1x can meet the bandwidth requirements. Generally, the motherboard has 3-5 PCI-E 1x interfaces and 1 PCI-E 16x interface. In addition, the motherboard has a large 4Pin power supply interface, which improves the stability to a certain extent. PCI-E 1x needs to purchase the extension cable from 1x to 16x

1.2: recommended models: 280x, 290380x, 390470d, 470480, 4G and above; N card GTX 950106010701080 and above. A card is recommended for eth / etc mining, while n card is inefficient; Zcash mining a card and N card can be, n card has a slight advantage in speed, mainly low power consumption.
2. You can modify the registry to achieve ie multi-threaded download, open the registry, expand "HKEY"_ CURRENT_ User \ software \ Microsoft \ windows \ current version \ Internet settings ", and then create two new" double byte value "(DWORD value) in the right window, with the key names of maxconnectionsperserver and maxconnectionsperl_ Oserver, the key value is "5", after saving, restart the computer, try to download ie again to see if the speed is much faster than before!
3. Threads are different from processes
you can think of the running of a program as a process.
however, threads are in the process, so what you ask can't be realized.
how many threads in a process are set according to the needs of the program, which has been determined ring development, unless in some special places, such as download, You can choose how many threads to use to download
I hope it will be useful to you
4. Yesterday, I just started playing this game and found that minerals are non renewable. This is quite depressing. I didn't find mod for mineral regeneration in the forum. I only found the modification method of collecting and removing minerals. I always felt uncomfortable. I found that many people in the forum wanted such mod, so I planned to make one myself (there are many ways to brush materials, but it's too disharmonious, Losing the balance of the game is also easy to destroy a good game. For this mod, I spent a whole night with backache. I just finished it. I tested it myself and found that there was no problem. Then I sent it out. I hope my brothers like it
the following is the basic description of mod:
three states are added to the ore:
large amount: more ore is g out
small amount: less ore is g out, which will become a large amount of ore in 20-30 days
vein: the foundation of the ore, which will become a small amount of ore in 10-15 days. If the ore is g out, it will not be regenerated, and a large amount of ore will be g out (knock it hard)
basically, it takes a hoe to dig out a pile of mines, including veins
PS: why should mineral regeneration be set for such a long time? Because most people hang up when they can't finish digging. In fact, the purpose is to affect the balance of the game to the minimum extent. If the regeneration is too fast, people won't be full of prospecting and digging, which will rece a lot of game fun
I forgot to say that there seems to be an automatic mining mod in this area. In theory, that mod conflicts with this mod. There is no test. I have been working all night. I'm too tired. If you want to integrate, you can try it yourself.
5. Select tool -- & gt; Configuration -- & gt; Task default attribute -- & gt; Original address download thread number, modify, hope to adopt
Adoption
6.

The number of threads can't be modified. This has been fixed when the CPU was designed

  1. hyper threading is a technology developed by Intel, which was released in 2002. The English name of hyper threading is HT Technology, which is also called hyper threading in Chinese

  2. hyper threading technology was originally only used in Xeon processors, which was called super threading at that time. After that, it was used in Pentium 4 to mainstream the technology

  3. through hyper threading technology, Intel became the first company to provide two logical threads in one entity processor< br />

7.
  1. is not what you think, multithreading is to run multiple tasks at the same time, and these tasks are assigned by the windows operating system, belonging to the underlying operation, and cannot be operated by human

  2. for a single core CPU, general windows tasks are run in rotation, such as running this task in the first 100 ms, running another task in the next 100 ms, and running multiple tasks alternately. Therefore, for a single core CPU, the efficiency is very low, and the computer is easy to get stuck e to the large amount of tasks, so the multi-core CPU is relatively comfortable in this aspect

  3. another example, for example, browsing a web page, if you open multiple web pages, there will be multiple tasks running at the same time. For multi-core CPU, there are both alternating tasks and parallel tasks running at the same time, because the number of CPU cores cannot be unlimited. As long as the number of tasks is greater than the number of CPUs, there will be alternating tasks running, What's more, the operating system itself has many task processes running. So alternate operation is the normal operation of windows tasks< br />

8. Thread: the smallest unit of program flow. A program consists of one or more threads. Function: the more CPU threads, the faster the program runs, or the more programs can run at the same time. In other words, the more CPU threads a computer has, the less likely it is to get stuck. At the same time, the more threads the CPU supports, the stronger its performance is.
9. #
Su
-
XXX (ordinary user)
Su:
unable to set user ID:
resource temporarily unavailable
#
ulimit
- U
1024
from this we can see that the maximum number of threads is 1024
modify the configuration of the maximum number of threads
#
VI
/ etc / security / limits. D / 90 nproc. Conf
the content is as follows:
*
soft
nproc
1024
root < B R / > soft
nproc
unlimited
as can be seen above, all users except root are limited to 1024. Therefore, this problem can be solved by annotating this line or increasing the value. After modification, save and exit. Such modification takes effect immediately
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750