Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
311 stars 108 forks source link

[Improvement] Higher than 100% max-threads-hint #400

Open electroape opened 1 year ago

electroape commented 1 year ago

Take higher than 100% values for max-threads-hint option to quickly adjust used threads count for cases when it wasn't properly detected (in virtualized environment for example), without having to use manual threads config.

Bendr0id commented 1 year ago

Do you've observed that somewhere or is that an assumption?

electroape commented 1 year ago

I do, happens on my 2x7702 behind eSXI 7.0.1 with rx/0. It automatically uses only 32 threads per socket, not sure if that's how it's supposed to be but settings it to use 64 threads increases the hashrate significantly.

Bendr0id commented 1 year ago

Hmm, sounds like an issue detecting the 2nd socket then..

Bendr0id commented 1 year ago

Nevermind. The epyc 7702 has 128t and 256mb l3, so it should run fine with 128t per socket?

electroape commented 1 year ago

It runs worse in my case with 128T per socket, 64T gives the best results.