mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2015-12-30, 21:08   #34
jux
 
jux's Avatar
 
Aug 2015

1101102 Posts
Default

My experience is that msieve always takes too long in poly select (using the 3-4% figure): I just did a 120 digit factorization as a benchmark and msieve spent 3.75 hours on polynomial selection while only spending 6 hours on nfs.
Can I tell msieve to reduce this time? I already ran tune() once.
jux is offline   Reply With Quote
Old 2015-12-30, 22:45   #35
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

I run the poly-select step manually on its own, followed by the factmsieve.py python script for NFS. As such, I just cancel (ctrl-c) msieve when I think it has run long enough, and fire up factmsieve.py.

Also, poly select is single-threaded while NFS is multi-threaded; so 3 hrs of one thread compared to 6 hrs quad-threaded is high, but not terrible; an hour for poly select is probably enough, while the other two hours of poly select might save a thread-hour of NFS. The time isn't totally wasted, merely less efficient.

I don't know how to tell yafu/msieve a priori to shorten the deadline for poly select.
VBCurtis is offline   Reply With Quote
Old 2015-12-30, 23:07   #36
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3×1,171 Posts
Default

You can shorten it, but you need to know about how many coefficients you want to search a priori. Launch yafu with a "-np X,Y" argument, where X and Y are the start and stop leading coefficients. Msieve is similar I think.

Also, yafu poly select is multi-threaded.
bsquared is offline   Reply With Quote
Old 2015-12-31, 00:12   #37
jux
 
jux's Avatar
 
Aug 2015

2×33 Posts
Default

If yafu poly select was running with one thread and NFS was running with eight, then the select time is quite reasonable.
If poly select is multi-threaded, it's still using only 20% of my CPU. Since I leave factoring to be done overnight, I might only bring out the GPU version of msieve for large numbers.

Just for reference, it took me around 10 full days to factor a 150 digit number.

Last fiddled with by jux on 2015-12-31 at 00:15
jux is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob Question Pickwun Information & Answers 7 2017-11-07 19:17
Noob Question Unregistered Information & Answers 11 2013-03-23 01:31
Prime 95 Noob Question Unregistered Information & Answers 4 2009-09-12 14:01
Noob C question nuggetprime Programming 6 2008-08-23 11:09
Noob question xago666 Information & Answers 3 2008-03-11 01:35

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


Sat Jul 17 01:03:52 UTC 2021 up 49 days, 22:51, 1 user, load averages: 2.06, 1.67, 1.48

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.