-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i7-8700k inconsistent results #1649
Comments
I get the same skew with core performance I assumed it was just something with how Intel is doing their Neat Tricks (tm) inside various CPU cores. Turbo and SmartCache and whatever other buzztech going on behind the scenes automagically. However, nice and even on a E5-2620 2GHz (15MB SmartCache so 7 threads):
But that's comparing a E5 Sandy Bridge (old tricks/less tricks/no tricks?) with your i7 Coffee Lake (new tricks?) |
That's interest guys, I'm seeing similar inconsistent results. Given host was getting (reported) 950H/s, experienced power outage, now I only get about 800H/s Dual CPU Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz cat cpu.txt
I disabled hyper-threading in BIOS. Full detail of /proc/cpuinfo https://pastebin.com/ZAWMXdkA If CPU0 can get 51, shouldn't they all be able to get 51H/s ? With disabling HT, my understanding is the CPUs listed in /proc/cpuinfo are the real cores available, so numbering 1 through 9 are are real cores on physical CPU 1 and 10 through 19 are real cores on physical CPU 2. |
The ones getting ~52H are the ones you've set to There is a PR #1604 that allows for low_power_mode:100 which works well for Broadwells. Something about the SmartCache goofs with things internally... it isn't necessarily 2MB -> core directly mapped, it:
So that says whatever the CPU wants to do given current workload versus cache, it will do, magically. So some cores have to await cache usage sometimes, slowing them down, or whatever. They don't say exactly how it works / trade secret or whatever. But anyway providing it a huge stack of 100 tasks per core forces it to optimize the workload and cores to cache better (it can't get a good idea of what to optimize with such a small stack as 1-5 threads per core). The PR was not accepted and does not apply cleanly anymore. I use it on a few SmartCache (not Broadwell, but it has been tested on Broadwell...) where it worked for a +30H total boost so I am very interested in updating it. |
I have the same problem. On two different systems actually, both with an i7-8700k. I have an i7-8700k (overclocked to 4.9 GHz). I'm using xmr-stak 2.4.3 26a5d65, but I don't think the version matters since this has been happening for a long time and with many different versions. I'm only doing CPU mining with xmr-stak. Whenever I restart my computer, I have to "mess around" with xmr-stak. That involves restarting xmr-stak a lot, or restarting my computer again, or switching my Right now, I have it running with this config:
Which is giving me the "fast hash rate" (even with a bunch of junk running in the background):
It takes ages to get it in "fast mode", sometimes I just give up and let it go in "slow mode" which is about 350 H/s, similar to OP. xmrig has exactly the same problem, here's a long issue about it: xmrig/xmrig#207 Here's a comment by the author of xmrig: xmrig/xmrig#207 (comment) @Spudz76 Any ideas? |
If I set them all to true, it actually slows all cores down. I also added the mentioned 5:true settings, but did not have any positive affect. Interestingly similar, I also see 'fast' and 'slow' modes between runs on the same architecture (same host even). On one such host, I was once able to get about 950H/s but subsequent runs only reach about 800H/s (as mentioned above). I'm compiling from source, running that config as shared above, but getting continuing inconsistent results. Across the four hosts I'm attempting to run, missing 150H per host is the equivalent of (atleast) a RX 480, which is very unfortunate to be missing out on that hash. I'm happy to pull updated source, compile and run if there is interest in testing and finding a solution. |
I messed up with Nicehash today and somehow Nicehash (with the same config like the one at the very beginning of this post) is always getting 420+ in total. There must be something to do from the point of mining application to force CPU to go on full load... |
Hi, I am struggling with inconsistency. If I use nicehash I always get for cryptonight_v7 ~450h/s.
When I try to run xmr-stack 2.4.4 by myself to mine Monero or Electroneum, every time I get different values. I usually get ~80h/s on some cores, and a ~40h/s on the rest. Huge pages enabled and activated in the system. It happened few times, that I started miner on already fully loaded CPU and it run ~480h/s (after switching off the heavy app), so I know it IS possible.
i7-8700k - 4.4Ghz (stock)
8GB RAM 2400MHz
6x 1050Ti GPU (those are working great btw)
Win 10
"cpu_threads_conf" :
[
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : false, "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 },
],
The text was updated successfully, but these errors were encountered: