mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2010-01-19, 20:13   #386
VolMike
 
VolMike's Avatar
 
Jun 2007
Moscow,Russia

7·19 Posts
Default request for executable

Where can I download an Core2Duo optimized executable gnfs-lasieve4I11e?

Last fiddled with by VolMike on 2010-01-19 at 20:15
VolMike is offline   Reply With Quote
Old 2010-01-19, 20:32   #387
10metreh
 
10metreh's Avatar
 
Nov 2008

2·33·43 Posts
Default

Quote:
Originally Posted by VolMike View Post
Where can I download an Core2Duo optimized executable gnfs-lasieve4I11e?
For 64 bit, here (SVN 374). The 32-bit version is not Core 2 optimized, but that shouldn't matter too much.
10metreh is offline   Reply With Quote
Old 2010-01-19, 20:57   #388
VolMike
 
VolMike's Avatar
 
Jun 2007
Moscow,Russia

7·19 Posts
Default

Quote:
Originally Posted by 10metreh View Post
For 64 bit, here (SVN 374). The 32-bit version is not Core 2 optimized, but that shouldn't matter too much.
Thank you!
VolMike is offline   Reply With Quote
Old 2010-02-25, 16:42   #389
apocalypse
 
Feb 2003

2×3×29 Posts
Default SNFS parameter tuning help

I'm trying to learn how to choose good parameters for SNFS factoring with GGNFS.

A few days ago I factored sigma(1009^58) with this .poly
Code:
n: 907561549186475406082015134100612123030527144402631698695854550635167463020222007210274477872206851522895894567531159280732905403784954272620605116\
05162904590248563
m: 1113509674956668989037907205610844481
c0: -1009
c5: 1
type: snfs
skew: 1
The SNFS difficulty was ~= 180 and it took about a day as expected.

I then tried to factor sigma(843714919^18) with this .poly
Code:
n: 231498350570359790444053914362768188442984190755971784957029458823139020464565741428114480714555150929415898114589486417394036929216614808800508179\
15566263
m: 600602569377802184166813559
c0: -1
c6: 843714919
type: snfs
skew: 0.033
which has SNFS difficulty ~= 170, has been running for 3 days, and only has half as many relations (so far) as the prior run collected in 1 day.

In both cases I used the GGNFS default parameters (running factMsieve.pl), so I'm wondering if there are some experiments I should run to choose better parameters or a better siever (The current run is using 14e and I think the prior run did too). Or perhaps this is a consequence of moving from a quintic with a small coefficient to a sextic with a larger one and I should account for that in my effort estimates.

Thanks!
apocalypse is offline   Reply With Quote
Old 2010-02-25, 16:54   #390
axn
 
axn's Avatar
 
Jun 2003

117248 Posts
Default

Quote:
Originally Posted by apocalypse View Post
Or perhaps this is a consequence of moving from a quintic with a small coefficient to a sextic with a larger one and I should account for that in my effort estimates
Considering the smaller m (and hence smaller rational coeffs), have you tried sieving on the algebraic side?

Also, a quintic might be better.
axn is online now   Reply With Quote
Old 2010-02-25, 17:03   #391
apocalypse
 
Feb 2003

2×3×29 Posts
Default

Quote:
Originally Posted by axn View Post
Considering the smaller m (and hence smaller rational coeffs), have you tried sieving on the algebraic side?

Also, a quintic might be better.
I haven't tried sieving on the algebraic side. It looks like I would do that by changing $LATSIEVE_SIDE in factMsieve.pl. Would this change be compatible with the relations collected so far, and would I need to make any other changes, e.g. to the job files? Or should I just wipe what I have and start over?
apocalypse is offline   Reply With Quote
Old 2010-02-25, 17:23   #392
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

The relations are fine but the job files need to be nuked(or edited but that is a fiddle).
I would rename the large relations file to spairs.add and delete all other files except the poly and spairs.add and let the script regenerate the job files and other misc files.
The relations in spairs.add will get added into the new relations file.
You might expect a slightly higher duplication rate but not anything significant.
Make a backup before you do anything!!
henryzz is online now   Reply With Quote
Old 2010-02-25, 18:05   #393
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2×132×19 Posts
Default

NFS relation-sieving is about finding numbers which factorise nicely; and being small is about the best way to get a number to factorise nicely (half of GNFS polynomial selection is about taking advantage of other ways, the other half about efficiently finding polynomials with small values).

Let's look at how big the numbers are that you're trying to factorise:

You're using 14e, so you're working in a lattice with average lattice-coordinates something around 2^13; you're sieving with special-Q around six million, so get another sqrt(6e6) ~ 2500 factor from that. So you're evaluating the polynomial with coefficients around 10^7 (look at the (X,Y) numbers before the first colon in relation files to see if this is about right)

So the algebraic-side values that need to be smooth are about 10^51 for your sextic (since the initial coefficient is about nine digits and you're multiplying it by the sixth power of something around 10^7), and about 10^38 for the quintic (fifth power, initial coefficient about 10^3); the rational-side values are about 10^43 (36+7) for the quintic and about 10^34 (26+7) for the sextic.

(IE you should probably have sieved the quintic on the rational side; you're on the right side for the sextic but it's a bit big; using x^5-843714919^2 and rational 843714919^4 would give figures ~10^53 (18+35) for the quintic algebraic and ~10^43 (36+7) for the rational, which would be worse than the sextic)

The message here is that large coefficients in polynomials are intrinsically troublesome, sigma(12-digit prime to a small power) is intrinsically harder by NFS than sigma(small prime to a larger power)

Last fiddled with by fivemack on 2010-02-25 at 18:05
fivemack is offline   Reply With Quote
Old 2010-02-25, 19:16   #394
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

Quote:
Originally Posted by fivemack View Post
NFS relation-sieving is about finding numbers which factorise nicely; and being small is about the best way to get a number to factorise nicely (half of GNFS polynomial selection is about taking advantage of other ways, the other half about efficiently finding polynomials with small values).

Let's look at how big the numbers are that you're trying to factorise:

You're using 14e, so you're working in a lattice with average lattice-coordinates something around 2^13; you're sieving with special-Q around six million, so get another sqrt(6e6) ~ 2500 factor from that. So you're evaluating the polynomial with coefficients around 10^7 (look at the (X,Y) numbers before the first colon in relation files to see if this is about right)

So the algebraic-side values that need to be smooth are about 10^51 for your sextic (since the initial coefficient is about nine digits and you're multiplying it by the sixth power of something around 10^7), and about 10^38 for the quintic (fifth power, initial coefficient about 10^3); the rational-side values are about 10^43 (36+7) for the quintic and about 10^34 (26+7) for the sextic.

(IE you should probably have sieved the quintic on the rational side; you're on the right side for the sextic but it's a bit big; using x^5-843714919^2 and rational 843714919^4 would give figures ~10^53 (18+35) for the quintic algebraic and ~10^43 (36+7) for the rational, which would be worse than the sextic)

The message here is that large coefficients in polynomials are intrinsically troublesome, sigma(12-digit prime to a small power) is intrinsically harder by NFS than sigma(small prime to a larger power)
I had a suspision that something like that might be going on. That changing side might not help.
Is there a program which will do these calculations for you? It would maybe be nice to include it in factmsieve.py.
henryzz is online now   Reply With Quote
Old 2010-02-25, 19:58   #395
axn
 
axn's Avatar
 
Jun 2003

22·33·47 Posts
Default

Quote:
Originally Posted by fivemack View Post
(IE you should probably have sieved the quintic on the rational side; you're on the right side for the sextic but it's a bit big; using x^5-843714919^2 and rational 843714919^4 would give figures ~10^53 (18+35) for the quintic algebraic and ~10^43 (36+7) for the rational, which would be worse than the sextic)
Ummm... Didn't he sieve the quintic on the rational side? AFAIK, type SNFS does that. Am I understanding this whole thing upside down?

Also, x^5-843714919 is the correct one.
axn is online now   Reply With Quote
Old 2010-02-25, 21:22   #396
apocalypse
 
Feb 2003

2·3·29 Posts
Default

Quote:
Quote:
Originally Posted by fivemack View Post
So the algebraic-side values that need to be smooth are about 10^51 for your sextic (since the initial coefficient is about nine digits and you're multiplying it by the sixth power of something around 10^7), and about 10^38 for the quintic (fifth power, initial coefficient about 10^3); the rational-side values are about 10^43 (36+7) for the quintic and about 10^34 (26+7) for the sextic.
Please forgive me if I'm being obtuse, but I don't follow why evaluating f(x) = x^5 - 1009 at x ~= 10^7 gives values around 10^38 instead of 10^35, and likewise why g(x) = x - (~=10^36) gives values around 10^43 instead of 10^36.
Ah, yes. When doing GNFS, everything's working with homogeneous polynomials but that's rarely written out clearly: we write x^5-1009, but we mean f(x,y)=x^5-1009*y^5, and are evaluating it for x and y both around 10^7. Similarly, the rational side is g(x,y) = x - 10^36ish*y, so its values will be around 10^7-ish - 10^36ish * 10^7ish = 10^43ish

Quote:
Both the quintic and the sextic were sieved on the rational side (ggnfs default)
Oh, OK, I hadn't realised ggnfs did that; I've always called the sievers directly for SNFS jobs. I'm glad that it's got appreciably faster when you switch to the appropriate side.

Last fiddled with by fivemack on 2010-02-26 at 12:05
apocalypse is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of GGNFS LegionMammal978 Msieve 17 2017-01-20 19:49
Running other programs while running Prime95. Neimanator PrimeNet 14 2013-08-10 20:15
Error running GGNFS+msieve+factmsieve.py D. B. Staple Factoring 6 2011-06-12 22:23
GGNFS or something better? Zeta-Flux Factoring 1 2007-08-07 22:40
ggnfs ATH Factoring 3 2006-08-12 22:50

All times are UTC. The time now is 08:15.


Tue Jul 27 08:15:42 UTC 2021 up 4 days, 2:44, 0 users, load averages: 1.92, 1.90, 1.79

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.