![]() |
|
|
#1 | ||
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
I have noticed that fivemack sometimes posts really helpful "pearls of wisdom" about GNFS polynomial selection. I am going to collect them in this thread.
Quote:
Quote:
|
||
|
|
|
|
|
#2 |
|
Mar 2007
Germany
23·3·11 Posts |
I think this example is right in here.
Originally Posted by fivemack That's eight experiments (13e vs 14e, 16777215 vs 33554431, lpb=28 vs 29); sieve the same range, presumably 2^25 .. 2^25+1000, for each of them and see what works better. From Andi47 I calculated a "28-score" to compare the "lp29" results with the "lp28" ones; just yield/2 and sec/rel*2. example same siever with lpb 28 and lpb 29 ! d3: rlim = alim = 2^24-1, lp 29, 13e <------------------------ lp 29 total yield: 2603, q=16779001 (0.04205 sec/rel) "28-score": 1301.5 / 0.08410 <-- calculation to compare lp29 & 28 c3: rlim = alim = 2^24-1, lp 28, 13e <------------------------ lp 28 total yield: 1306, q=16779001 (0.08176 sec/rel) <---- faster And some examples for GNFS-Numbers and needed Relations (including duplicates) N= C101, special Q range size = 500000 , number of relations =4434371 N= C102, special Q range size = 550000 , number of relations =4779022 N= C102, special Q range size = 600000 , number of relations =3981204 N= C104, special Q range size = 700000 , number of relations =4403292 N= C109, special Q range size = 1250000 , number of relations=5342536 N= C110, special Q range size = 1300000 , number of relations=5661426 N= C111, special Q range size = 1450000 , number of relations=8236448 N= C117, special Q range size = 1400000 , number of relations=9055892 N= C120, special Q range size = 2100000 , number of relations=8818929 N= C122, special Q range size = 2900000 , number of relations=8680732 N= C123, special Q range size = 3400000 , number of relations=8851963 N= C124, special Q range size = 4000000 , number of relations=9178490 N= C125, special Q range size = 4800000 , number of relations=9245826 N= C133, special Q range size = 10500000 , number of relations=16830320 N= C134, special Q range size = 13500000 , number of relations=17620569 Last fiddled with by Andi_HB on 2009-09-02 at 08:38 |
|
|
|
|
|
#3 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2·33·109 Posts |
click quote in the original thread to get the quote things set up properly
|
|
|
|
|
|
#4 | |
|
Oct 2006
vomit_frame_pointer
23·32·5 Posts |
This jibes quite well with what I know from my less-experienced perspective. In particular, the cutoff for 15e is so close to 240 digits SNFS that it's scary. 15e may look slower, but there tends to be a lower rate of duplication of relations. My experience here consists of all of 5 numbers -- someone should chime in and correct me if I'm mistaken about this.
6th-degree SNFS polynomials are worth trying under SNFS 200, even down as far as SNFS 190 or so, if the 5th-degree has bigger coefficients. I have never understood how to compute the number of roots in the lying-over ideal on the algebraic side, which seems to be good knowledge to have, but my reading of the NFS literature was pretty cursory. Quote:
Last fiddled with by FactorEyes on 2009-09-02 at 23:28 |
|
|
|
|
|
|
#5 | |
|
(loop (#_fork))
Feb 2006
Cambridge, England
23×11×73 Posts |
Quote:
Code:
length(polrootsmod(polynomial, prime)) |
|
|
|
|
|
|
#6 | |
|
Nov 2003
22·5·373 Posts |
Quote:
the 13e, 14e, 15e etc. sievers? Is it just the size of the sieve region? To (partially) answer the question about the number of roots: The way a prime splits in the field is strongly dependent on the Galois Group. You need to start by computing it. If, for example, the Galois Group is cyclic, then every unramified prime that splits will do so completely. |
|
|
|
|
|
|
#7 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
23×11×73 Posts |
The 13e / 14e / 15e sievers indeed differ only in the size of the sieve region; I believe that for 15e it's -2^14 to 2^14 in X and 0 to 2^14 in Y, and smaller for smaller e.
Actually computing the Galois group for a general polynomial is a sophisticated task; well beyond the scope of the first undergrad Galois theory course. It's not computationally terribly hard, and the Magma team have implemented it, so the easiest way to get the Galois group for a polynomial is to go to http://magma.maths.usyd.edu.au/calc/ and put Code:
P<x>:=PolynomialRing(Rationals()); GaloisGroup(2*x^6-1); Almost all polynomials of degree D have Galois group S_D, the largest possible; however SNFS polynomials tend not to fall into that 'almost all'. If you just want to count ideals rather than to do analytic estimates about them, pari will do the polynomial factorisations and hence count the ideals in about fifty microseconds for a prime around 10^8; over long ranges, the number of ideals is in my experience very close to the number of rational primes, but if you're doing at-all-careful estimation work it is worth counting the ideals in the intervals you try sieving over rather than assuming that a yield measured over Q .. Q+1000 is necessarily anywhere near to 10^-4 of the yield from Q .. Q+10^7. |
|
|
|
|
|
#8 |
|
Nov 2003
22·5·373 Posts |
|
|
|
|
|
|
#9 |
|
Mar 2007
Germany
23·3·11 Posts |
From Batalov
The approximately needet Relations with different lpbr and lpba minimums appear to be: 46M for 29/29 92M for 30/30 18xM for 31/31 |
|
|
|
|
|
#10 |
|
"Ben"
Feb 2007
67018 Posts |
I re-read this recently, and thought it was in the spirit of this thread (collecting useful tidbits related to NFS factoring for future reference):
http://www.mersenneforum.org/showthread.php?t=12008 |
|
|
|
|
|
#11 | |||
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
949710 Posts |
Quote:
|
|||
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPQS b-parameter and Pell-like equations | Till | Abstract Algebra & Algebraic Number Theory | 13 | 2017-01-20 21:12 |
| GNFS poly selection | frmky | Factoring | 14 | 2012-07-23 01:57 |
| GNFS polynomial selection | Unregistered | Information & Answers | 3 | 2011-04-16 14:24 |
| Parameter Underestimation | R.D. Silverman | Cunningham Tables | 14 | 2010-09-29 19:56 |
| ECM Work and Parameter Choices | R.D. Silverman | Cunningham Tables | 11 | 2006-03-06 18:46 |