mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > CADO-NFS

Reply
 
Thread Tools
Old 2019-04-16, 03:59   #12
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Fixed! I simply commented out the N value, as CADO itself does for the c90 default file.
Also, the line to add to a work file to *not* use /tmp for all work is tasks.workdir = ./{jobfoldername}
If you don't use work files, you can pass any param flag to CADO on the command line by prepending with double-dash: ./cado-nfs.py {input number} --tasks.workdir=./{jobfoldername}
Default CADO behavior is to use /tmp directories for all job data; a power loss during a job eradicates all progress. The downside to using your own directories within /cado-nfs is that you must remember to delete the data after jobs finish, else you'll run out of disk space.
I had to comment out the value for a C90 run. That's how I discovered it. CADO-NFS told me of the conflict. I have a fixed job directory in my scripts so I can find the log file for the factors. I also concatenate the log into a compiled file for data retrieval and reuse the fixed job directory.
EdH is offline   Reply With Quote
Old 2019-04-19, 03:47   #13
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1110111010012 Posts
Default Some Timing Comparisons

I've attached a file of comparisons based on composite sizes. Here's a sample:
Code:
    Unmodified                    Modified    
                            
Digits CPU (s)   WCT (s)         Digits CPU (s)   WCT (s)
...
128    283924    10981            128    188998    4265
128    301283    11037                    
129    304850    10683                    
129    307423    10926                    
130    374315    9931             130    294086    7241
                                  130    317382    6831
131    418847    14040            131    312883    7090
                                  131    354817    8030
...
Attached Files
File Type: txt CADOtimings01.xlsx.txt (9.6 KB, 153 views)
EdH is offline   Reply With Quote
Old 2019-04-25, 21:35   #14
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Attached are my best effort at parameters for C90, C95, and C100. These files all use Gimarel's excellent development with tight lambda settings near 1.80 combined with loose large-prime bounds and very low Q values.
Timing data: For C90, I ran single-threaded. The stock CADO git-install from Feb '19 took 2236 seconds, while my params took 941 seconds.
For C95 on 6 threads of an otherwise busy 6-core i7-haswell, CADO-default takes 1008 seconds while this params file takes 625 seconds.
For C100 on 6 threads, CADO-default takes 1904 seconds while this params file takes 1288 seconds. Poly-select time should probably be reduced a bit on this file, as I just noticed poly select takes 10% of sieving time.
Running multi-threaded, I believe the YAFU-CADO crossover is somewhere near 90 digits! Please run your own tests and report back here.
Edit 15 Apr: C90 file fixed to comment out the input value N. The c90 file is the one that CADO chose to explain all the parameters, so they included a sample N; I do the same.
Just curious what version of yafu was used in this comparison, and how it was run (always nfs, or siqs for the c90 and c95 and nfs elsewhere, or factor, or something else)?
bsquared is offline   Reply With Quote
Old 2019-04-26, 04:09   #15
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

486110 Posts
Default

Quote:
Originally Posted by bsquared View Post
Just curious what version of yafu was used in this comparison, and how it was run (always nfs, or siqs for the c90 and c95 and nfs elsewhere, or factor, or something else)?
Yafu 1.34 linux-64, running siqs for both c90 and c95 as I don't have GGNFS on that machine.
VBCurtis is online now   Reply With Quote
Old 2019-04-26, 05:39   #16
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7×1,373 Posts
Default

That is ok, yafu siqs vs nfs crossover is somewhere over 100 digits on most of the machines i played with (like 101-106 digits).

Last fiddled with by LaurV on 2019-04-26 at 05:40
LaurV is offline   Reply With Quote
Old 2019-04-26, 16:00   #17
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Yafu 1.34 linux-64, running siqs for both c90 and c95 as I don't have GGNFS on that machine.
Ok, thanks.

I tried out the various versions on a new skylake X processor; looks like AVX-512 helps to the tune of about 25%. This instruction set will someday be more commonplace.

Code:
4 threads, (Xeon 5122 Gold)
c90 = 308204495124600567361475233684732529849778775819664070284023650219790546206058182493911073
sse41   207
avx2    197
avx512  167

4 threads, (Xeon 5122 Gold)
c95 = 38105527381517286355640997328621412161117687510374225914020362885840036150320501125450844393617
sse41   748
avx2    721
avx512  608
I'll try to get CADO configured on a virtualbox to compare. Excited to test out all your improvements to the parameters!
bsquared is offline   Reply With Quote
Old 2019-06-09, 02:58   #18
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

Hey Curtis,

Have you ever gotten anywhere with modified params for c125 and c135? I'm compiling lots of these ranges with default params, but none with modified

Ed
EdH is offline   Reply With Quote
Old 2019-06-09, 04:52   #19
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

I have files that are decent, but not yet fast enough to match the trend set by the smaller files. I'll email the drafts to you soon (I'm in finals at work, might be a day or two).

RichD and I have close-to-trend c140 and c145 files, hopefully posted in the next couple weeks. Our first c150 job was *below* trend! We're running a couple more to see if it was a fluke, but c150 might get posted before the smaller ones.

My hobby time the past month has been spent on the 2330L factorization setup in the cunningham forum. If you haven't had a peek, we're using CADO to run a c207!
VBCurtis is online now   Reply With Quote
Old 2019-06-09, 15:15   #20
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
I have files that are decent, but not yet fast enough to match the trend set by the smaller files. I'll email the drafts to you soon (I'm in finals at work, might be a day or two).

RichD and I have close-to-trend c140 and c145 files, hopefully posted in the next couple weeks. Our first c150 job was *below* trend! We're running a couple more to see if it was a fluke, but c150 might get posted before the smaller ones.

My hobby time the past month has been spent on the 2330L factorization setup in the cunningham forum. If you haven't had a peek, we're using CADO to run a c207!
Thanks Curtis,

I looked a little at 2330L in the beginning and have noticed your activity for the thread, but haven't delved into the finer details. Not ready to commit to a long term project ATM. All my current stuff is day-to-day only. The machines have their nights off.

Ed
EdH is offline   Reply With Quote
Old 2019-09-22, 15:25   #21
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

486110 Posts
Default

It took much more than a couple of weeks, but C140 params have finally been added to post #4. This file is about 25% faster than CADO default.

I hope to have c125 and c135 up in October, while RichD continues to help me work on c145 and c150.
VBCurtis is online now   Reply With Quote
Old 2019-09-25, 21:14   #22
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

73518 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
It took much more than a couple of weeks, but C140 params have finally been added to post #4. This file is about 25% faster than CADO default.

I hope to have c125 and c135 up in October, while RichD continues to help me work on c145 and c150.
Thanks, Curtis. If I run composites >142, would the new c140 be better with those than the default files?
EdH is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 20:37.


Fri Jul 16 20:37:13 UTC 2021 up 49 days, 18:24, 1 user, load averages: 1.77, 1.85, 1.98

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.