mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-07-01, 21:42   #738
bchaffin
 
Sep 2010
Portland, OR

1011101002 Posts
Default

Is there any way to disable the screen output of the polyfind step? Initially it was pretty awesome to watch the torrent of output when running 12 threads in parallel, but eventually the novelty wore off and I realized that half a thread is being spent just running the xterm and writing to disk. It's coming from inside libmsieve, though, so I don't know if there's any easy way to turn it off.

BTW, Ben, fantastic work on the recent versions. My aliquot workers took about 5 weeks to go through all the c104's in open sequences, using mostly SIQS and some GNFS at the end. With the addition of the minimum relations check, the multi-threaded polyfind, and the recent SIQS improvements, they are now about 60% through the c105's in just over a week. Without actually measuring anything, it feels like 2-3x improvement in throughput. Great stuff.
bchaffin is offline   Reply With Quote
Old 2011-07-01, 22:14   #739
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by bchaffin View Post
Is there any way to disable the screen output of the polyfind step? Initially it was pretty awesome to watch the torrent of output when running 12 threads in parallel, but eventually the novelty wore off and I realized that half a thread is being spent just running the xterm and writing to disk. It's coming from inside libmsieve, though, so I don't know if there's any easy way to turn it off.
I've wondered that myself - I'm guessing that eventually jrk/jason will disable all of the output. Presumably when the (still relatively new) uber fast poly select code gains enough maturity. Maybe if one of them is reading this thread they could comment.

Quote:
Originally Posted by bchaffin View Post

BTW, Ben, fantastic work on the recent versions. My aliquot workers took about 5 weeks to go through all the c104's in open sequences, using mostly SIQS and some GNFS at the end. With the addition of the minimum relations check, the multi-threaded polyfind, and the recent SIQS improvements, they are now about 60% through the c105's in just over a week. Without actually measuring anything, it feels like 2-3x improvement in throughput. Great stuff.
bsquared is offline   Reply With Quote
Old 2011-07-01, 23:25   #740
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,181 Posts
Default

The debug output always happens; you can redirect to /dev/null if it's really bothersome :)

Honestly the current code is not well suited for very high-throughput use, and making it work better on RSA768-size numbers is taking up all my time.
jasonp is offline   Reply With Quote
Old 2011-07-03, 08:36   #741
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

22·5·13 Posts
Default

Talking of screen output, I'm using YAFU in Windows and redirecting output to a file. I'd like to see a switch that replaces the multiple backspaces (that appear in the output to enable the next line to overwrite the previous one on the screen) with a single newline. Is that possible, please?

Jane

Last fiddled with by BudgieJane on 2011-07-03 at 08:37 Reason: added parentheses to make things clearer
BudgieJane is offline   Reply With Quote
Old 2011-07-03, 14:05   #742
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

6338 Posts
Default

Quote:
Originally Posted by jasonp View Post
The debug output always happens; you can redirect to /dev/null if it's really bothersome :)
"> NUL" for windows users.
Karl M Johnson is offline   Reply With Quote
Old 2011-07-03, 15:31   #743
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

4048 Posts
Default

Quote:
Originally Posted by Karl M Johnson View Post
"> NUL" for windows users.
I don't want to throw the output away, as I parse the redirected output file to obtain the factors; this seems easier than trying to get them from factor.txt. I also like to browse the output file to give me an idea how a factorization is proceeding.
BudgieJane is offline   Reply With Quote
Old 2011-07-04, 01:44   #744
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

The factor log has a regular format that I think would be just as easy to parse as redirected output. What parsing language are you using?
bsquared is offline   Reply With Quote
Old 2011-07-04, 06:40   #745
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

22×5×13 Posts
Default

Quote:
Originally Posted by bsquared View Post
The factor log has a regular format that I think would be just as easy to parse as redirected output. What parsing language are you using?
APL
BudgieJane is offline   Reply With Quote
Old 2011-07-04, 14:00   #746
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

22×5×13 Posts
Default

Actually, I've just done what I should have done ages ago: read the help text!

It seems the -of flag is exactly what I need, returning the parenthesized input and the factors separated by slashes, which is much easier to parse than the debug output.

As I mentioned earlier, the debug output is handy for seeing how yafu is getting on.
BudgieJane is offline   Reply With Quote
Old 2011-07-04, 14:09   #747
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by BudgieJane View Post
Actually, I've just done what I should have done ages ago: read the help text!

It seems the -of flag is exactly what I need, returning the parenthesized input and the factors separated by slashes, which is much easier to parse than the debug output.

As I mentioned earlier, the debug output is handy for seeing how yafu is getting on.
Ok, great. You have WraithX to thank for that - he implemented that and a few other switches a while back.
bsquared is offline   Reply With Quote
Old 2011-07-04, 14:41   #748
10metreh
 
10metreh's Avatar
 
Nov 2008

2·33·43 Posts
Default

It's probably not a major issue, but what causes this?
Code:
elapsed time of 378.0667 seconds exceeds 409 second deadline; poly select done
10metreh is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 22:43.


Fri Aug 6 22:43:23 UTC 2021 up 14 days, 17:12, 1 user, load averages: 4.85, 4.24, 3.78

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.