mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-03-06, 17:20   #56
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Those last parameters are for line sieving using msieve; they're not necessary at all if you don't do any line sieving, and if you do want line sieving and do not specify them then defaults will be chosen for you. Those defaults have not been tuned at all, but the odds are good that it doesn't matter unless you don't use lattice sieving at all.
jasonp is offline   Reply With Quote
Old 2010-03-06, 17:36   #57
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

Quote:
Originally Posted by tmorrow View Post
Furthermore, which polynomial from the 7871 in the *.dat.p file do I use? The one with the largest or smallest norm?
The e value is the one which is the best indicator and the poly with the largest e is often the best poly, although with larger jobs it may be good to take a few good ones and test them against each other to see which sieves best.
10metreh is offline   Reply With Quote
Old 2010-03-06, 23:23   #58
tmorrow
 
tmorrow's Avatar
 
Jan 2004

103 Posts
Default

Thanks for all the help guys, I've created a *.fb file using the "best" polynomial from *.dat.p following your suggestions. I'm using factmsieve.py and it has moved onto the sieving phase now.
tmorrow is offline   Reply With Quote
Old 2010-03-24, 16:54   #59
sleigher
 
Mar 2010

3×17 Posts
Default

Jason, I am trying to run this linear algebra stage and am having some error about allocating memory.

failed to calloc 1726416288 bytes

My command line looks like this

./msieve -nc2 -s bignum.dat -g 0 -r 70000000

Not sure that is right. Someone else said use the -r option to only use the first X amount of relations in the file.

Any idea bout the memory calloc?
sleigher is offline   Reply With Quote
Old 2010-03-24, 17:42   #60
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

How much RAM does your machine have?
10metreh is offline   Reply With Quote
Old 2010-03-24, 17:50   #61
sleigher
 
Mar 2010

3×17 Posts
Default

It has 8 GB of RAM. I tried on that machine and another with 4 GB. Same thing.....
sleigher is offline   Reply With Quote
Old 2010-03-24, 18:17   #62
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

You were given incorrect advice; -r tells the demo binary to stop sieving after a given number of relations.

To make msieve run the filtering with less than the complete dataset, use '-nc1 0,<relations_to_use>' then if that succeeds continue with '-nc2 -nc3' in a separate run.

Also, don't blindly trust what other people say, run 'msieve -h' and read what the options really do.
jasonp is offline   Reply With Quote
Old 2010-03-24, 18:24   #63
sleigher
 
Mar 2010

3×17 Posts
Default

I did run -h and that's why I said I wasn't sure about that -r option. I guess I didn't know I needed to run filtering first.

Thanks Jason

Last fiddled with by sleigher on 2010-03-24 at 18:28
sleigher is offline   Reply With Quote
Old 2010-03-24, 20:14   #64
sleigher
 
Mar 2010

3×17 Posts
Default

So I am trying to understand what is happening when filtering is happening.

It seems that it reads the .dat file and puts the data in the .dat.hc file until the second pass. Then as it does the second pass it puts the output in the .dat.lp file? The hc and lp files are binary and not ascii. Is this accurate to what is happening?
sleigher is offline   Reply With Quote
Old 2010-03-24, 20:48   #65
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Duplicate removal uses one set of files, that are input to singleton removal. Singleton removal creates the .lp file and uses it to remove singletons, possibly in several passes that each create a new .lp file, and finally produces a .s file. The .s file becomes the input to the merge phase, where a great deal of magic happens and the .cyc file is created, which provides the mapping between columns of the matrix and a list of line numbers of relations from the .dat file that participate in that column.

I'm being purposely vague because a new filtering run always does each of these steps in order and all of these files are recreated from scratch.
jasonp is offline   Reply With Quote
Old 2010-03-24, 23:35   #66
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2×34×13 Posts
Default

This is in the wrong thread, but I've been meaning to ask this. Is there a reason that the lp file is not deleted after it's no longer needed? It can be a multi-GB file for large jobs, so I've gotten into the habit of deleting it once LA is in progress.
frmky is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve 1.53 feedback xilman Msieve 149 2018-11-12 06:37
Msieve 1.50 feedback firejuggler Msieve 99 2013-02-17 11:53
Msieve 1.43 feedback Jeff Gilchrist Msieve 47 2009-11-24 15:53
Msieve 1.42 feedback Andi47 Msieve 167 2009-10-18 19:37
Msieve 1.41 Feedback Batalov Msieve 130 2009-06-09 16:01

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


Sat Jul 17 01:24:47 UTC 2021 up 49 days, 23:12, 1 user, load averages: 1.12, 1.11, 1.19

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.