![]() |
|
|
#12 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
We have (courtesy of Kleinjung, Franke, via Greg's request) the 33-bit-and-above sievers somewhere on the forum... (AFAIR, called 15f, 15g.) These polyns deserves to be tried with at least 34-bit LPBs; we might get a more realistic picture. I'll take a crack at building and trying them out, better late than never. Curios to see the memory footprints, too.
Last fiddled with by Batalov on 2010-04-25 at 22:58 Reason: dystypia |
|
|
|
|
|
#13 |
|
Tribal Bullet
Oct 2004
354110 Posts |
Unfortunately the only 'good' degree 6 polynomial I have to compare against is the one used for RSA768:
Code:
R0: -1291187456580021223163547791574810881 R1: 34661003550492501851445829 A0: -277565266791543881995216199713801103343120 A1: -18185779352088594356726018862434803054 A2: 6525437261935989397109667371894785 A3: -46477854471727854271772677450 A4: -5006815697800138351796828 A5: 1276509360768321888 A6: 265482057982680 skew 44000.00, size 8.323025e-017, alpha -7.298406, combined = 7.862398e-017 Code:
# norm 7.182579e-018 alpha -13.429458 e 9.551e-018 skew: 16127312406.28 c0: -165540526874822217059371542029722010096953602923027545137571668672 c1: 169050043970374034075850263208826303592255461385546540424 c2: -25086123568192950933274652248848475570220413358 c3: -4638773966041746208606311758584410209 c4: 491021760069332352492784585 c5: 37000920436336995 c6: 1000020 Y0: -32730189031367594561333737133996204135 Y1: 552555777561006102623641 Last fiddled with by jasonp on 2010-05-01 at 16:43 |
|
|
|
|
|
#14 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
Last night I merged the degree 6 poly selection code into the trunk. There are a bunch of changes now if you are interested:
- the default is still to do stage 1 and move to stage 2 whenever a hit is found, but now it's also possible to batch stage 1 hits and then run stage 2 on them all at once (i.e. there are now -np1 and -np2 options alongside -np). This means that stage 1 hits from pol51m0b can be passed to the much more powerful stage 2 code in msieve - the size optimization in stage 2 should work a lot better even for degree 5 problems; the root sieve is unchanged, but I'm planning to merge the old root sieve with the new more powerful degree 6 code - stage 2 works a lot better for degree 6 now; for RSA768: Code:
# norm 4.241918e-17 alpha -10.618674 e 4.326e-17 rroots 6 skew: 43219804.59 c0: -95387103515342977859292252739460922728632069702631375 c1: -5782463767837904488920471697926898364680104420 c2: 3297025950763661888403201600602513605609 c3: -37344650766830623857836813239461 c4: -6472695062730863604842570 c5: -176619307146183 c6: 21420000 Y0: -19642281280107733030683475320145535994 Y1: 26077104631367 Right now there's no way that msieve will be able to find the stage 1 hit that led to the above; it was actually found by the polyselect2 utility in the CADO NFS suite (which is why the leading rational coefficient is so tiny). Paul Zimmermann tells me that polyselect2 can also be used for degree-5 problems, although it hasn't had a great deal of testing at smaller sizes. Maybe somebody would like to try running a big degree-5 job through polyselect2 for stage 1 and msieve for stage 2... Finally, I owe a big thank-you to Paul and his group in Nancy for a great deal of help with all of this over the last month. Last fiddled with by jasonp on 2010-06-07 at 13:30 |
|
|
|
|
|
#15 | |
|
Sep 2004
B916 Posts |
Quote:
Thanks a lot Jason : I have to polynomials for an aliquot sequence c161 : one found with msieve and a gpu and one found with ggnfs. I'll try to optimize the latter with msieve now ! Does msieve still be less efficient with larger a5 coefficient, let's say around 1e6 or will the try be worth the pain ? Kind regards. Philippe |
|
|
|
|
|
|
#16 |
|
Tribal Bullet
Oct 2004
DD516 Posts |
The larger a5 shouldn't make a difference.
|
|
|
|
|
|
#17 | ||||
|
Sep 2004
101110012 Posts |
Hi Jason,
I've found an oddity with the sage 2 of msieve poly optimization. I have a "second best" poly found by ggnfs with a score of 1.09e-12. Msieve gives it a E score of 1.08e-12 Quote:
The best poly found had a E score of 1.04e-12 so I have thought that "different algorithm = different poly" from rough data... Quote:
Quote:
I think there is no check in msieve to see if the step 2 input is "better" than the output (this should never happen in the real life but some people may also want to optimize their ggnfs champions as I did) To be certain that the E=1.04e-12 poly was worse than the E=1.08e-12, I have done litthe sieving with both. Quote:
I have a better poly currently running, and this was just experiment, but I hope this helps. Kind regards and thanks for the BIG job ! Philippe Last fiddled with by Phil MjX on 2010-06-11 at 15:50 Reason: lines too long -_- |
||||
|
|
|
|
|
#18 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
588010 Posts |
Phil, you just gave msieve the rational poly for stage 2 optimization so you would expect the result to be different.
|
|
|
|
|
|
#19 |
|
Sep 2004
2718 Posts |
Indeed but I did expect one with a better or equal overall score than the input...
I also give it the output of ggnfs stage 1 file with the same result. In that particular case, ggnfs stage2 gives me an apparent better poly, at least one with a higher E score. Regards. Philippe Last fiddled with by Phil MjX on 2010-06-11 at 17:47 |
|
|
|
|
|
#20 |
|
Tribal Bullet
Oct 2004
1101110101012 Posts |
If you ask for polynomial selection, the code will not run if there already is a .fb file with a polynomial in it.
You actually are only giving msieve's stage 2 three numbers out of the 8 that fully specify a polynomial; the stage 2 code has no idea that a complete polynomial has already been found elsewhere, it runs stage 2 from scratch. I agree that it would be nice to take a complete polynomial as input, maybe tweak it a little, and print out anything that turns out better, but the code doesn't presently do that. We're in the very beginning stages of being able to compare the two stage 2 codes; my feeling has always been that msieve would do better but that may not be true, or may only be true occasionally (like when the search space for the root sieve is very large) Also, the computation of E-value is very different between GGNFS and msieve; I'm reasonably sure the msieve version is more accurate but the two results are hopefully always very close. Last fiddled with by jasonp on 2010-06-11 at 20:33 |
|
|
|
|
|
#21 |
|
Sep 2004
101110012 Posts |
Thanks Jason,
I am ashamed I missed the point that the poly was not completely defined with A5, Y0 and Y1... The good news is that, with gpu-msieve for lower leading coefficient and ggnfs for larger one, the search space can be greatly expanded for the first stage of the polynomial selection. I often use greater multipliers with ggnfs (144 or 720) for large a5 coefficients and it gives good results imho. With a quad core, I'll try to make the two programs run in parallel for stage 1 (but after the current composite, in two months and a half ).Then, optimizing all the data with either msieve or ggnfs will be just nice, and a matter of taste ! Thank you again for the improvements in this part of the code : I think that the synergy between msieve and ggnfs can be of great interest here. Regards. Philippe Last fiddled with by Phil MjX on 2010-06-11 at 22:49 Reason: try to write "like in English" |-) |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Choice of SNFS polynomial degree | lavalamp | Factoring | 15 | 2018-02-11 14:46 |
| Cyclotomic primes (degree>=5) | Batalov | And now for something completely different | 0 | 2016-06-21 21:02 |
| GNFS polynomial degree | joral | Factoring | 6 | 2008-09-26 22:15 |
| High first prime mod-root Quadratics | grandpascorpion | Puzzles | 9 | 2005-09-25 13:45 |
| Running Prime on High Performance Computer Clustering | fxmulder | Software | 5 | 2003-11-20 22:42 |