![]() |
|
View Poll Results: Faster LL or more error checking? | |||
Yes, faster is better. |
![]() ![]() ![]() ![]() |
16 | 30.77% |
No, faster LL isn't worth the lost error checking. |
![]() ![]() ![]() ![]() |
18 | 34.62% |
Make it a user option. |
![]() ![]() ![]() ![]() |
17 | 32.69% |
No opinion, instead reprogram the server to assign me the 48th Mersenne prime. |
![]() ![]() ![]() ![]() |
1 | 1.92% |
Voters: 52. You may not vote on this poll |
![]() |
|
Thread Tools |
![]() |
#1 |
P90 years forever!
Aug 2002
Yeehaw, FL
32·823 Posts |
![]()
Would GIMPS be better off with LL tests that ran 2% faster but lost the error checking done every iteration?
Version 25 runs an imperfect error check every LL iteration. I've discovered a way to speed up version 26 by 1-2% (closer to 2%) but this error check is no longer cheap and easy. Prime95 would still do the roundoff error check every 128th iteration. Comments?? |
![]() |
![]() |
![]() |
#2 |
Jun 2003
22·3·409 Posts |
![]() |
![]() |
![]() |
![]() |
#3 |
Mar 2010
On front of my laptop
7·17 Posts |
![]()
1. Yes, faster is better. : This is good for new computers.
2. No, faster LL isn't worth the lost error checking. : This is good for old computers, that has more errors. 3. Make it a user option. : It would be the best, so I voted this. How about checking the computer speed and errors to select the one that's best? ![]() 4. No opinion, instead reprogram the server to assign me the 48th Mersenne prime. : LOL, that's an awesome joke! ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#4 | |
"Gang aft agley"
Sep 2002
72528 Posts |
![]() Quote:
Also what are the consequences? If errors got caught at the 128th iteration rounding check then it is just a minor delay of error detection for faster throughput -- but if it increases undetected errors that is a different consideration. |
|
![]() |
![]() |
![]() |
#5 |
Sep 2006
Brussels, Belgium
3×7×79 Posts |
![]()
During ordinary LL tests, be they first or double-check, a balance should be made between speed an accuracy. At the moment there a bit more than 4 % bad results. A lot of them have no error code. Would the proportion of bad tests with no error code increase if you remove the error checking at each iteration ? What is the penalty in speed if you keep the "imperfect" error checking with the speedier test ? What penalty in speed would you have with a better error checking...
Since you have (one of) the fastest FFT routines is improving speed really necessary if reliability decreases ? In view of the magnitude of the project I vote for reliability over speed... I suppose that the error checking in the torture test would not be removed since it is of a different nature (checking the computed results versus known results ? Jacob |
![]() |
![]() |
![]() |
#6 |
Einyen
Dec 2003
Denmark
C0216 Posts |
![]()
I vote for more speed if there is still roundoff checking every 128th iteration.
Do you have any statistics how often that error check finds errors? Is that all the "Suspect LL"? Any statistics on the server how often suspect LL turn out to be correct and how often its bad? |
![]() |
![]() |
![]() |
#7 |
Banned
"Luigi"
Aug 2002
Team Italia
113148 Posts |
![]()
George, you have always found the right way to optimize "our" code, so I guess you have some ideas on the subject.
Is faster better? It depends on reliability, and you are the one who can evaluate how reliable the faster results would be. BTW, you said "Version 25 runs an imperfect error check every LL iteration" That means that you spotted something needing correction. But then you added: "I've discovered a way to speed up version 26 by 1-2% (closer to 2%) but this error check is no longer cheap and easy. Prime95 would still do the roundoff error check every 128th iteration." Are you going to leave in place only the roundoff check after every 128th iteration? Is that enough to recover a bad result? Only you can tell... Or. even better, only stats geeks who can check error codes from the server can tell: - How many "bad results" turned correct after a triple check? - How many "bad results" are affected by the glitch in the check routine? - How many of them would be trapped by the check on 128th iteration? - What would be the impact on residual checking every n iterations? Luigi |
![]() |
![]() |
![]() |
#8 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
611510 Posts |
![]()
The poll needs another option.
5. Just do whatever makes the project progress faster. If a 2% speed-up can, on average, adequately compensate for some extra errors not being detected then just do it. |
![]() |
![]() |
![]() |
#9 | ||
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
![]() Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#10 | ||
"Gang aft agley"
Sep 2002
375410 Posts |
![]() Quote:
There is also the a purely emotional consideration too however that deserves a bit of consideration before moving on; since LL tests take a decent amount of time on a user's machine it might be a bit of a buzz-kill to be dwelling on the test not being as valid as possible even if overall statistics favored running running faster tests that are slightly less accurate. Here is another thread that discussed LL error checking although it was mostly discussing the rounding test: http://www.mersenneforum.org/showthr...679#post207679 The gist of the thread is that the nature of the errors and the steps taken with shifted residues make LL double checks very effective and false negative results virtually impossible. ewmayer opines that regular PC hardware error rates are more likely than floating point rounding errors. My last thought is that if the iteration test is not perfect and all the other tests are adequate, then the iteration test is not necessary. I now quote jasonp's message in that thread: Quote:
|
||
![]() |
![]() |
![]() |
#11 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
![]() Quote:
Last fiddled with by Mini-Geek on 2010-06-02 at 13:34 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fast and robust error checking on Proth/Pepin tests | R. Gerbicz | Number Theory Discussion Group | 15 | 2018-09-01 13:23 |
Probabilistic primality tests faster than Miller Rabin? | mathPuzzles | Math | 14 | 2017-03-27 04:00 |
Round Off Checking and Sum (Inputs) Error Checking | Forceman | Software | 2 | 2013-01-30 17:32 |
Early double-checking to determine error-prone machines? | GP2 | Data | 13 | 2003-11-15 06:59 |
Error rate for LL tests | GP2 | Data | 5 | 2003-09-15 23:34 |