mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2016-04-07, 13:29   #1
Johnatan
 
Apr 2016

13 Posts
Default Resuming yafu job (ecm)

Is it possible to somehow configure yafu so hat it would be possible to resume yafu if yafu process is terminated?
I see in docfile.txt that some resumption is possible for seiving, but what about ECM?

How complicated would be to implement yafu ECM strategy in script that uses gmp-ecm directly?
Johnatan is offline   Reply With Quote
Old 2016-04-07, 13:57   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160358 Posts
Default

You can use the -work option to tell Yafu a certain amount of ECM has already been done
Dubslow is offline   Reply With Quote
Old 2016-04-07, 19:34   #3
Johnatan
 
Apr 2016

13 Posts
Default

Thanks for the hint!
For example, if I have this kind of output, what value should I pass to the -work option?

Code:
fac: setting target pretesting digits to 182.15
fac: t15: 1.07
fac: t20: 0.04
fac: estimated sum of completed work is t15.19
fac: work done at B1=11000: 0 curves, max work = 74 curves
fac: 74 more curves at B1=11000 needed to get to t182.15
ecm: found prp16 factor = 6586291483612179
fac: setting target pretesting digits to 177.54
fac: t15: 1.73
fac: t20: 0.15
fac: estimated sum of completed work is t15.73
fac: work done at B1=11000: 8 curves, max work = 74 curves
fac: 66 more curves at B1=11000 needed to get to t177.54
ecm: 72/72 curves on C577, B1=11K, B2=gmp-ecm default
fac: setting target pretesting digits to 177.54
fac: t15: 7.73
fac: t20: 1.12
fac: t25: 0.05
fac: estimated sum of completed work is t20.26
fac: work done at B1=50000: 0 curves, max work = 214 curves
fac: 214 more curves at B1=50000 needed to get to t177.54
ecm: 216/216 curves on C577, B1=50K, B2=gmp-ecm default, ETA: 4 sec   
pm1: starting B1 = 3750K, B2 = gmp-ecm default on C577
fac: setting target pretesting digits to 177.54
fac: t15: 38.59
fac: t20: 11.40
fac: t25: 1.06
fac: t30: 0.07
fac: estimated sum of completed work is t25.34
fac: work done at B1=250000: 0 curves, max work = 430 curves
fac: 430 more curves at B1=250000 needed to get to t177.54
ecm: 432/432 curves on C577, B1=250K, B2=gmp-ecm default, ETA: 20 sec   
pm1: starting B1 = 15M, B2 = gmp-ecm default on C577
fac: setting target pretesting digits to 177.54
fac: t15: 124.99
fac: t20: 65.40
fac: t25: 9.70
fac: t30: 1.07
fac: t35: 0.09
fac: estimated sum of completed work is t30.46
fac: work done at B1=1000000: 0 curves, max work = 904 curves
fac: 904 more curves at B1=1000000 needed to get to t177.54
ecm: 904/904 curves on C577, B1=1M, B2=gmp-ecm default, ETA: 1.4 min  
fac: setting target pretesting digits to 177.54
fac: t15: 426.32
fac: t20: 246.20
fac: t25: 54.90
fac: t30: 8.73
fac: t35: 1.09
fac: t40: 0.11
fac: estimated sum of completed work is t35.56
fac: work done at B1=3000000: 0 curves, max work = 2350 curves
fac: 2350 more curves at B1=3000000 needed to get to t177.54
ecm: 424/2352 curves on C577, B1=3M, B2=gmp-ecm default, ETA: 14.67 hrs hrs
Johnatan is offline   Reply With Quote
Old 2016-04-07, 21:41   #4
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Code:
fac: estimated sum of completed work is t35.56
...
ecm: 424/2352 curves on C577, B1=3M, B2=gmp-ecm default, ETA: 14.67 hrs hrs
You've done a t35 with slightly under ten percent of the t40 complete. So maybe -work 35.5 or -work 36.
Dubslow is offline   Reply With Quote
Old 2016-06-13, 11:39   #5
Johnatan
 
Apr 2016

13 Posts
Default

Nice, thank you!
I will parse the output from yafu to calculate the work done.

In this progress line
Code:
ecm: 424/2352 curves on C577, B1=3M, B2=gmp-ecm default, ETA: 14.67 hrs rs
I see "curve/out of total", but the trouble is finding what is the next target for which this process is in progress. E.g. this would be better:
Code:
ecm: 424/2352 (to get from t25 to t30) curves on C577, B1=3M, B2=gmp-ecm default, ETA: 14.67 hrs rs
Of course, the best would be if yafu could simply show the work done so that it would not be needed to parse the output and calculate by hand.
Johnatan 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
Pausing/resuming a process automatically? Xyzzy Linux 6 2017-06-22 19:58
Resuming aliqueit johnadam74 Aliquot Sequences 4 2016-03-28 12:32
Resuming after a hard drive crash delta_t Software 4 2003-06-26 13:54
Resuming work rc Software 9 2003-02-08 15:08

All times are UTC. The time now is 05:05.

Thu Nov 26 05:05:44 UTC 2020 up 77 days, 2:16, 3 users, load averages: 2.12, 1.62, 1.46

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.