mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-11-21, 12:37   #144
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226778 Posts
Default

Question: Will P95 stop the ECM (and switch to the next assignment) if a factor is found (in stage 1? in stage 2?), or it will continue until the number of pledged curves is finished?

(edit: doing 150 curves for each of the first 5 exponents over 7M, currently at curve 136, 138, 141, 139 and 0 respectively, on a 4 core machine)

Last fiddled with by LaurV on 2012-11-21 at 12:41
LaurV is offline   Reply With Quote
Old 2012-11-21, 13:08   #145
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

10228 Posts
Default

It will stop unless the factor found was supplied as part of the known_factors list for the assignment.
ckdo is offline   Reply With Quote
Old 2012-11-24, 16:52   #146
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default AffinityScramble2 doesn't work on Bulldozer

Hi,

Mprime v27.7 (Linux 64bit) doesn't honor AffinityScramble2 on Bulldozer CPUs? I didn't try older mprime versions

local.txt
Code:
[...]
WorkerThreads=1
ThreadsPerTest=2
Affinity=0
AffinityScramble2=24
[...]
works fine on all CPUs I've tested except Bulldozer CPUs? It works as expected on the older Opteron 61xx and on all Xeon systems I've tested.

Code:
Mersenne number primality test program version 27.7
Optimizing for CPU architecture: AMD Bulldozer, L2 cache size: 2 MB, L3 cache size: 12 MB
Starting worker.
Worker starting
Setting affinity to run worker on logical CPU #1
Optimal P-1 factoring of M59xxxxxx using up to 59615MB of memory.
Assuming no factors below 2^73 and 2 primality tests saved if a factor is found.
Optimal bounds are B1=555000, B2=11377500
Chance of finding a factor is an estimated 3.76%
Using AMD K10 FFT length 3200K, Pass1=640, Pass2=5K, 2 threads
Setting affinity to run helper thread 1 on logical CPU #2
Any idea how to debug? I quick view into the sources didn't help, I've tried DebugAffinityScramble=2 but got no additional screen outputs.

Oliver
TheJudger is offline   Reply With Quote
Old 2012-11-24, 21:11   #147
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19×397 Posts
Default

In my reading of the code AffinityScramble2 is only used on machine that support hyperthreading. Try setting NumCPUs=n and CpuNumHyperthreads=2
in local.txt
Prime95 is offline   Reply With Quote
Old 2012-11-24, 22:22   #148
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Adding "CpuNumHyperthreads=2" to local.txt is enough.
AffinityScramble2 is working fine on Opteron 61xx which don't have Hyperthrashing.

Oliver
TheJudger is offline   Reply With Quote
Old 2012-11-25, 01:32   #149
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165678 Posts
Default

Quote:
Originally Posted by TheJudger View Post
AffinityScramble2 is working fine on Opteron 61xx which don't have Hyperthrashing.
It shouldn't. Does Options/CPU report a hyperthreaded CPU?
Prime95 is offline   Reply With Quote
Old 2012-11-25, 13:08   #150
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

21278 Posts
Default

My fault (wrong observation), on Opteron 61xx AffinityScramble2 is ignored, too. Adding CpuNumHyperthreads=2 to local.txt does the trick, too.

Oliver
TheJudger is offline   Reply With Quote
Old 2012-12-06, 18:25   #151
clarke
 
Feb 2009

22·7 Posts
Default 26.6 and 27.7 x64 torture test difference

I'm using x64 versions of Prime95. There is difference in torture test memory consumption between 26.6 and 27.7.
Sometimes on 4GB Windows 7 x64 SP1 (without any updates, high perf profile) 26.6 can eat up to 3,29GB of 3,5GB usable memory (4GB installed but 512MB used by int video) in Blend test, 27.7 can occupy only 1.6GB, or 26.6 can't start the 1st of 4 threads (Starting, Self-Test, Self-test, Self-test) while using all 4 cores.
Also under 26.6 Blend test computer is barely usable, perhaps because of no free memory. I don't remember I've seen such sluggish system, it seems like frozen at first, but responds in 5-10 seconds on your actions. It can take some time to stop the test. Under 27.7 Blend test it can run unnoticed. Unfortunately it doesn't happens all the time. Frequently 26.6 starts testing consuming 1,6GB of memory and running 100% CPU unnoticed like 27.7.
I haven't found changes in whatsnew.txt regarding tests, except one: "Multi-threaded tests might be a little bit faster especially when using a lot of threads."
Do you suggest using 27.7 for AMD K10?
Can I help narrowing down the issue?

results.txt of 27.7 is:
AMD Athlon(tm) II X4 640 Processor
CPU speed: 3013.38 MHz, 4 cores
CPU features: 3DNow!, SSE, SSE2
L1 cache size: 64 KB
L2 cache size: 512 KB
L1 cache line size: 64 bytes
L2 cache line size: 64 bytes
L1 TLBS: 48
L2 TLBS: 512
Prime95 64-bit version 27.7, RdtscTiming=1

26.6:
AMD Athlon(tm) II X4 640 Processor
CPU speed: 8863.04 MHz, 4 cores
CPU features: Prefetch, 3DNow!, MMX, SSE, SSE2
L1 cache size: 64 KB
L2 cache size: 512 KB
L1 cache line size: 64 bytes
L2 cache line size: 64 bytes
L1 TLBS: 48
L2 TLBS: 512
Prime95 64-bit version 26.6, RdtscTiming=1
clarke is offline   Reply With Quote
Old 2012-12-06, 20:29   #152
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

When version 26.6 uses 3.2GB of memory and your system slows to a crawl - this is not a good thing. Windows is likely thrashing -- paging memory to and from disk. This may be stressful to the disk, but not the CPU. Thus, you are not getting a good torture test of the CPU.

Somewhere between 26.6 and 27.7 either a bug was fixed or the algorithm for computing the default amount of memory to use in a blend torture test changed.

I suggest using 27.7. If you want to try to get prime95 to use more than 1.6GB, try using a custom torture test giving prime95 more memory to use.
Prime95 is offline   Reply With Quote
Old 2012-12-08, 00:36   #153
richs
 
richs's Avatar
 
"Rich"
Aug 2002
Benicia, California

24508 Posts
Default

I am getting the following on every iteration:

[Dec 7 16:29] Iteration: 1193000 / 29810063 [4.00%]. Per iteration time: 0.055 sec.
[Dec 7 16:29] Possible hardware errors have occurred during the test!
[Dec 7 16:29] 2 ROUNDOFF > 0.4 of which 1 were repeatable (not hardware errors).
[Dec 7 16:29] Confidence in final result is fair.

Prime95 v27.7, build 2 on a box that I have not had any bad results. The other three workers are fine.

How do I specify a larger FFT? Do I stop and start over again since I'm only at 4.00%. Thanks!
richs is offline   Reply With Quote
Old 2012-12-08, 00:45   #154
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

Can you post the roundoff error reports from results.txt?
Some roundoff values (such as 0.4375) are really OK when running near the upper limit of an FFT size.

If you have one of the suspicious error values (0.5 or very close to it) then I'd restart the test since you're only at 4%.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


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 05:40.


Fri Aug 6 05:40:20 UTC 2021 up 14 days, 9 mins, 1 user, load averages: 3.42, 3.28, 2.96

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.