![]() |
|
|
#23 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
That's a good question! I bet this c140 file would be faster for c145, but not for c150. A ballpark way to adjust from this c140 file is to add ~30% to lim0 and lim1 for each 5 digits bigger, and to add ~40% to P and admax for each 5 digits. I'd also add 1M to rels_wanted for each *digit*.
Those adjustments should give decent performance up to the low 150s. |
|
|
|
|
|
#24 |
|
"Curtis"
Feb 2005
Riverside, CA
10010111111012 Posts |
RichD and I each tested the new c140 file this week on c141-142 numbers, and we both had to filter multiple times to build a matrix. This means there wasn't enough oversieving, so I have posted a new file with rels_wanted set to 82M rather than 80M.
That is the only change, so if you already downloaded it you can just change that one setting rather than re-downloading. |
|
|
|
|
|
#25 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Ed-
On my i7-5820 (6 core haswell), I once completed a C156 with a modified factmsieve.py in *barely* under 7 days (167 hours). I was quite happy with my modifications, as I think the default factmsieve.py had taken 8.x days for a C155. The attached CADO params file factored a C155 with leading digit 7 on the same machine in 133 hours. I lack the patience to do a comparison run to the factory params, but the front page of the CADO website cites 5.3 days on 16 cores of 2ghz xeon for RSA-155. 32 ghz * 5.3 days = ~170 ghz-days. My C155 took 6*3.3ghz * 5.5 days = 110 ghz-days. 2.7M thread-seconds sieve, 311k thread-seconds matrix. A bit more poly select than I used would be better, so I added 20% to admax for this attached file versus my actual run. As usual, if you want to reduce matrix time, add ~5% to rels_wanted. |
|
|
|
|
|
#26 | |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
EE916 Posts |
Quote:
|
|
|
|
|
|
|
#27 | |
|
Oct 2019
11 Posts |
Quote:
cado-nfs finished in ~324s yafu(latest trunk version, compilation option: NFS=1 USE_SSE41=1) finished in ~500s Last fiddled with by Ferrier on 2019-10-27 at 23:54 Reason: more info about yafu version |
|
|
|
|
|
|
#28 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Thanks for the report! I'd appreciate a comparison at 94 or 95 digits too; that should be a closer battle.
EDIT: At that size, the close battle should be with the quadratic sieve within YAFU, rather than NFS. 5 minutes to crack a C100 is pretty cool! Last fiddled with by VBCurtis on 2019-10-27 at 23:57 |
|
|
|
|
|
#29 | |
|
Oct 2019
11 Posts |
Quote:
Code:
./cado-nfs.py 48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021 ... Info:Complete Factorization / Discrete logarithm: Total cpu/elapsed time for entire factorization: 9562.25/269.406 Code:
./cado-nfs.py 48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021 ... Info:Complete Factorization / Discrete logarithm: Total cpu/elapsed time for entire factorization: 6511.55/193.041 yafu trunk version (compile option: NFS=1 USE_SSE41=1): Code:
./yafu 'siqs(48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021)' starting SIQS on c95: 48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021 ==== sieving in progress (20 threads): 92992 relations needed ==== ==== Press ctrl-c to abort and save state ==== 93748 rels found: 24010 full + 69738 from 1277813 partial, (6962.11 rels/sec) SIQS elapsed time = 206.5399 seconds. ... Code:
./yafu 'siqs(48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021)' starting SIQS on c95: 48404068520546498995797968938385187958997290617596242601254422967869040251141325866025672337021 ==== sieving in progress ( 20 threads): 92992 relations needed ==== ==== Press ctrl-c to abort and save state ==== 95438 rels found: 24356 full + 71082 from 1274175 partial, (8081.20 rels/sec) freeing 1410 poly_a's building matrix with 95438 columns SIQS elapsed time = 179.2129 seconds. ... |
|
|
|
|
|
|
#30 |
|
"Curtis"
Feb 2005
Riverside, CA
12FD16 Posts |
Nice!! So, for non-skylake users, the SIQS/CADO crossover is 93 or 94 digits. For skylake CPUs, more like 96 or 97.
Kudos to BSquared (& co?) for the AVX512 development on YAFU! |
|
|
|
|
|
#31 | |
|
"Ben"
Feb 2007
351310 Posts |
Quote:
Factoring RSA-100 with a two-socket Intel 5122 Gold system (16 threads) I get: Code:
SIQS elapsed time = 781.4394 seconds. Code:
NFS elapsed time = 728.6211 seconds. |
|
|
|
|
|
|
#32 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Post #6 now contains polyselect-optimized params for 190 and 195 digit inputs. The only difference is a slightly smaller P for 190.
User hnoey has run a wide variety of poly select params for a set of 6 C193s, and has determined with some certainty that these choices of NQ and incr produce generally-better results than other common alternatives (incr tested were 60,210,420,4620 with 4620 best; nq tested 3125 15625 78125, with 15625 clearly best). However, no P value was always best; for C193 tests, P=3e6 often was good, but when the poly produced had a score below expectations a higher P-value often produced a more acceptable score. So, our advice: Use the files as posted, but if score doesn't meet your wishes try again with a doubling of P. These two runs combined would still be shorter than the default CADO suggestion. A halving of P is also a reasonable suggestion. Cownoise scores for the list of 6 C193s ranged from 1.35e-14 to 1.44e-14. Last fiddled with by VBCurtis on 2019-11-03 at 16:51 |
|
|
|
|
|
#33 |
|
"Curtis"
Feb 2005
Riverside, CA
113758 Posts |
I upgraded my CPU on my home system (was i7-5820k haswell 6x3.3ghz, now Xeon of same era 12x2.5ghz. Same mobo), so I started over at C100 trying to optimize settings.
I managed to crack a C100 in under 6 minutes wall-clock on this single-socket 2013-era system. ![]() This is roughly a 15% improvement on the previous C100 file posted in this thread last year. Attached is the params file I used. Last fiddled with by VBCurtis on 2020-04-05 at 04:11 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posting log files or other text files | Xyzzy | Forum Feedback | 3 | 2018-12-30 19:37 |
| Improved NFS polynomial selection | jasonp | Operation Kibibit | 5 | 2014-09-07 11:02 |
| CADO-NFS | skan | Information & Answers | 1 | 2013-10-22 07:00 |
| could oddperfect's ecm progress page be improved? | jasong | GMP-ECM | 11 | 2007-05-30 03:08 |
| Factoring progress has really improved! | eepiccolo | Lone Mersenne Hunters | 3 | 2003-04-12 02:04 |