![]() |
![]() |
#1 |
Feb 2009
73 Posts |
![]()
With i7 and 8 threads, seems like the Windows client is ~20% faster on P-1.
So, does Prime95.exe work under Wine, and would it be multi-threaded? And would it actually help, or is this a scheduler thing or a runtime code path selection thing? |
![]() |
![]() |
![]() |
#2 |
Jul 2006
Calgary
1A916 Posts |
![]()
are they the same version of gimps? both version 25.9 build 3 or what?
|
![]() |
![]() |
![]() |
#3 |
Feb 2009
73 Posts |
![]()
I need to reboot back into Windows for A-B-A to make sure it's not just slowing down, but yeah I tried 32- and 64- bit both v25.8 and v25.9
|
![]() |
![]() |
![]() |
#4 |
Feb 2009
73 Posts |
![]()
Yeah booted back to Windows, win64 client is at least 33% faster. It seems to be 50-60% vs 82-85% cpu utilization, Linux vs Vista, that is. 1630s vs 1220s.
Due to utilization being low in Linux, seems like that's a scheduler thing, or a software synchronization thing. I can at least try a different scheduler in Linux, but later though. Last fiddled with by xorbe on 2009-03-15 at 18:16 |
![]() |
![]() |
![]() |
#5 |
Aug 2002
Ann Arbor, MI
433 Posts |
![]()
cat /proc/cpuinfo
Make sure the cpu mhz entry is what it should be. Intel's SpeedStep doesn't work well on Linux sometimes. On my new Linux computer, my processor was underclocked by about 20% until I turned off SpeedStep in the BIOS. |
![]() |
![]() |
![]() |
#6 | |
May 2008
3·5·73 Posts |
![]() Quote:
xorbe needs to check that he doesn't have CPU scaling enabled, and either disable it or set mprime to run at a higher priority. |
|
![]() |
![]() |
![]() |
#7 | |
Mar 2003
New Zealand
13·89 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
May 2008
3·5·73 Posts |
![]() Quote:
But in any case if you want the governor to not ignore the nice'd tasks, you can do: echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load For each cpu0, cpu1, etc however many cpus you have. |
|
![]() |
![]() |
![]() |
#9 |
Feb 2009
73 Posts |
![]()
BIOS does not have auto-anything enabled, and it is pegged at 3657 according to /proc/cpuinfo. I don't even have the cpufreq module loaded. I've even reniced the threads to priority 0. The % utilization simply trails Win64 -- either Linux scheduler is bouncing the threads around, or not scheduling well, or the Linux client doesn't synchronize as well. (Win64 client achieves 82-85% utilization.) I could not figure out how to reboot with a different CPU scheduler -- maybe that's only for the IO scheduler.
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18493 xorbe 20 0 539m 396m 2788 S 62 6.6 4:46.94 mprime64-258 18492 xorbe 20 0 539m 396m 2788 S 62 6.6 4:57.95 mprime64-258 18095 xorbe 20 0 539m 396m 2788 S 58 6.6 4:56.52 mprime64-258 18489 xorbe 20 0 539m 396m 2788 S 58 6.6 5:04.49 mprime64-258 18491 xorbe 20 0 539m 396m 2788 S 58 6.6 5:06.22 mprime64-258 18490 xorbe 20 0 539m 396m 2788 R 55 6.6 5:08.20 mprime64-258 18488 xorbe 20 0 539m 396m 2788 S 52 6.6 4:18.76 mprime64-258 18494 xorbe 20 0 539m 396m 2788 S 52 6.6 4:35.75 mprime64-258 Last fiddled with by xorbe on 2009-03-17 at 01:30 |
![]() |
![]() |
![]() |
#10 |
(loop (#_fork))
Feb 2006
Cambridge, England
2×7×461 Posts |
![]()
Does the CPU use go up if you do
taskset -p 01 18493 taskset -p 02 18492 taskset -p 04 18095 taskset -p 08 18489 taskset -p 10 18491 taskset -p 20 18490 taskset -p 40 18488 taskset -p 80 18494 to lock each task onto its own execution thread? |
![]() |
![]() |
![]() |
#11 |
May 2008
21078 Posts |
![]()
Try turning off the group scheduler (CONFIG_GROUP_SCHED). That will require a kernel recompile.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running MFAKTC in WINE? | Rodrigo | GPU Computing | 13 | 2017-08-10 04:10 |
GUI for Mprime/running Prime95 under WINE? | ixfd64 | Software | 5 | 2011-02-16 15:21 |
split a prime95 queue & client installation | joblack | Information & Answers | 1 | 2009-01-06 08:45 |
Prime95 Client problem | GSV3MiaC | Software | 21 | 2004-01-14 14:02 |
Prime95 client stuck? | edorajh | Software | 7 | 2003-11-08 17:38 |