Post
Topic
Board Announcements (Altcoins)
Re: [ANN][ROI] ROI Coin | CPU Only Solo Mining Hybrid | 15% POS | 593% Term Deposit
by
TheRaster
on 18/03/2018, 16:25:03 UTC
If you're CPU mining ROI coin we just released a new tutorial video that will show you how to increase your hash rate while saving energy at the same time!

Here it is: https://www.youtube.com/watch?v=7Bx6SIG6_70

Many thanks to TheRaster for putting these awesome tutorial videos together!

Hello and thank you for the trick!. With this I have got managed to work six processors to mine, something that before did not let me and then was limited to using only five
Now I want to share with all you what I consulted to set affinity via batch, it's achieved by adding to the beginning of the line where the miner is configured as follows:

Code:
start /affinity XX yourminer.exe -a hodl -o stratum+tcp://.....

The 'XX' are used to choose the processors they want to configure. It's a hexadecimal number that is assembled from a binary number:

For example, assuming that someone has an 8-core processor:
-If you want to run the first 7 processors (cpu0, cpu1, cpu2, cpu3, ​​..., cpu6), the binary number would look like this: 01111111
-if you want to run the first 6 processors, the binary number would look like this: 00111111 (cpu0, cpu1, cpu2, cpu3, ​​..., cpu5)
-The first 5: 00011111
-The first 4: 00001111
-The odd processors (cpu1, cpu3, ​​cpu5, cpu7): 10101010
-Even processors (cpu0, cpu2, cpu4, cpu6, just like in the video): 01010101
and so as you want to configure

After you have that binary number, the next thing I said before is to pass it to hexadecimal. You can use a calculator for that purpose, or if you want to do it manually, all you need to do is split the binary number into groups of 4 digits, so if the binary of the even processors is 10101010, then 0101 0101 is left. Remove the zeros to the left surplus of each group, for the example would be 101 101 and finally look for those two numbers the equivalent in hexadecimal (table of binary conversion to hexadecimal here: https://www.calculadoraconversor.com/binario-a-hexadecimal. So if 101 = A, then the 'XX' for this case would be 'AA'

In the end, the line would be like this to permanently use the even processors in an 8-core PC:
Code:
start /affinity AA yourminer.exe -a hodl -o stratum+tcp://.....
 Smiley

Thankyou for your added info there 2DRacox....

However I my self have done this. Its something that just dont seem to want to work with the hodl cpu miner. Its not a problem I dont mind setting the affinity manual in the way I shown in the vid. Its just down to the windows groups in regards to the cpu sockets. Sadly the commands for windows cpu sockets dont work in the way they should. The commands go in and stay but they dont do anything for this miner. Its not a problem. So dont worry,

I just hope that the guys who code the miners such as Wolf0 take note of this vid and see there is much room to improve there code.

Raster.