mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-08-01, 17:36   #782
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

41110 Posts
Default

I vote for dropping non-SSE2 code.
Since SF already hosts previous versions for ye olde CPUs, it looks like a very sober decision.
Karl M Johnson is offline   Reply With Quote
Old 2011-08-01, 18:47   #783
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2×1,303 Posts
Default

Voting for the drop of non SSE2 code.
Perhaps rename the Old 'yafu' as ' Legacy -yafu' or a similar name.
firejuggler is offline   Reply With Quote
Old 2011-08-08, 22:05   #784
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by EdH View Post
I have run into the problem of non-SSE2 AMD CPUs with my ancient systems. Oddly, one of them is currently running circles around a similar Intel that has SSE2.

Anyway, why not work on the leading edge, drop support for anything that is hindering, but leave available in an archive somewhere, earlier versions that can be used by those of us who enjoy our steam-driven machines?

I would not mind using an earlier version instead of the latest and greatest, especially if it's due to my tardiness in upgrading. For some, the restrictions might even be the drive to go ahead and upgrade, instead of procrastinating.
Sourceforge has previous versions available already (as Karl mentioned), so that's not a problem. In fact, you may want to be using them anyway; some of the more recent changes, while much faster on SSE2 capable systems, may actually be slower for older systems (please test first on your system).

However since a merger of yafu and msieve is on the horizon, I'll probably wait to do any removal of the generic branch until then.

Thanks for all of the feedback.
bsquared is offline   Reply With Quote
Old 2011-08-08, 22:08   #785
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Yes, there have been two of them. I deleted one (leaving one newline) - I will see what happens when aliqueit.exe invokes yafu next time.
Is this still an issue? Nothing looks wrong with the .ini file... can't say for sure why you saw that error. Removing extra newlines was a good idea.
bsquared is offline   Reply With Quote
Old 2011-08-09, 06:32   #786
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by bsquared View Post
Is this still an issue? Nothing looks wrong with the .ini file... can't say for sure why you saw that error. Removing extra newlines was a good idea.
No, it works properly now.

BTW: Tiny Suggestion for yafu (I use it mostly for aliquot sequences, where yafu is invoked by aliqueit.exe): When yafu is in the ECM pretesting stage, it prints the digit count (e.g. "ecm: 402/402 curves on C109 input") to screen. While in nfs stage, yafu prints the number itself to screen, but not the digit count. (I don't want to count 100+ digits on the screen).

Can you please add the digit count to the screen output in the nfs stages, especially sieving and postprocessing?
Andi47 is offline   Reply With Quote
Old 2011-08-12, 15:36   #787
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Is there a way to reduce ecm-pretesting before gnfs? It seems, that e.g. for a c119, ecm-pretesting takes quite a bit longer than gnfs.

I used to do ~t35 around c113 and ~1*t40 around c125-127, so 450% of t40 seems way too much for me (especially if it takes longer than the gnfs; I use the 6 threads for both, ecm and gnfs), so I want to reduce the ecm pretesting by

the yafu.ini file contains the line

Code:
ecm_gnfs_ratio=0.25
Is this the line what I am looking for? would setting it to - say - somewhare between 0.1 and 0.15 do the trick?

Last fiddled with by Andi47 on 2011-08-12 at 15:37 Reason: ECM pretesting forever?
Andi47 is offline   Reply With Quote
Old 2011-08-16, 11:46   #788
yoyo
 
yoyo's Avatar
 
Oct 2006
Berlin, Germany

62310 Posts
Default

Hello,

the yafu1.28.zip contains 2 different win32 versions:
yafu-64k-win32.exe and
yafu-32k-win32.exe
What is the difference?

yoyo
yoyo is offline   Reply With Quote
Old 2011-08-16, 13:40   #789
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

22258 Posts
Default

Quote:
Originally Posted by yoyo View Post
the yafu1.28.zip contains 2 different win32 versions:
yafu-64k-win32.exe and
yafu-32k-win32.exe
What is the difference?
Different window/buffer sizes. I believe AMD based processors are faster with the 64k version and Core2 based ones with 32k but not sure about the latest Core iX processors from Intel.

Jeff.
Jeff Gilchrist is offline   Reply With Quote
Old 2011-08-16, 20:25   #790
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

DC216 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Is there a way to reduce ecm-pretesting before gnfs? It seems, that e.g. for a c119, ecm-pretesting takes quite a bit longer than gnfs.

I used to do ~t35 around c113 and ~1*t40 around c125-127, so 450% of t40 seems way too much for me (especially if it takes longer than the gnfs; I use the 6 threads for both, ecm and gnfs), so I want to reduce the ecm pretesting by

the yafu.ini file contains the line

Code:
ecm_gnfs_ratio=0.25
Is this the line what I am looking for? would setting it to - say - somewhare between 0.1 and 0.15 do the trick?
Yes, reducing the ecm_gnfs_ratio will decrease the amount of time spent in ecm prior to gnfs. You could also try running tune(), which is designed to tailor the cutoff point for your particular computer. If you've already run tune and are seeing this poor of pretesting performance, then PM me and maybe I can diagnose what's going on.

@ yoyo and Jeff
Yep, 64k still seems to be slightly faster for AMD cpu's. 32k is faster for Intel cpus, including the i series stuff.
bsquared is offline   Reply With Quote
Old 2011-08-17, 06:21   #791
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by bsquared View Post
Yes, reducing the ecm_gnfs_ratio will decrease the amount of time spent in ecm prior to gnfs. You could also try running tune(), which is designed to tailor the cutoff point for your particular computer.
Thanks I will eventually try some value around 2.0

Tune(): I guess, I start yafu first by typing "yafu" in the command line, and then type tune()? Or should I rather type "yafu -tune()"?
Andi47 is offline   Reply With Quote
Old 2011-08-17, 06:26   #792
yoyo
 
yoyo's Avatar
 
Oct 2006
Berlin, Germany

7·89 Posts
Default

Just type
yafu tune()

yoyo
yoyo 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:31.


Fri Aug 6 22:31:18 UTC 2021 up 14 days, 17 hrs, 1 user, load averages: 3.37, 3.31, 3.23

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.