mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2007-03-20, 23:38   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

642210 Posts
Default How do you get around the |a|<2^31 problem in ggnfs?

I'm trying a C132 from the homogeneous Cunningham project; the SNFS difficulty is 190.8 so I think GNFS is the right way to go.

I'm using a real and algebraic factor base size of 2^24 with 28-bit large primes on both sides, and the lasieve14e siever. I get plenty of relations, but the merging process doesn't recognise about 2/3 of them.

My suspicion is that procrels is requiring |a|<2^31, which, since I am using quite a large lattice-sieve region and a rather skewed polynomial, is ruling out a large proportion of the relations I've found (which seem to go up to |a| ~ 2^33). Changing that restriction sounds as if it would require a re-write of relation handling throughout ggnfs, which is nobody's idea of fun but which I suppose someone might have done; failing that, is there a way of restricting the skew of the polynomial found by the Murphy polynomial selector so that the a/b ratio of the smooth points found isn't quite so huge?
fivemack is offline   Reply With Quote
Old 2007-03-21, 02:25   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354310 Posts
Default

Quote:
Originally Posted by fivemack View Post
My suspicion is that procrels is requiring |a|<2^31, which, since I am using quite a large lattice-sieve region and a rather skewed polynomial, is ruling out a large proportion of the relations I've found (which seem to go up to |a| ~ 2^33).
GGNFS was modified a long time ago to allow 63-bit 'a' values throughout, including in procrels. That being said I haven't audited the code.

jasonp
jasonp is offline   Reply With Quote
Old 2007-03-21, 13:22   #3
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

642210 Posts
Default

Ah, yes, it turns out to be just a matter of using the CVS version of the ggnfs tools.

This has landed me (on a different number) with an oversieving problem: I get a 700k x 2.2M matrix, whose starting weight is enormous and whose weight goes up badly when the pruner tries to prune it. Even with -maxrelsinff 8 the matrix had that problem; I've ended up rebuilding ignoring the last day's sieving, and hope that will work better. Am I missing some parameter for 'throw away all but the lightest million FFs'?
fivemack is offline   Reply With Quote
Old 2007-03-21, 18:33   #4
Phil MjX
 
Phil MjX's Avatar
 
Sep 2004

5×37 Posts
Default

Hello,

Instead of ignoring sieving work, you can try to change your params (by reducing the factor base) to force ggnfs to dump and reprocess the relations that doesn't fit in the new factor base. You can dump the rels by hand in the shell but be aware that you'll obtain many "small" files you'll have to merge for a convenient manual re-injection in ggnfs. Doing so, you eliminate the oversieved part and speed the matrix stage. I don't have experience on the -prune option.

For info, I have just finished a c131 with much lower params (a 6000000 sized factorbase and 27 bits large prime) that runs smoothly in 4 weeks on a 512 megs of ram machine (but like you I have chosen the lasieve14e siever)...

Regards.
Philippe.

Last fiddled with by Phil MjX on 2007-03-21 at 18:48
Phil MjX is offline   Reply With Quote
Old 2007-03-22, 01:00   #5
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

40778 Posts
Default

If you're using the CVS version, try running with maxrelsinff 0. prune works well for removing up to about 10% of the relations. Beyond that it didn't seem to work well in the few cases I've run. Reducing the factor base to eliminate many of the relations is also a good idea.

Greg

Last fiddled with by frmky on 2007-03-22 at 01:01
frmky is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
New GGNFS problem 10metreh Factoring 65 2008-12-06 21:14
Factoring with GGNFS VolMike Factoring 19 2007-10-22 18:12
GGNFS or something better? Zeta-Flux Factoring 1 2007-08-07 22:40
ggnfs sqrt problem hallstei Factoring 7 2007-05-01 12:51
ggnfs ATH Factoring 3 2006-08-12 22:50

All times are UTC. The time now is 10:36.


Tue Jul 27 10:36:56 UTC 2021 up 4 days, 5:05, 0 users, load averages: 2.15, 2.04, 1.94

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.