fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

XMR-STAK cpu -enable cryptonight_r asm 'amd_avx' cpu's- #2307

Closed seraphsatan closed 5 years ago

seraphsatan commented 5 years ago

Please provide as much as possible information to reproduce the issue.

Basic information

Compile issues

"cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 6 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 8 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 10 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 12 }, { "low_power_mode" : false, "no_prefetch" : true, "asm" : "amd_avx", "affine_to_cpu" : 14 }, ],

When the output informs of the cryptonight_r asm issue the hashrate drops to ~20% of max for a while (unsure of duration, but a minute or more as the 60s designation on the report shows 17 rather than the normal ~72) then back to normal.

psychocrypt commented 5 years ago

could you please post the output that I know what you mean with the asm issue.

seraphsatan commented 5 years ago

cryptonight Hope that helps and is what you were looking for.

Thx for the fast reply. I am impressed.

psychocrypt commented 5 years ago

slowdown fixed in #2314. The fix will be available soon in the next release