Post
Topic
Board Announcements (Altcoins)
Re: 【ANN】BITPOKEMONGO 【YOBIT】【BPOK】【X11】【POW+POS】【MICROSOFT AZURE】
by
u0000
on 10/08/2016, 10:56:47 UTC
For solo mining:

Code:
--cpu-priority 4

does this just control how many cores are used, or is core control done with a different command - and if so, is this line of code unnecessary?  


Also, using the new wallet - only one active connection?  Any updated node lists?

What miner are you using?

--cpu-priority relates the applications cpu priority over other applications

  • 5: real time
  • 4: high
  • 3: above normal
  • 2: normal
  • 1: below normal
  • 0: low

https://s10.postimg.org/rlc5ooaah/Untitled.png


--cpu-affinity relates to the applications affinity to cpu cores/threads (as in which cores to hog/spread the process over)
usually set as a hex mask (0xXX). A little tricky to calculate at times. I'll try and explain....

First some basic binary. 1 = on. 0 = off. Binary is written backwards, from right-to-left.

Now, for example if you have 8 threads/cores the default affinity is to use them all. This would be represented in binary as 11111111. (each core is switched on, 1, and the number here relates to the amount of cores [8 numbers, 8 cores]).

Now lets say I want to set the affinity to all but the last core (as in the picture)... in binary this would be represented as 01111111.

Once you have the binary value use a Binary to Hexadecimal converter (http://www.binaryhexconverter.com/binary-to-hex-converter) to convert binary to hex. 01111111 = 7F. I would then set my --cpu-affinity 0x7F

https://s10.postimg.org/e5p4z81sp/Untitled1.png


--threads (or sometimes --cpu-threads) relates to the number of cores/threads to use

Sets how many threads/cores to use. Default is all. If you want to free up some cores for other tasks just set this to the number of cores/threads you want to use for mining. In my case I have 8 and I want to use 7 (keep one spare for other tasks). I set my --threads 7.

https://s10.postimg.org/qyhucw2s9/Untitled2.png