mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2008-09-30, 12:52   #12
miklin
 
miklin's Avatar
 
Nov 2007

10010112 Posts
Default Pol5_experimental Update

Here still easy changes for Pol5 Experimental. Now Pol5 equally works Unix FreeBSD, Linux DEBIAN, together with for windows. Thus I in all cases collect the program without the assembler. To sense from it practically is not present.

For windows in root VC9 it is necessary to make still a file rint.h

rint.h
Code:
#ifndef __RINT_H__
#define __RINT_H__

double rint(double);
float rintf(float);

#endif
Attached Files
File Type: bz2 pol5_experimental.tar.bz2 (60.2 KB, 131 views)

Last fiddled with by miklin on 2008-09-30 at 13:03
miklin is offline   Reply With Quote
Old 2008-09-30, 21:53   #13
XYYXF
 
XYYXF's Avatar
 
Jan 2005
Minsk, Belarus

24×52 Posts
Default

Quote:
Originally Posted by xilman View Post
Because they are hopelessly inefficient for numbers of the size presently amenable to SNFS.

Exercise: for an integer from one of the classes you describe, with SNFS difficulty 300 digits or under, compare the norms of the linear and octic sides for a typical sieving point. Post your results here.


Paul
Let's take a 241-digit composite number (a wanted one from the XYYXF project)

125^84 + 84^125

and compare the following poly's:

C241 = 25*(5^50)^5 + (84^25)^5
84*C241 = 84*(5^42)^6 + (84^21)^6
84*Π‘241 = 84*(5^36)^7 + (84^18)^7

I guess the second would be the best one...

Last fiddled with by XYYXF on 2008-09-30 at 21:57
XYYXF is offline   Reply With Quote
Old 2008-10-08, 05:45   #14
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

=>
Attached Thumbnails
Click image for larger version

Name:	septics.png
Views:	184
Size:	53.3 KB
ID:	2785  
Batalov is offline   Reply With Quote
Old 2009-10-16, 13:28   #15
bdodson
 
bdodson's Avatar
 
Jun 2005
lehigh.edu

210 Posts
Default

Quote:
Originally Posted by xilman View Post
Because they are hopelessly inefficient for numbers of the size presently amenable to SNFS.

Exercise: for an integer from one of the classes you describe, with SNFS difficulty 300 digits or under, compare the norms of the linear and octic sides for a typical sieving point. Post your results here.


Paul
OK, now that we have
Code:
2,2190L c163 = p75 . p89
done with octic polyn (and better than the alternatives, including
gnfs), what happened to the norm comparison? -Bruce

(cf. http://mersenneforum.org/showthread.php?t=12481 from the Cunningham
thread, which has Serge's version)

Last fiddled with by bdodson on 2009-10-16 at 13:32 Reason: cf
bdodson is offline   Reply With Quote
Old 2009-10-16, 17:57   #16
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by bdodson View Post
OK, now that we have
Code:
2,2190L c163 = p75 . p89
done with octic polyn (and better than the alternatives, including
gnfs), what happened to the norm comparison? -Bruce

(cf. http://mersenneforum.org/showthread.php?t=12481 from the Cunningham
thread, which has Serge's version)
Fair point. I concede that in very special circumstances septics and octics can be better than the very unpalatable alternatives and that the size of the norms is not the only criterion to use. However, that number demonstrates a "very special circumstances nicely, as was made clear all along.


Paul
xilman is offline   Reply With Quote
Old 2009-11-01, 14:32   #17
chris2be8
 
chris2be8's Avatar
 
Sep 2009

1000000111102 Posts
Default Crossover from quartic to octic.

Roughly where would be the crossover point where an octic would be faster that a quartic? Also, where would be the crossover points between GNFS and septics or octics? This assumes they are above the point where QS is better than NFS. Chris K
chris2be8 is offline   Reply With Quote
Old 2009-11-01, 22:04   #18
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
Roughly where would be the crossover point where an octic would be faster that a quartic? Also, where would be the crossover points between GNFS and septics or octics? This assumes they are above the point where QS is better than NFS. Chris K
Go read my paper Optimal Parameterization of SNFS in J. Math. Cryptology
R.D. Silverman is offline   Reply With Quote
Old 2009-11-01, 23:19   #19
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

You keep saying this; the paper isn't terribly easy to get hold of, and the question of where exactly the crossovers lie is one that relies on properties of the lattice-sieving software measuring which is much harder than figuring out the positions of the crossovers empirically - for example, I suspect the paper assumes you can pick the area to sieve arbitrarily, whilst with the tools that everyone uses you have a choice of three areas.
fivemack is offline   Reply With Quote
Old 2009-11-02, 12:36   #20
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10000101010112 Posts
Default

Quote:
Originally Posted by fivemack View Post
You keep saying this; the paper isn't terribly easy to get hold of,
Actually, this one is easy to find (though many other papers are not). A simple Google search of the title, exactly as he gave it, lists a PDF of it at number 4.
I'm not at all refuting the rest of your statement though.

Last fiddled with by Mini-Geek on 2009-11-02 at 12:41
Mini-Geek is offline   Reply With Quote
Old 2009-11-02, 12:45   #21
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by fivemack View Post
You keep saying this; the paper isn't terribly easy to get hold of, and the question of where exactly the crossovers lie is one that relies on properties of the lattice-sieving software measuring which is much harder than figuring out the positions of the crossovers empirically - for example, I suspect the paper assumes you can pick the area to sieve arbitrarily, whilst with the tools that everyone uses you have a choice of three areas.
Of course the paper is available! Just ask me and I will send a pdf.

And the fact that the tools are self-limiting has nothing to do with
the best choice of degree. Tools can be changed.

Your use of the words "exactly where the crossovers lie" is nonsense.
There is no exact point. The optimal polynomial degree is
d = (3 log N/loglog N)^1/2. This is never an integer for integer N.

There is (say) a fairly narrow range where (say) degree 6 is optimal.
But "degree 6" can mean anything from degree 5.5 to degree 6.5.
or maybe even from degree 5.4 to (say) 6.7.

There is no sharp delineation in going from degree 6 to degree 7.
d, as a function of N, changes VERY slowly.

Optimization of things like the sieve region affect ONLY the o(1) in the
exponent for the function that gives run time as a function of N.
It has virtually no effect on the choice of degree.

For N ~ 2^1024, d should be "about" 6.86. Degree 7 might be
better than degree 6. Or it might not. For N = 2^768, d is 6.33.

To get d ~ 8 requires N > 2^1536.
R.D. Silverman is offline   Reply With Quote
Old 2009-11-02, 15:24   #22
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72·131 Posts
Default

[QUOTE=R.D. Silverman;194530]Your use of the words "exactly where the crossovers lie" is nonsense.
There is no exact point. The optimal polynomial degree is
d = (3 log N/loglog N)^1/2. This is never an integer for integer N. [/QUOTE]

But, in the common SNFS case where you're dealing with something that has algebraic factors, you have a number of (N,d) pairs and have to decide which one to use; N may well be large enough for the optimal degree to be six, but have no degree-6 polynomial with small coefficients.

I would say that the question of whether to use a quartic and complexity 220 digits or an octic and complexity 175 digits for SNFS is one where o(1) terms are the only determining factor, and experiment is much easier than carrying the analytic approach to a sufficient level of exactness.

Last fiddled with by fivemack on 2009-11-02 at 15:25
fivemack is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
QS Lattice Siever R.D. Silverman Factoring 31 2018-10-08 17:17
Compiling 64 bit lattice siever on gcc 4.8.5 chris2be8 Factoring 6 2018-02-06 17:22
OpenCL accellerated lattice siever pstach Factoring 1 2014-05-23 01:03
Shape of a CUDA lattice siever fivemack Programming 2 2012-12-16 01:07
ggnfs lattice siever misses some primes fivemack Factoring 1 2008-01-18 13:47

All times are UTC. The time now is 00:55.


Sat Jul 17 00:55:41 UTC 2021 up 49 days, 22:42, 1 user, load averages: 0.90, 1.27, 1.33

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.