fireice-uk / xmr-stak

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

Configurator adds all CPUs in 2.4.X #1309

Closed oHu812 closed 4 years ago

oHu812 commented 6 years ago

On all my servers with various CPUs, all intel, the configurator builds the CPU.txt with all CPUs in 2.4.X. On an I7 it puts them even then odd. On an old XEON it puts them in order 0-8. I was previously at 2.3 and it would always add only the even cores before startup. Again this is happening on all 4 of my servers.

Spudz76 commented 6 years ago

Seems like too many users rely on automatic configuration. Running from a trojan script perhaps???

Edit your baseline example generated configs to whatever you know is correct, then? I mean you are supposed to be using the target machine right, and have normal access to it too, right? Easy to edit the config when it's wrong in that case.

psychocrypt commented 6 years ago

Which OS do you use. Do you compiled the miner by your own? Do you have the dependency hwloc? Please do not ignore the issue template we have not the time to ask each user for more information.

oHu812 commented 6 years ago

Sorry for skipping the template. The boxes are windows 10, 7, and server 16. I didn't compile these myself, but when I do the same thing happens. hwloc is active on all. @Spudz76 I run the autoconfig after updates to see if the devs added any new tweaks than what I know to use. Just reporting here that I found a change in how things operated, probably low priority. It makes me curious now though if I am picking the wrong cores (not hardware but hyper) on my xeon...

oHu812 commented 6 years ago

Here is some more info on the config that is built. XEON E5-2680. Fresh install of windows 10 pro. Is this what is intended?

{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 15 },
JerichoJones commented 6 years ago

Still no template...

oHu812 commented 6 years ago

Wow tough crowd. You need the template headers too? Maybe the top of the template should say don't remove the template. @JerichoJones here it is. Hope it's everything you ever wanted it to be....

Basic information

Compile issues

Issue with the execution

Stability issue