mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2009-04-20, 16:39   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

3·2,141 Posts
Default 2^859-1 sieving

After a discussion thread which came to a consensus which turned out not to be usable, I've decided to pick a number out of the air. Please finish any jobs you've agreed to run on 109!+1 before starting on this one.

2^859-1 is the smallest Mersenne number whose complete factorisation is unknown; C203 cofactor, SNFS difficulty 258.58.

Reservations closed at 1030 28 May

Sieve 40M - 120M both sides; use lasieve4I15e; 1MQ a+r will take about 14 days on a 2.4GHz Core2. Polynomial is the very boring

Code:
n: 40408389115643940521033480968678506700953715205316912938887204062563858647028004670539633098136029193976662157464610911705434456944861732186510748004762758405328979466396236111507945374914053285803350311
c6: 2
c0: -1
Y1: -1
Y0: 11150372599265311570767859136324180752990208
type: snfs
skew: 0.89
rlambda: 2.6
alambda: 2.6
lpbr: 31
lpba: 31
mfbr: 62
mfba: 62
alim: 100000000
rlim: 100000000
and the upload directory is the equally predictable M859.

Contributions
Xyzzy 40M-48M (done 9/5 in 1600 pieces;A 13132578, R 13961984;11.6Mcpus on ZX-81 cluster)
bsquared 48M-54M (done 19/5; A 9575224, R 10210440; 14Mcpus on K8/1400 cluster)
fivemack 54M-60M (done 26/5; A 9386197, R 9992498; 8453kcpus on various machines)
J.F. 60M-70M (done 6/5) - around 10.3Mcpus on K8/2000 cluster
fivemack 70M-71M (done 11/5) (A 1445551, R 1553368)
fivemack 71M-74M (done 1/5) (A 4396628, R 4763914)
fivemack 74M-75M (done 28/4) (A 1447669, R 1572047) (1118kcpus on C2/3000)
fivemack 75M-77M (done 8/5) (A 2897367, R 3138691) (2252kcpus on C2/3000)
fivemack 77M-78M (done 12/5) (A 1444820, R 1562767) (1128kcpus on C2/3000)
fivemack 78M-80M (done 11/5) (A 2582239, R 2805728)
J.F. 80M-81M (done 21/4) (A 1428284, R 1554945)
J.F. 81M-90M (done 28/4); 10.47Mcpus on K8/2000 cluster
batalov 90M-91M (R received 30/4, A received 2/5)
antiroach 91-92M (done 2/6)
fivemack 92M-96M (done 26/5) (A 5538324, R 5978357) (5499kcpus on Q6600 and K8/2500)
bsquared 96M-100M (arrived 29/5) (A 5483932, R 5921254) (10Ms, K8/1400 cluster)
fivemack 100M-110M (done 31/5) (A 12046700, R 13011689) (<=32 cores, various machines over about a week)
bsquared 110M-115M (done 1/6)
fivemack 115M-120M (done 2/6) (A 6444955, R 6879805) (26 cores, various machines over about five days)


Counts
16 May: 39MQ, 120831808 relations. 22173399 dup, 98658409 unique. All gone by end of singleton removal.
27 May: 55MQ, 171449528 relations. 42781888 dup, 128667640 unique. 32M/36M left by end of singleton removal.

Last fiddled with by fivemack on 2009-06-02 at 21:27 Reason: some reservations
fivemack is offline   Reply With Quote
Old 2009-04-21, 03:33   #2
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

2·23·179 Posts
Default

We'll take 40-48M.

How soon are you looking at having all this done?

fivemack: It's about 30 CPU-months of effort, I suspect I'll be able to scare up about 30 CPUs and so finish sieving mid-May

Last fiddled with by fivemack on 2009-04-21 at 07:53
Xyzzy is offline   Reply With Quote
Old 2009-04-21, 16:43   #3
J.F.
 
J.F.'s Avatar
 
Jun 2008

7210 Posts
Default

First pancakes are on me!
Fivemack: would you please taste 'm first, before I start 81-90?

fivemack: those appear to be fine pancakes, go ahead with 81-90

Last fiddled with by fivemack on 2009-04-21 at 17:02
J.F. is offline   Reply With Quote
Old 2009-04-26, 05:03   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default best packing for FTP

Let's revive the "best packing" topic.

7z is OK but needs installation etc etc. bzip2 is definitely better than gzip.
But whatever you use, I recommend the following filter (you can call it lc if you don't have a tr binary ) -- it reformats the file to lowercase letters (and digits of course):
Code:
#!/usr/bin/perl
while(<>) { print lc($_); }
or use
Code:
cat myRels | tr '[A-Z]' '[a-z]' | bzip2 -9c > Axx.bz2
Results (on A80-81M.bz2 file):
Code:
76221762 2009-04-25 21:32 a80-81M.bz2  (this file is all lowercase)
78670955 2009-04-21 09:41 A80-81M.bz2
85365026 2009-04-25 21:22 a80-81M.gz   (gzip for comparison)
msieve doesn't need the uppercase letters in the reln files.
Neither do any other filtering programs.
Batalov is offline   Reply With Quote
Old 2009-04-26, 08:25   #5
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

101010000111002 Posts
Default

Quote:
Originally Posted by Batalov View Post
Let's revive the "best packing" topic.

7z is OK but needs installation etc etc. bzip2 is definitely better than gzip.
By "better" do you mean "uses several times the amount of computation"?

At FlyBase we ship multi-gigabyte gzipped files around. The uncompressed data is around 20GB per file.

We found that the time taken to transfer a somewhat larger gzipped file was much less than the increased time to bzip2 and bzcat the same data.

YMMV

Paul
xilman is offline   Reply With Quote
Old 2009-04-26, 10:42   #6
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by xilman View Post
We found that the time taken to transfer a somewhat larger gzipped file was much less than the increased time to bzip2 and bzcat the same data.
That is a good point that people should consider. It all depends on your transfer speed, if you get charged by the GB or have a monthly bandwidth cap, and how many processors you have available to compress/uncompress the data. 7zip get better compression than zip and the speed isn't bad either, much faster than bzip2, plus it can use multiple processors so in certain cases it would be faster than using gzip and get better compression.

The lower-case conversion in this case seems like a very fast thing to do in order to get better compression from whatever algorithm you are using.

Of course if you are going to use bzip2 and you have multiple cores, you should consider using pbzip2 which can use them.

Last fiddled with by Jeff Gilchrist on 2009-04-26 at 10:43
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-26, 18:30   #7
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default

Paul, my message was about using lowercase. (This reduces alphabet of the file and it will pack better with any compressor, even RLE. )
And I don't think anyone will argue that tr takes any appreciable time.
Everything else was already discussed before, so it was not my intention to add any oil to that fire.
Batalov is offline   Reply With Quote
Old 2009-04-27, 01:38   #8
FactorEyes
 
FactorEyes's Avatar
 
Oct 2006
vomit_frame_pointer

23·32·5 Posts
Default

Quote:
Originally Posted by Batalov View Post
Paul, my message was about using lowercase.
What's the deal with uppercase in reln files, anyway. I mean, is the siever trying to tell us that some primes are WAY TOO IMPORTANT for lowercase?

And airplane food: What's the deal with airplane food? Don't they feed the jets enough when they're on the ground?
FactorEyes is offline   Reply With Quote
Old 2009-04-27, 02:12   #9
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default

I am pretty sure that there was never any deal with it, just indifference.

Printing lowercase is a side-effect of the mpz_str_out (which can print in up to base-62 (or 64?) system, in which case it would have used all digits and letters); for OBASE 16, it prints digits and lowercase.
The rest of primes are printf'ed with "%X", so they are uppercase.
I've spoken with Jason (just in case I've missed something) and I've checked both codebases - nothing there assumes upper-lower-case differences.

Ha, just checked another thing: the line siever in msieve printfs with "%x", so all is lowercase for line-sieved rels.
There is no reason to print in hex, either (I bet pure decimals might compress better!), but it's now well used, so no reason to cha(lle)nge this convention.

5% better compression for free sounds like a good idea to me. Everything else has its pros and cons, and I am not talking about anything else.
Batalov is offline   Reply With Quote
Old 2009-04-28, 19:36   #10
J.F.
 
J.F.'s Avatar
 
Jun 2008

23×32 Posts
Default

81-90M is finished. I was quite surprised by the hint from Batalov, and indeed: 3.0% savings of the tolower conversion before applying bzip2. Didn't do "best" bzip2 (option -9) though because I don't want to stress the cluster front-end server.

80-90M A+R took 10.47M sec on dualcore Opterons @2Ghz.
J.F. is offline   Reply With Quote
Old 2009-05-01, 18:57   #11
J.F.
 
J.F.'s Avatar
 
Jun 2008

4816 Posts
Default

Reserving 60-70M.
J.F. is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS sieving? Dubslow Factoring 8 2012-09-28 06:47
Line sieving vs. lattice sieving JHansen NFSNET Discussion 9 2010-06-09 19:25
10^420 + 1 sieving juno1369 Factoring 20 2010-04-28 01:11
Sieving OmbooHankvald Prime Sierpinski Project 4 2005-06-30 07:51
Sieving robert44444uk Sierpinski/Riesel Base 5 8 2005-04-02 22:30

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


Mon Aug 2 01:10:44 UTC 2021 up 9 days, 19:39, 0 users, load averages: 1.26, 1.18, 1.14

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.