![]() |
|
|
#89 |
|
"Bob Silverman"
Nov 2003
North of Boston
11101100011012 Posts |
|
|
|
|
|
|
#90 | |
|
"Bob Silverman"
Nov 2003
North of Boston
756510 Posts |
Quote:
probabilities of smoothness for given B1,B2 with respect to a composite integer of a given size. There is no such specification of size in the discussion. All that is presented is run-time info for various B1, B2 choices. There are still no probabilities given in the discussion, nor do I see any computations involving probability/time. |
|
|
|
|
|
|
#91 | |
|
"Bob Silverman"
Nov 2003
North of Boston
5×17×89 Posts |
Quote:
We also see a choice for t40 where B2 is raised from 35e9 to 240e9 and a time of 13 hrs. We do not see how the probability of success CHANGED when B2 went from 35e9 to 240e9. Did it change more than or less than the relative time increase? (i.e. 13/12.2) If the probability went up by more than a factor of 13/12.2, then it is clear that the choice of 240e9 (i.e. equal time in step 1 and step 2) does give an improvement. But nowhere in the discussion are the relative probabilities discussed! |
|
|
|
|
|
|
#92 | |
|
"Ben"
Feb 2007
3·5·251 Posts |
Quote:
|
|
|
|
|
|
|
#93 |
|
"Bob Silverman"
Nov 2003
North of Boston
756510 Posts |
|
|
|
|
|
|
#94 | |
|
"Curtis"
Feb 2005
Riverside, CA
2×2,927 Posts |
Quote:
Doing such work on a spreadsheet also allows for quick calculation of expected time for a variety of B1/B2 values; invoking ECM with -v provides the expected curve counts immediately, so I can call ECM with a combination not already tried, note the curve counts required, and use the timings from previous stage 1 & stage 2 runs to find expected time to find a factor. Also, Stage 1 time is almost precisely linear in B1, so one can extrapolate for a variety of B1 values. Now that Mr Silverman understands the definition of t40 and t45, how does the choice of B2=240e9 improve the probability of success PER UNIT TIME to find any size factor over B2=35e9, or 96e9? |
|
|
|
|
|
|
#95 | |
|
"Bob Silverman"
Nov 2003
North of Boston
166158 Posts |
Quote:
|
|
|
|
|
|
|
#96 |
|
"Ben"
Feb 2007
3×5×251 Posts |
Perhaps it's worth noting at this point that GMP-ECM implements features that violate assumptions made in the paper. So it should be no surprise that the results of the paper do not hold. For instance, stage 2 in GMP-ECM uses a fast polynomial arithmetic continuation. Therefore the time to compute to B2 is not a linear function of B1, as assumed in the paper. I.e., K increases with increasing (B2 - B1). GMP-ECM can also find factors by the Brent-Suyama extension, which is not treated in the paper.
|
|
|
|
|
|
#97 | |
|
Einyen
Dec 2003
Denmark
22×863 Posts |
Quote:
M1277 B1=110e6 B2=2e12: k=1: Step 2 took 519171ms (Peak memory usage: 4400MB) k=2: Step 2 took 720366ms (Peak memory usage: 4593MB) So here -k 1 was faster but -k 2 took more RAM which makes no sense. With P-1 and P+1 it never uses the exact B2 value you type in, but chooses the next larger that fits with parameters. For ECM it displays the exact value you typed in which makes me think it might do a stage 2 with a larger B2 value fitting parameters in the background, which could be why -k 2 is sometimes faster because it fits parameters better. Last fiddled with by ATH on 2015-04-30 at 22:09 |
|
|
|
|
|
|
#98 |
|
"Curtis"
Feb 2005
Riverside, CA
2·2,927 Posts |
Interesting! When I tried -k 1, it did not use just one step. I'll look into what I did wrong when I first tried that- I assumed it just never would do a single-step stage 2.
The data point you posted is a substantial improvement, and most of my ECM usage (t45 and t50 levels) is not memory-limited, so this could speed things along nicely. Thanks! Edit: First test isn't so interesting. I tried B1 = 11e6, B2 = 47e9 with the usual k=4, and with k=1 (GMP-ECM chose 48e9 for this). Stage 2 times were nearly equal, a tiny bit slower for k=1. Perhaps this is why GMP-ECM never chooses k=1 on its own. Your result is clearly faster, so it bears more experimentation. Last fiddled with by VBCurtis on 2015-05-01 at 00:39 |
|
|
|
|
|
#99 | ||
|
Sep 2010
Scandinavia
61510 Posts |
Quote:
Quote:
edit: About k and B2: GMP-ECM won't use just any B2 you supply, it will use a reasonable number close to what you supply. It doesn't necessarily use the k you supply either, IIRC. Last fiddled with by lorgix on 2015-05-01 at 00:45 |
||
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GMP-ECM & Prime95 Stage 1 Files | Gordon | GMP-ECM | 3 | 2016-01-08 12:44 |
| Stage 1 with mprime/prime95, stage 2 with GMP-ECM | D. B. Staple | Factoring | 2 | 2007-12-14 00:21 |
| Need help to run stage 1 and stage 2 separately | jasong | GMP-ECM | 9 | 2007-10-25 22:32 |
| P4 Prescott - 31 Stage Pipeline ? Bad news for Prime95? | Angular | Hardware | 18 | 2004-11-15 07:04 |
| Stage 1 and stage 2 tests missing | Matthias C. Noc | PrimeNet | 5 | 2004-08-25 15:42 |