![]() |
![]() |
#1 |
P90 years forever!
Aug 2002
Yeehaw, FL
11×751 Posts |
![]()
For those that do a lot of P-1, the Test/Status menu choice and sending expected completion dates are rather time consuming. This is because prime95 computes the optimal bounds every time.
My idea is to replace the optimal bounds calculation with a simple formula that's accurate within 10% or so for the most common cases. Would someone like to do a little research and if possible come up with a formula that takes in exponent, TF, and available mem and generates a reasonably accurate guess of B1 and B2? Thanks! |
![]() |
![]() |
![]() |
#2 | |
"Nathan"
Jul 2008
Maryland, USA
5×223 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 |
P90 years forever!
Aug 2002
Yeehaw, FL
826110 Posts |
![]() |
![]() |
![]() |
![]() |
#4 |
Jun 2003
43·127 Posts |
![]()
Sort the expos (well, find min/max expo per FFT). Calculate the bounds for the first and last expo for each FFT length. Interpolate linearly for the others. Should be very accurate at the expense of 2-4 bound calculations.
Last fiddled with by axn on 2012-02-09 at 16:00 |
![]() |
![]() |
![]() |
#5 | ||
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
11×389 Posts |
![]()
If we were to see a table of the results of the current optimal bounds calculations, a best-fit formula would likely be easy to extrapolate.
Quote:
|
||
![]() |
![]() |
![]() |
#6 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
![]()
Perhaps after calculating the bounds, just auto-convert a PFactor line to a Pminus1 line, except with the AID.
(And is there anything wrong with the way it is? Sure, it takes a few seconds, but so what?) Last fiddled with by Dubslow on 2012-02-09 at 23:04 |
![]() |
![]() |
![]() |
#7 |
Sep 2010
Annapolis, MD, USA
2×32×11 Posts |
![]() |
![]() |
![]() |
![]() |
#8 | |
"Bob Silverman"
Nov 2003
North of Boston
755810 Posts |
![]() Quote:
optimizing?? "Guess B1 and B2". Guess their values to achieve what goal? If you answer "maximize the probability of success", it is not a realistic goal, since you can always increase that probability up to 1 simply by taking B1 and B2 large enough..... If you want to (say) maximize the probability of success per unit time spent, you can get that data from my "Practical Analysis of ECM" paper. Running P-1 is equivalent to running ECM with just one curve. If you want to select B1 and B2 to maximize the probability of success given a FIXED RUN TIME, then my paper shows how to do that as well. If the factor you seek is (say) 1 mod q for some value q, then simply adjust the size of factor being sought by the size of q. |
|
![]() |
![]() |
![]() |
#9 | |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
160658 Posts |
![]() Quote:
Personally, I don't see why the results would be different depending on when I run the algorithm. Why not just use the bounds in the save files (or put them in worktodo as MG and I have suggested), whenever they're requested? I have 29 P-1 assignments currently, and it took 7 seconds to run (yes I did time it). That's just fine in my book. If I have 50 and it takes 10 seconds, it's still not that big a deal, IMO. (I'd rather George work on AVX/mem-bandwidth than the ETA function, for they'll have greater long term impact on GIMPS, but then, it's his program and time.) Last fiddled with by Dubslow on 2012-02-10 at 02:57 |
|
![]() |
![]() |
![]() |
#10 | |
Oct 2011
67910 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
160658 Posts |
![]()
Ah. 1700>>50. Point taken.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Most Wanted | rogue | FermatSearch | 35 | 2021-03-15 14:06 |
Fibonacci Formula | MattcAnderson | Math | 7 | 2013-01-14 23:29 |
Most wanted | kar_bon | Riesel Prime Data Collecting (k*2^n-1) | 15 | 2011-08-09 16:50 |
New LLT formula | hoca | Math | 7 | 2007-03-05 17:41 |
100 Most Wanted | Citrix | Factoring | 24 | 2004-02-22 01:05 |