mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2009-09-26, 07:16   #12
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

He-he. That's exactly why I say 90M is not enough. About 92M (minimum) is needed in my experience. You have re-discovered the cusp of convergence.

You need a few more relations, 2-3Ms.

minimums appear to be:
46M for 29/29
92M for 30/30
18xM for 31/31

Right now, I have a slightly over the "cusp of convergence" matrix for a 31/30M with 135M relations... It barely converged and the matrix is a monster (14M; expected 11-12M). The matrix will be much better with maybe 10M more relns ...but we are not going to sieve them: We are masochists.
Batalov is offline   Reply With Quote
Old 2009-09-26, 07:41   #13
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Thank you all.

Now my issue is other, the client uses 5.9 GB of memory and therefore the machine stays very slow. Is there a flag to limit the memory used?

Carlos

EDIT:
-mb <num> # of megabytes of memory for postprocessing
(set automatically if unspecified or zero)

Last fiddled with by em99010pepe on 2009-09-26 at 07:49
em99010pepe is offline   Reply With Quote
Old 2009-09-26, 07:42   #14
10metreh
 
10metreh's Avatar
 
Nov 2008

2·33·43 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Thank you all.

Now my issue is other, the client uses 5.9 GB of memory and therefore the machine stays very slow. Is there a flag to limit the memory used?

Carlos
If this is in linear algebra, you have to sieve some more, which will give you a matrix that uses less memory.
10metreh is offline   Reply With Quote
Old 2009-09-26, 07:44   #15
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Quote:
Originally Posted by 10metreh View Post
If this is in linear algebra, you have to sieve some more, which will give you a matrix that uses less memory.
So memory used is dependent of the matrix size?
em99010pepe is offline   Reply With Quote
Old 2009-09-26, 08:14   #16
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

Yes; the whole of that 'matrix is 11726538 x 10890468 (3500.8 MB) with weight 1019639386 (93.63/col)' has to be read through twice for each of the 130,000 iterations of the block Lanczos algorithm, so it really has to be stored in memory; about six to tenvectors of 10.9 million 64-bit numbers need to be stored in memory too.

I generally don't expect to do anything else on a machine that's running the msieve matrix step.

The really weird behaviour in the first couple of runs reminds me of things I've seen when I didn't have enough disc space; msieve uses quite a lot of disc space, enough space for a second copy of msieve.dat is definitely enough but anything vastly less than that isn't safe, and does tend to behave strangely rather than reporting 'disc full'.
fivemack is offline   Reply With Quote
Old 2009-09-26, 08:20   #17
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Quote:
Originally Posted by fivemack View Post
Yes; the whole of that 'matrix is 11726538 x 10890468 (3500.8 MB) with weight 1019639386 (93.63/col)' has to be read through twice for each of the 130,000 iterations of the block Lanczos algorithm, so it really has to be stored in memory; about six to tenvectors of 10.9 million 64-bit numbers need to be stored in memory too.

I generally don't expect to do anything else on a machine that's running the msieve matrix step.

The really weird behaviour in the first couple of runs reminds me of things I've seen when I didn't have enough disc space; msieve uses quite a lot of disc space, enough space for a second copy of msieve.dat is definitely enough but anything vastly less than that isn't safe, and does tend to behave strangely rather than reporting 'disc full'.
I really use the machine, it is not a dedicated cruncher. Msieve is running on my second hard disk, a 80 GB disk, so I suppose that's enough.
Anyway, Greg will do more sieving to make the matrix smaller. Let's see what happens. Meanwhile I switched the cores to Paul's ecmnet server.

Last fiddled with by em99010pepe on 2009-09-26 at 08:22
em99010pepe is offline   Reply With Quote
Old 2009-09-26, 09:29   #18
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

23·3·11 Posts
Default

Hey frmky that`s a huge available Ram - wow
estimated available RAM is 64454.2 MB

Last fiddled with by Andi_HB on 2009-09-26 at 09:29
Andi_HB is offline   Reply With Quote
Old 2009-09-26, 09:41   #19
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2·34·13 Posts
Default

Quote:
Originally Posted by Andi_HB View Post
Hey frmky that`s a huge available Ram - wow
estimated available RAM is 64454.2 MB
That's our 8-cpu Opteron quad-core system. It has 2 GB/core, so 64 GB of memory.
frmky is offline   Reply With Quote
Old 2009-09-26, 12:33   #20
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Now my issue is other, the client uses 5.9 GB of memory and therefore the machine stays very slow. Is there a flag to limit the memory used?

-mb <num> # of megabytes of memory for postprocessing
(set automatically if unspecified or zero)
That setting is meant to control the memory use of NFS filtering. The linear algebra will eat as much memory as it needs, and in fact the initial stages behave worse in the latest version because large primes > 2^32 can be handled.
jasonp is offline   Reply With Quote
Old 2009-09-26, 15:52   #21
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

283010 Posts
Default

Quote:
Originally Posted by jasonp View Post
That setting is meant to control the memory use of NFS filtering. The linear algebra will eat as much memory as it needs, and in fact the initial stages behave worse in the latest version because large primes > 2^32 can be handled.
Ok, thank you for your explanation. Thank you all for helping me, I really appreciate.
em99010pepe is offline   Reply With Quote
Old 2009-09-27, 12:28   #22
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

133708 Posts
Default

whats the minimum the filtering can be set to use?
henryzz is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
msieve on KNL frmky Msieve 3 2016-11-06 11:45
Msieve on a Mac (Help) pxp Msieve 1 2013-02-28 14:56
Using msieve with c burrobert Msieve 9 2012-10-26 22:46
fun with msieve masser Sierpinski/Riesel Base 5 83 2007-11-17 19:39
Msieve 1.10 RedGolpe Msieve 6 2006-09-07 12:56

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


Sat Jul 17 01:18:15 UTC 2021 up 49 days, 23:05, 1 user, load averages: 0.92, 1.10, 1.24

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.