<<  >> (p.116)
    Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444191 times)
    onedeveloper
    Full Member
    ***
    Offline Offline

    Activity: 143
    Merit: 100


    View Profile
    March 18, 2017, 06:13:14 PM
     #2301

    Sorry! I had not analyzed the full source for your miner  Sad

    What I have been doing for some time is testing the capabilities and limits of the miner. I have a simple laptop for my experiments. This is information from your miner:

    • CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
    • CPU features: SSE2 AES AVX AVX2

    This CPU has only 3MB Level 3 cache, 2 cores and 2 threads per core (4 logical CPUs), so I have tried to maximize my mining capabilities under Windows 8.1. First, I mined XMR using 4 threads for a total of 55 to 60 H/s. After cheking the cache, I got the same value with only 2 threads. Finally, I have settled on using 1 thread at 25 H/s and the other 3 threads for mining Lyra2re2 at a combined total of 250-300 kH/s.

    After thinking on what I've done, I can safely say that this is a viable Monero mining strategy for Ryzen 7 family of processors (8 cores 16 threads, divided up into two CCXs of 4 cores 8 threads each, and 8MB L3 cache each):

    ** Monero1.bat
    Code:
    REM ** USE THE FIRST CCX MAXIMIZING L3-CACHE
    cpuminer-aes-avx2.exe -a cryptonight -t 4 --cpu-affinity 0x000F -o <POOL> -u <USER>-p <PASS>
    PAUSE

    ** Monero2.bat
    Code:
    REM ** USE THE SECOND CCX MAXIMIZING L3-CACHE
    cpuminer-aes-avx2.exe -a cryptonight -t 4 --cpu-affinity 0x0F00 -o <POOL> -u <USER>-p <PASS>
    PAUSE

    ** OtherCoins.bat
    Code:
    REM ** USE THE REMAINING THREADS ON THE TWO CCXs DISREGARDING L3-CACHE
    cpuminer-aes-avx2.exe -a <ALGO> -t 8 --cpu-affinity 0xF0F0 -o <POOL> -u <USER>-p <PASS>
    PAUSE

    ** MineAll.bat
    Code:
    REM ** LAUNCH ALL MINERS AT ONCE
    START Monero1.bat
    START Monero2.bat
    START OtherCoins.bat
    PAUSE

    Alternatively, you can use only 6 threads on the third file so you can use the remaining two threads to browse the web or do other tasks while mining in the background.
Page 115
Viewing Page: 116