mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2011-03-15, 16:36   #34
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

When the input has three factors it definitely is silly to not give any hint about what's happening, especially when each square root takes hours to run. Also, for large enough NFS problems, when a cofactor is composite but under about 100 digits, it might make more sense to just run QS on it immediately rather than wait for another dependency :)

Fixing that is in my queue.

Last fiddled with by jasonp on 2011-03-15 at 16:38
jasonp is offline   Reply With Quote
Old 2011-03-16, 18:42   #35
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Okay, this is added in the latest SVN. I've also added the ability to set TARGET_DENSITY from the command line, using a new '-D' option to the demo binary. Give it a try to make sure it works; this will hopefully remove the need to compile a custom msieve version for a lot of people here.
jasonp is offline   Reply With Quote
Old 2011-03-16, 21:55   #36
Random Poster
 
Random Poster's Avatar
 
Dec 2008

179 Posts
Default

Quote:
Originally Posted by xilman View Post
In principle, I guess that both factors could be composite and further iterations are need to split them both but I've never seen it happen.
There's a reason for that: if a number is small enough to be factored by NFS, and all of its prime factors are too large to be found by ECM in a fraction of the NFS runtime, then it's unlikely that there are more than three of them.
Random Poster is offline   Reply With Quote
Old 2011-03-16, 22:05   #37
Random Poster
 
Random Poster's Avatar
 
Dec 2008

179 Posts
Default

Quote:
Originally Posted by jasonp View Post
Also, for large enough NFS problems, when a cofactor is composite but under about 100 digits, it might make more sense to just run QS on it immediately rather than wait for another dependency :)
Or you could just print a warning about insufficient ECM and let the user wait; a few hours won't make any difference after already wasting days (or even weeks).
Random Poster is offline   Reply With Quote
Old 2011-03-17, 08:50   #38
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A0116 Posts
Default

Quote:
Originally Posted by Random Poster View Post
There's a reason for that: if a number is small enough to be factored by NFS, and all of its prime factors are too large to be found by ECM in a fraction of the NFS runtime, then it's unlikely that there are more than three of them.
Sure, unlikely but possible. Consider a c260 by SNFS. There could be four p65 hiding in there but it's unlikely. It's quite likely that not a single factor would be found even after a significant amount of ECM work.

Paul
xilman is offline   Reply With Quote
Old 2011-03-17, 08:52   #39
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by Random Poster View Post
Or you could just print a warning about insufficient ECM and let the user wait; a few hours won't make any difference after already wasting days (or even weeks).
A C150 by GNFS could easily run into this scenario. Suppose C150 = p48*p48*p54 --- quite easy for the two p48 to have been missed by ECM pre-testing.


Paul
xilman is offline   Reply With Quote
Old 2011-03-23, 19:41   #40
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Just lost three hours of post-processing with the following error. Don't know what happened.

Code:
Tue Mar 22 04:57:13 2011  linear algebra at 0.0%, ETA 228h48m
Tue Mar 22 04:57:49 2011  checkpointing every 50000 dimensions
Wed Mar 23 15:23:58 2011  error: corrupt state, please restart from checkpoint
Wed Mar 23 18:15:05 2011  
Wed Mar 23 18:15:05 2011  
Wed Mar 23 18:15:05 2011  Msieve v. 1.48
Wed Mar 23 18:15:05 2011  random seeds: 6176cf00 8b977520
Wed Mar 23 18:15:05 2011  factoring
em99010pepe is offline   Reply With Quote
Old 2011-03-24, 01:45   #41
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

1101110101012 Posts
Default

Did the restart happen successfully? Serge did have problems with random LA failures when his computer got hot in the California summer...
jasonp is offline   Reply With Quote
Old 2011-03-24, 04:51   #42
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

I was about to (re-)remind Jason to categorize msieve-reported errors into errors and (alleged) hardware errors. This one is one of the latter.

This is not an error of the code, in other words. With ECC memory, afaik, it was never reported, ever. And never in California winter! ;-)
__________

...and in summer, too, I am ever grateful to whatever happens. Cf. to Socrates: "By all means marry. If you get a good wife, you'll be happy. If you get a bad one, you'll become a philosopher...and that is a good thing for any man."
Batalov is offline   Reply With Quote
Old 2011-03-24, 07:04   #43
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by jasonp View Post
Did the restart happen successfully? Serge did have problems with random LA failures when his computer got hot in the California summer...
Manually yes.
em99010pepe is offline   Reply With Quote
Old 2011-03-24, 10:55   #44
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

OK, keep us posted.

--
"I drank what?" --Socrates
jasonp 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 00:59.


Sat Jul 17 00:59:44 UTC 2021 up 49 days, 22:46, 1 user, load averages: 1.72, 1.39, 1.35

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.