mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2011-02-16, 01:31   #67
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D6616 Posts
Default

Quote:
Originally Posted by S34960zz View Post
However, v26.5b2 mis-reports the processor speed at 3192 MHz; v25.11b2 gets it right at 1862 MHz. +++++
According to http://ark.intel.com/Product.aspx?id=43125 your max CPU speed is 3.2 GHz with one core running. So the new speed detection code worked - kinda.
Prime95 is offline   Reply With Quote
Old 2011-02-18, 22:49   #68
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Build 3 is now available. If you have a multi-core hyperthreaded machine please test this version out. Let me know if it properly detects which logical cpus constitute a physical CPU. A message is output at startup.

If it isn't working, add the line "DebugAffinityScramble=1" to prime.txt and post the startup output.
Prime95 is offline   Reply With Quote
Old 2011-02-18, 23:26   #69
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

24×3×71 Posts
Default

Seems to work properly for an i7-920:
Quote:
Optimizing for CPU architecture: Core i3/i5/i7, L2 cache size: 256 KB, L3 cache size: 8 MB
Logical CPUs 0,1 form one physical CPU.
Logical CPUs 2,3 form one physical CPU.
Logical CPUs 4,5 form one physical CPU.
Logical CPUs 6,7 form one physical CPU.
And the LowMemWhileRunning issue is fixed!
Quote:
Entering a period of low memory usage because C:\PROGRAM FILES\PTGUI\PTGUI.EXE is running.
Entering a period of low memory usage because C:\PROGRAM FILES\ADOBE\ADOBE PHOTOSHOP CS5 (64 BIT)\PHOTOSHOP.EXE is running.
James Heinrich is offline   Reply With Quote
Old 2011-02-18, 23:54   #70
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

22·52 Posts
Default

Works on my Quad Core X5355

Optimizing for CPU architecture: Core 2, L2 cache size: 4 MB
Logical CPUs 0,1 form one physical CPU.
Logical CPUs 2,3 form one physical CPU.
Logical CPUs 4,5 form one physical CPU.
Logical CPUs 6,7 form one physical CPU.
drh is offline   Reply With Quote
Old 2011-02-19, 00:10   #71
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

6416 Posts
Default

Also works on my i7 Q720 Quad Core

Optimizing for CPU architecture: Core i3/i5/i7, L2 cache size: 256 KB, L3 cache size: 6 MB
Logical CPUs 0,1 form one physical CPU.
Logical CPUs 2,3 form one physical CPU.
Logical CPUs 4,5 form one physical CPU.
Logical CPUs 6,7 form one physical CPU.
drh is offline   Reply With Quote
Old 2011-02-19, 00:19   #72
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

22×52 Posts
Default

On my i7 machine, I just noticed my worker windows have the following lines in them ...

[Feb 18 19:05] Setting affinity to run worker on logical CPUs 0,1,2,3,4,5,6,7,31
[Feb 18 19:05] Setting affinity to run helper thread 1 on logical CPUs 0,1,2,3,4,5,6,7,31
[Feb 18 19:05] Resuming primality test of M49025983 using Core2 type-3 FFT length 2560K, Pass1=640, Pass2=4K, 2 threads
[Feb 18 19:05] Iteration: 23493594 / 49025983 [47.92%].

On my X5355 machine, I'm running 8 worker windows, and the CPU's match the worker windows.
drh is offline   Reply With Quote
Old 2011-02-19, 00:42   #73
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
And the LowMemWhileRunning issue is fixed!
Alas, I did nothing to fix this. I could not reproduce the problem. It is a subtle bug, sure to reveal itself again at a later date.
Prime95 is offline   Reply With Quote
Old 2011-02-19, 00:50   #74
engracio
 
engracio's Avatar
 
May 2007

1718 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This is a side effect of a bug fix in 26.4. I've coded up a fix for 26.5 build 3.
Upgraded to 26.5b3 and downloaded new wu. Worktodo.txt was updated properly when P-1 completed for a PRP test.

Thanks.

e
engracio is offline   Reply With Quote
Old 2011-02-19, 01:42   #75
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by drh View Post
On my i7 machine, I just noticed my worker windows have the following lines in them ...

[Feb 18 19:05] Setting affinity to run worker on logical CPUs 0,1,2,3,4,5,6,7,31
[Feb 18 19:05] Setting affinity to run helper thread 1 on logical CPUs 0,1,2,3,4,5,6,7,31
It looks like you have 8 worker windows each with a helper thread (16 threads total). This is very non-optimal. You likely better off just running 4 worker windows with no helper threads.

I'll investigate the mysterious cpu 31
Prime95 is offline   Reply With Quote
Old 2011-02-19, 02:10   #76
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

22×52 Posts
Default

Sorry, more specifically, on my i7, I'm running 4 worker windows, each with a helper, (8 threads total), not 8 windows with 8 helpers. This can be seen by my post #71.

Last fiddled with by drh on 2011-02-19 at 02:14
drh is offline   Reply With Quote
Old 2011-02-19, 03:12   #77
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

752610 Posts
Default

Quote:
Originally Posted by drh View Post
Sorry, more specifically, on my i7, I'm running 4 worker windows, each with a helper, (8 threads total), not 8 windows with 8 helpers. This can be seen by my post #71.
Did you set the affinity for each thread to "run on any cpu"? That is the only explanation I have for the output you are seeing. (I've coded up a fix for the CPU #31 bug).

Two things you should do to try and get better throughput:

1) See if you get better timings with smart-affinity rather than run-on-any-CPU
2) See if you get better timings by not using a helper thread for each worker.
Prime95 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 27.3 Prime95 Software 148 2012-03-18 19:24
Prime95 version 26.3 Prime95 Software 76 2010-12-11 00:11
Prime95 version 25.5 Prime95 PrimeNet 369 2008-02-26 05:21
Prime95 version 25.4 Prime95 PrimeNet 143 2007-09-24 21:01
When the next prime95 version ? pacionet Software 74 2006-12-07 20:30

All times are UTC. The time now is 11:52.


Sat Jul 17 11:52:44 UTC 2021 up 50 days, 9:40, 1 user, load averages: 1.00, 1.33, 1.30

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.