mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-06-14, 06:59   #705
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3×137 Posts
Default

I dont have the issue either! On all 4 windows binaries, modified on 09.06.2011 at 14:36 - 14:37.
Karl M Johnson is offline   Reply With Quote
Old 2011-06-17, 09:41   #706
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

61510 Posts
Default

Quote:
Originally Posted by jasonp View Post
I can't help with the latter, but currently the target minimum combined score for a poly to be reported is the result of exponential interpolation from the tables at the top of gnfs/poly/poly_skew.c in the Msieve source. The combined score is the last entry in each structure in the various lists.

The degree-5 numbers were cribbed from the pol51 readme within GGNFS, except that the cutoffs for C154-C155 were made a little more lenient. The speculation right now is that the targets for up to C140 were determined by experiment, and the targets for C140-155 were extrapolated, because empirically the larger cutoffs are somewhat more stringent than one would expect.

For degree 4 and 6, and the larger degree 5, the numbers were chosen strictly by experiment.

Of course that doesn't predict the maximum score we can reasonably expect.
So gathering statistics by doing psearch for c140-155 would be good?

Earlier I wrote "seems like a more thorough search over a smaller area would be a better use of the time", does that make sense?
lorgix is offline   Reply With Quote
Old 2011-06-17, 13:44   #707
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by lorgix View Post
So gathering statistics by doing psearch for c140-155 would be good?

Earlier I wrote "seems like a more thorough search over a smaller area would be a better use of the time", does that make sense?
Doing psearch with "wide" in that range would allow us to see if doing "fast" would have found the same poly. If you do that, just record somewhere how many threads you used and save the .p files.

There does seem to be a slight bias for good polys having a smaller leading coefficient - but that is not a statistically significant statement at this point. That would argue for doing "deep" psearch - probably only above c155.
bsquared is offline   Reply With Quote
Old 2011-06-17, 15:11   #708
jrk
 
jrk's Avatar
 
May 2008

3·5·73 Posts
Default

Quote:
Originally Posted by bsquared View Post
There does seem to be a slight bias for good polys having a smaller leading coefficient - but that is not a statistically significant statement at this point. That would argue for doing "deep" psearch - probably only above c155.
It may be that the current scoring method isn't accurate enough when the polynomials being compared have very large differences in skew. This doesn't mean that polynomials having larger leading coefficient (and thus smaller skew) are different in quality from those having smaller leading coefficient, only that comparing the two directly by score isn't always adequate.

Last fiddled with by jrk on 2011-06-17 at 15:18
jrk is offline   Reply With Quote
Old 2011-06-17, 15:44   #709
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by jrk View Post
It may be that the current scoring method isn't accurate enough when the polynomials being compared have very large differences in skew. This doesn't mean that polynomials having larger leading coefficient (and thus smaller skew) are different in quality from those having smaller leading coefficient, only that comparing the two directly by score isn't always adequate.
Good point - I posted that without much thought. Anyway, doing deep searches (more than one search of a leading coefficient) is probably only useful for bigger number (C155+), right?
bsquared is offline   Reply With Quote
Old 2011-06-17, 17:37   #710
jrk
 
jrk's Avatar
 
May 2008

3×5×73 Posts
Default

Quote:
Originally Posted by bsquared View Post
Good point - I posted that without much thought. Anyway, doing deep searches (more than one search of a leading coefficient) is probably only useful for bigger number (C155+), right?
If by "deep" you mean running the search on the same leading algebraic coefficient multiple times, this will only be useful when the search space is large and randomized. Current msieve versions print a line that reads "randomizing rational coefficient: using piece X of Y" when randomization occurs. This only happens on problems of size about c150 and larger.

Last fiddled with by jrk on 2011-06-17 at 17:37
jrk is offline   Reply With Quote
Old 2011-06-19, 08:55   #711
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default

Quote:
Originally Posted by bsquared View Post
To run nfs do:
yafu "nfs(number)" -v -threads <number of threads>

To run a general purpose factoring routine do:
yafu "factor(number)" -v -threads <number of threads>

which will then do some pretesting with rho, p+/-1, and ecm before proceeding to nfs or siqs. I think the default cutoff is 95 digits. As debrouxl said, if you run tune() first, a more optimal cutoff will be determined. Tune takes 15-30min or so.
How do(es) the line(s) in the yafu.ini have to look like, which specifie(s) the folder where GGNFS and msieve are placed?

Last fiddled with by Andi47 on 2011-06-19 at 08:55 Reason: typo
Andi47 is offline   Reply With Quote
Old 2011-06-19, 09:08   #712
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

23×3×11 Posts
Default

Quote:
Originally Posted by Andi47 View Post
How do(es) the line(s) in the yafu.ini have to look like, which specifie(s) the folder where GGNFS and msieve are placed?
B1pm1=100000
B1pp1=20000
B1ecm=11000
rhomax=1000
threads=2
ggnfs_dir=C:\Faktorisierung\tools\ggnfs\
ggnfs_dir=C:\Faktorisierung\tools\ggnfs\

This is my yafu.ini with the specified folders.
Andi_HB is offline   Reply With Quote
Old 2011-06-19, 09:26   #713
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

1001101100102 Posts
Default

Quote:
Originally Posted by Andi_HB View Post
B1pm1=100000
B1pp1=20000
B1ecm=11000
rhomax=1000
threads=2
ggnfs_dir=C:\Faktorisierung\tools\ggnfs\
ggnfs_dir=C:\Faktorisierung\tools\ggnfs\

This is my yafu.ini with the specified folders.
Thanks. Is it intended that you have specified ggnfs_dir twice?
Andi47 is offline   Reply With Quote
Old 2011-06-19, 09:41   #714
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

46628 Posts
Default -threads 6 doesn't work?

Just started yafu "nfs(<c121>)" -v -threads 6, but it seems that it hasn't taken the "-threads 6" flag: the output looks like the msieve output for one thread, only one of 8 threads of my i7 is busy (CPU load ~12%), and the msieve.log which it created says that the time limit for poly search is somewhat more than 4 hours (which seems normal for a c121). (BTW: my yafu.ini contains the line "threads=6", this seems to be ignored too with yafu "nfs()".)


(BTW2: I have killed the job after 2 minutes and switched back to aliqueit which now uses factmsieve.pl to factor the c121)
Andi47 is offline   Reply With Quote
Old 2011-06-19, 09:46   #715
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

10816 Posts
Default

Ups - no its not neccessary to specifie ggnfs_dir twice.

Last fiddled with by Andi_HB on 2011-06-19 at 09:48
Andi_HB 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:37.


Fri Aug 6 22:37:13 UTC 2021 up 14 days, 17:06, 1 user, load averages: 3.68, 3.68, 3.46

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.