mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Closed Thread
 
Thread Tools
Old 2008-09-06, 15:02   #45
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Thanks. The portion of the dataset with three large primes is smaller than I expected, possibly because the SQUFOF code fails more often when inputs are 61 or 62 bits in size, and also because the large polynomial skew means the average polynomial size is very small unless b is larger, so that there is less opportunity to switch to 3LP. I would think the 3LP yield would go way up if we were only line sieving, but I'm happy to contribute 0.5% of the total relations :)

Last fiddled with by jasonp on 2008-09-06 at 15:03
jasonp is offline  
Old 2008-09-10, 18:24   #46
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3×1,171 Posts
Default

288-308 is done, except for a few 100kQ near the beginning of the range. Upload will commence soon... I'll get the stragglers in later - probably a couple more days.

judging strictly by filesize, this range has about 4.5% fewer relations than the last 20M range (and the missing few 100kQ accounts for ~2% of this reduction, so ~2.5% less). Doesn't seem like we're running too strongly into diminishing returns yet, but this is based only on filesize, for now.

reserving 308 - 328. Unless you think I should start to concentrate on < 90M ?

Last fiddled with by bsquared on 2008-09-10 at 18:29
bsquared is offline  
Old 2008-09-10, 23:26   #47
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

I've not yet run the yield experiment that I wanted to do on the smaller Q-values, I'll do it over Thursday night - I'm rushing to get 100-120 done by the weekend. So probably sensible to reserve 308-328 at the moment.
fivemack is offline  
Old 2008-09-12, 10:26   #48
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

OK, I've done the yield experiment

(algebraic side, alim=Q0, sieve from Q0 to Q0+10k on K8/2200)

40M 13476 0.57880s/r
50M 12888 0.56763s/r
60M 13466 0.57731s/r
70M 13473 0.56660s/r
80M 12310 0.55891s/r

so it looks as if the yield is not dropping off catastrophically even at 40M. My model for duplications isn't working very well, but it looks as if the rate isn't going to be cataclysmic.

Last fiddled with by fivemack on 2008-09-12 at 10:46
fivemack is offline  
Old 2008-09-14, 09:54   #49
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

144238 Posts
Default

We have just hit the 200MQ mark, so I did a filtering run today. Log attached.

Unexpectedly good news: we have a matrix.

The less-good news: it is a matrix of unspeakable vastness, another hundred million Q would be very useful to make it into something slightly more practical.

Code:
weight of 22989546 cycles is about 1609444441 (70.01/cycle)
I am leaving the machine running overnight to get the actual matrix size - I hope overnight is long enough, it is swapping quite significantly, msieve.dat.mat is only growing at about 20kb/second, and top tells me

Code:
Mem:   8194260k total,  8148544k used,    45716k free,     3932k buffers
Swap: 15623172k total,  8418716k used,  7204456k free,   903288k cached
...
24844 fivemack  20   0 10.3g 4.9g  568 D    1 62.3 585:19.41 msieve
Attached Files
File Type: txt msieve.5-421.20080914.txt (52.4 KB, 214 views)

Last fiddled with by fivemack on 2008-09-14 at 22:02
fivemack is offline  
Old 2008-09-15, 15:34   #50
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by fivemack View Post
Unexpectedly good news: we have a matrix.

The less-good news: it is a matrix of unspeakable vastness, another hundred million Q would be very useful to make it into something slightly more practical.
Agreed, but the matrix you have is not incredibly bad. Greg successfully solved a matrix only a little smaller than the current one. Still, if the machine is swapping just trying to build the matrix, the odds for an in-memory matrix version under 8GB don't look good.
jasonp is offline  
Old 2008-09-15, 17:22   #51
bdodson
 
bdodson's Avatar
 
Jun 2005
lehigh.edu

210 Posts
Default

Quote:
Originally Posted by fivemack View Post
...
The less-good news: it is a matrix of unspeakable vastness, another hundred million Q would be very useful to make it into something slightly more practical.

Code:
weight of 22989546 cycles is about 1609444441 (70.01/cycle)
...
This sounds familiar. From my 200M nonduplicate relns for 5,389+ I got

Code:
weight of 21054112 cycles is about 1474032635 (70.01/cycle)
The matrix was showing 7.2Gb in "top", from a msieve report of
"memory use: 6466.7 MB" with

Code:
saving the first 48 matrix rows for later
matrix is 21013127 x 21013375 (6088.4 MB) with weight 1512170490
  (71.96/col)
sparse part has weight 1385905099 (65.95/col)
I forget if this is quite as bad as the matrix Richard did for Greg's
number (12,241- iirc), but it is surely more close to that than to
my objective of staying below the difficulty of the 7,311+.

Speaking of which, the 7,311+ matrix finished right on schedule
yesterday. I've had three sqrt misses so far, which shouldn't be
anything to be worried about.

I am worried, though. This is the first number past the Franke/ggnfs
bound at 255 digits. A bound that is also used in the release version
of msieve. I don't feel nervous about the dependencies (presuming
we know our linear algebra); but the sqrt is more definitely out in
algebraic numbers. Has anyone checked to see whether there's
anything that's tricky in adding some chars to get to 258-digits?

The start of my three dependices looks OK:

Code:
reading relations for dependency 1
read 8592781 cycles
cycles contain 28502626 unique relations
read 28502626 relations
multiplying 40463902 relations
multiply complete, coefficients have about 1069.65 million bits
--

reading relations for dependency 2
read 8588925 cycles
cycles contain 28488491 unique relations
read 28488491 relations
multiplying 40440670 relations
multiply complete, coefficients have about 1069.03 million bits
--

reading relations for dependency 3
read 8589852 cycles
cycles contain 28497102 unique relations
read 28497102 relations
multiplying 40458880 relations
multiply complete, coefficients have about 1069.52 million bits
These look plausible; more cycles, more relns, larger coef. What
looks unusual is the modulus:

Code:
initial square root is modulo 62851
--
initial square root is modulo 62473  [and]
--
initial square root is modulo 62761
Those are way smaller than the modulus for any of
my other numbers. For 3,536 c252 there was

Code:
modulo 174873547
modulo 174444847
modulo 175552543
For 3,547 c242; "modulo 629128447" and for 10,257-

Code:
modulo 20904019
modulo 20629429
modulo 20847061
modulo 20797981  [and]
-----------------
modulo 14003203
modulo 14019199
modulo 14026189
for 10,257+. Has anyone seen such a small modulus (five digits)
for another hard numbers? Perhaps a place in the sqrt code where
there might be an overflow, for adding extra digits to the sizes of the
intended numbers?

Of course, if one of the next two or three dependencies runs
OK with a five digit modulus (by which I mean "runs OK _and_
finds a factor!") I won't be nervous any more. Just checking.

-Bruce (doing some more sieving on 5,389+, 600M-800M to start;
looking for maybe another 40M unique?)

PS - no; the matrix I'm thinking of was

Code:
matrix is 18720804 x 18721052 (5170.3 MB)  with weight 1285924286 (68.69/col)
Sat Mar 22 03:40:43 2008  sparse part has weight 1168145840 (62.40/col)
My recollection (surely flawed, but anyway ...) is that this 12,241- matrix is
still the hardest among NFSNET and Childers/Dodson numbers. So 21.0M^2
is way out of bounds.

Last fiddled with by bdodson on 2008-09-15 at 17:52 Reason: 12,241- look-up
bdodson is offline  
Old 2008-09-15, 17:45   #52
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

164448 Posts
Default

Quote:
Originally Posted by bdodson View Post

Speaking of which, the 7,311+ matrix finished right on schedule
yesterday. I've had three sqrt misses so far, which shouldn't be
anything to be worried about.

I am worried, though.
Perhaps you might consider switching to the CWI sqrt code?
I suspect that if your sqrt really does fail, converting the relations
(and dependency info) to CWI format would be less work that
re-running the matrix. I understand that msieve-->cwi format code
already exists.

????
R.D. Silverman is offline  
Old 2008-09-15, 17:48   #53
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by bdodson View Post


<snip>
Of course, if one of the next two or three dependencies runs
OK with a five digit modulus (by which I mean "runs OK _and_
finds a factor!") I won't be nervous any more. Just checking.
Are you getting just trivial dependencies, or is it the case that
x^2 != y^2 mod N? If the latter, I suspect that you are in
trouble.

Do you have any code that adds up the exponents in the dependencies
and confirms that they sum to 0 mod 2?
R.D. Silverman is offline  
Old 2008-09-15, 18:30   #54
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Bruce: thanks for the figures on the big matrices. The small prime used in the square root is calculated to produce a modulus that, after being squared a bunch of times, is a few thousand bits larger than the expected size of the largest coefficient of the square root. My understanding of the math is that any starting prime, no matter how small, will allow the Newton iteration to converge as long as the square root is not a multiple root. In fact, for number fields that are irreducible modulo all primes, the code picks a starting prime a little larger than ~50, finds the square root mod that prime by enumeration, and performs the Newton iteration as if nothing was different. That produces convergence about 2/3 of the time.

Also, the size of multiple-precision numbers is limited to 27*32 bits, which adds a few guard digits above 255 digits

Bob: there is a lot of checking for dependencies, separate from checking the dependency vectors (which does happen):
- powers of primes and all algebraic ideals are verified to be even
- the number of total relations and free relations is verified to be even
- when the relation product is computed, the code verifies that the product coefficients mod (a 31-bit prime for which alg. poly is irreducible) equal the result of all relations reduced mod the same prime then multiplied together
- the computed square roots are distinct, and equal the same value mod N when squared

Any of these not working causes the dependency to be abandoned, so that if there's no error message then I'm prepared to believe the dependency worked fine (or failed in a way that would still pass all those tests).

This could also be a case where the number has three factors, and unfortunately in this case msieve will not display anything until all three are found.

PS: Using the CWI square root code requires all 1-word integers not exceed 2^30, and the current dataset might not allow that

Last fiddled with by jasonp on 2008-09-15 at 18:45 Reason: lots of typos
jasonp is offline  
Old 2008-09-15, 19:02   #55
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

For what it's worth, I've seen "small" moduli before (for 7,384+); had the same feeling; everything finished fine. Of course it was a much smaller matrix ~5M.
Batalov is offline  
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
2801^79-1 reservations (CLOSED 27 AUGUST) fivemack Factoring 76 2010-11-06 11:36
Run to the Top Contest - Closed Joe O Sierpinski/Riesel Base 5 12 2010-10-11 16:22
Sieving - information and reservations philmoore Five or Bust - The Dual Sierpinski Problem 1 2009-09-22 07:58
Sieving reservations and coordination gd_barnes No Prime Left Behind 2 2008-02-16 03:28
Is P.I.E.S. still closed to some users? jasong Information & Answers 9 2005-10-23 19:04

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


Sat Jul 17 09:10:34 UTC 2021 up 50 days, 6:57, 1 user, load averages: 1.99, 1.71, 1.60

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.