![]() |
|
|
#34 | |
|
Sep 2006
Brussels, Belgium
110101001012 Posts |
Quote:
Jacob |
|
|
|
|
|
#35 | |
|
Sep 2006
Brussels, Belgium
35×7 Posts |
Do the trial factoring limits change with this version ? It seems to me that on Core 2 architecture computers trial factoring could go one bit farther.
The mean time to trial factor a 41M exponent from 62 to 68 bits is 0,54 days. The time to LL test that exponent on the same computer is 36 days. With the double check that is 72 days plus one day for P-1 factoring. Trial factoring from 68 to 69 bits would require another .55 days and would find a factor in 1,45% of cases, taking into account the 69 bits factor would be found by P-1 factoring in 30% of cases, the net benefit would be another 1% of exponents eliminated. The cost would thus be 0,55 days/1% =55 days compared to 2*36 days+1day=73 days... Another thing is the the suggestion by A Kruppa : Quote:
Jacob |
|
|
|
|
|
#36 | ||
|
Jul 2007
1416 Posts |
Quote:
Quote:
|
||
|
|
|
|
#37 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
753510 Posts |
As to splitting the available memory among the P-1 jobs: I'll do that, but it might be a little messy.
As to the optimal amount of memory to allocate: Don't over-optimize. Once you've given prime95 a "decent" amount of memory, more memory will have very, very minor improvements in GIMPS throughput. Say, you're at 300MB and tripling it to 900MB makes P-1 stage 2 run 2% faster. The fact that stage 2 of P-1 runs about half a day per month means your overall GIMPS throughput has increased 1/30%. Just set the available memory to a value that is highly unlikely to cause thrashing. You'll probably ignore the advice in the previous paragraph. So 25.3 stage 2 now outputs a little more information. It will tell you how much memory stage 2 is using. It will also output something cryptic like "(processing 24 out of 480 relative primes)". This means that stage 2 will require 480/24 = 20 passes to complete stage 2. Each pass has a little bit of overhead. So if you can reduce the number of passes you will be a tiny bit faster. To process one more relative prime per pass, you'll need about FFT size * 8 bytes more available memory (e.g. 2048K FFT size needs 16MB). In this particular example, you'll need to process 26 relative primes to have one fewer pass in stage 2 (ceil (480/26) = 19). So you'd need 32MB more available memory to have a 5% reduction in the already small overhead associated with each stage 2 pass. Now, contrast that example with someone seeing "(processing 2 out of 480 rel primes)". Adding 32MB in this case you'll get a 50% reduction in overhead (240 passes reduced to 120 passes). As to TF limits: They won't change in v25. Alex Kruppa's cool idea remains in the wish list file. |
|
|
|
|
#38 | |
|
Sep 2006
Brussels, Belgium
35·7 Posts |
Quote:
Anyway the RAM you allocate to mprime will only be used during stage 2 of P-1 test factoring, the rest of the time (98% more or less) it will use much less memory. See Question about Prime95 and virtual memory. You can even have mprime only do stage 2 of P-1 during certain hours (see the readme and helpfiles...) |
|
|
|
|
|
#39 | ||
|
Jul 2007
22·5 Posts |
Quote:
I can see how this could be trouble if each worker gets a portion of the memory for stage 2. Maybe splitting available memory would be bad after all? Quote:
Thank's guys. I'll check back for updated versions to test. |
||
|
|
|
|
#40 | |
|
Jun 2005
2×191 Posts |
Quote:
Last fiddled with by drew on 2007-07-21 at 05:11 |
|
|
|
|
|
#41 |
|
Jun 2005
2×191 Posts |
I have my laptop configured to not run Prime95 when on battery power. When I have 2 tests running and restore external power, Prime95 restarts as it should.
If I run only one test by removing a line from worktodo.txt and disconnecting from the internet, it runs the remaining test. But when I remove and restore external power, the remaining test does not restart. This behavior occurs regardless of which thread has been disabled. The 'stop' and 'continue' buttons work correctly. I suggest the external power switching logic share some of this code. Drew Last fiddled with by drew on 2007-07-21 at 06:24 |
|
|
|
|
#42 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
11101011011112 Posts |
|
|
|
|
|
#43 |
|
Aug 2002
Termonfeckin, IE
22×691 Posts |
Another vote for the ability to start and stop individual threads. It can be very useful in a number of situations e.g. when it is very hot, when you want to let the other core do other stuff etc. etc.
|
|
|
|
|
#44 |
|
Jul 2007
2×7 Posts |
I think I found a problem with the program behavior when logging off, unless this is by design. When I log off of windows then log on again, Prime95 isn't running. It used to be running even when logged of, but it seems to be quitting upon logoff now.
|
|
|