mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > XYYXF Project

Reply
 
Thread Tools
Old 2017-04-06, 07:53   #243
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72·131 Posts
Default

Nearly finished the ECM effort on C196_135_124 (30720 curves run stage-1 on GPU, 2560 left to run stage-2 on CPU). Have switched to polynomial selection on the GPU, let's give that two weeks and see what happens.
fivemack is offline   Reply With Quote
Old 2017-04-06, 13:48   #244
swellman
 
swellman's Avatar
 
Jun 2012

BFC16 Posts
Default

Quote:
Originally Posted by fivemack View Post
Nearly finished the ECM effort on C196_135_124 (30720 curves run stage-1 on GPU, 2560 left to run stage-2 on CPU). Have switched to polynomial selection on the GPU, let's give that two weeks and see what happens.
Below is the best SNFS poly I could find. It appears to be a 16e/33 effort. I've also included the best deg 5 SNFS poly. It is certainly inferior to the deg 6 poly but the e-score may be comparable with those of the GNFS deg 5 polys.

GNFS seems the clear choice but let's see what you get from the GPU search.

Code:
n: 4771226874718372401816440104013864668203176737532592253493283671988174637757061596298231366896680873325048456869159071364714864324343301436670519204700311140849625690800089534409817719724210684309
# 135^124+124^135, difficulty: 283.51, anorm: 1.73e+039, rnorm: -7.00e+052
# scaled difficulty: 285.78, suggest sieving rational side
# size = 1.533e-014, alpha = 0.000, combined = 5.282e-015, rroots = 0
type: snfs
size: 283
skew: 9.5207
c6: 1
c0: 744775
Y1: -22714703342386579455158090252925131190280650752
Y0: 181923115004036823095631551174640655517578125


n: 4771226874718372401816440104013864668203176737532592253493283671988174637757061596298231366896680873325048456869159071364714864324343301436670519204700311140849625690800089534409817719724210684309
# 135^124+124^135, difficulty: 283.31, anorm: 1.34e+031, rnorm: 3.14e+062
# scaled difficulty: 288.54, suggest sieving rational side
# size = 2.644e-019, alpha = 0.705, combined = 3.619e-015, rroots = 1
type: snfs
size: 283
skew: 1.1247
c5: 5
c0: 9
Y1: -60425876350537708314228454492376377880573272705078125
Y0: 332954968017607722800751971697982347541173495171723034624

C195_130_121 should be ECM'd by late April. Many thanks to Wombatman for his ECM contributions!
swellman is online now   Reply With Quote
Old 2017-04-06, 20:36   #245
axn
 
axn's Avatar
 
Jun 2003

505210 Posts
Default

Quote:
Originally Posted by swellman View Post
Below is the best SNFS poly I could find. It appears to be a 16e/33 effort. I've also included the best deg 5 SNFS poly. It is certainly inferior to the deg 6 poly but the e-score may be comparable with those of the GNFS deg 5 polys.
Did you test sieve the SNFS polys to see which is better out of the two? In theory, an SNFS-284 should be firmly in degree-5 territory. It would be touch and go whether the deg-5 or GNFS on C196 would be faster.
axn is online now   Reply With Quote
Old 2017-04-06, 21:26   #246
swellman
 
swellman's Avatar
 
Jun 2012

22·13·59 Posts
Default

Quote:
Originally Posted by axn View Post
Did you test sieve the SNFS polys to see which is better out of the two? In theory, an SNFS-284 should be firmly in degree-5 territory. It would be touch and go whether the deg-5 or GNFS on C196 would be faster.
SNFS-284 firmly a deg 5? Not in my experience. But to answer your question, no I did not test sieve the quintic though it was test sieved by YAFU during the selection process. So YAFU thought the sextic was the better choice, but it really needs to be confirmed by human intervention as well as compared against the final GNFS poly.
swellman is online now   Reply With Quote
Old 2017-04-06, 23:26   #247
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

Quote:
Originally Posted by axn View Post
Did you test sieve the SNFS polys to see which is better out of the two? In theory, an SNFS-284 should be firmly in degree-5 territory. It would be touch and go whether the deg-5 or GNFS on C196 would be faster.
The transition from deg 5 to deg 6 happens around 210 digits, for GNFS or SNFS. 284 is closer to deg 7 than deg 5!
VBCurtis is offline   Reply With Quote
Old 2017-04-07, 07:25   #248
axn
 
axn's Avatar
 
Jun 2003

22×3×421 Posts
Default

Quote:
Originally Posted by swellman View Post
SNFS-284 firmly a deg 5? Not in my experience. But to answer your question, no I did not test sieve the quintic though it was test sieved by YAFU during the selection process. So YAFU thought the sextic was the better choice, but it really needs to be confirmed by human intervention as well as compared against the final GNFS poly.
Ok. So probably "firmly" is stretching the case, but I would still expect deg-5 to be (marginally) better than deg-6 at that size. Note that the optimal sieve parameters would be completely different between deg-5 and deg-6 -- not sure if yafu accounts for this.

Quote:
Originally Posted by VBCurtis View Post
The transition from deg 5 to deg 6 happens around 210 digits, for GNFS or SNFS. 284 is closer to deg 7 than deg 5!
Huh? SNFS 210 would be like GNFS-145 ish, so the degree should be similar, isn't it?
axn is online now   Reply With Quote
Old 2017-04-07, 11:59   #249
swellman
 
swellman's Avatar
 
Jun 2012

22×13×59 Posts
Default

Quote:
Originally Posted by axn View Post
Ok. So probably "firmly" is stretching the case, but I would still expect deg-5 to be (marginally) better than deg-6 at that size. Note that the optimal sieve parameters would be completely different between deg-5 and deg-6 -- not sure if yafu accounts for this.
I don't recall if YAFU accounts for the degree of the poly in parameter selection, but it does self adjust things like lpb and siever # based on the results of the test sieving. And it does get it wrong occasionally, e.g. settling on a local minima for sieving time instead of moving to a true minimum. YAFU is just a tool like any other, not a fire and forget solution. Definitely takes human oversight.

Your comment about sieve parameters being completely different between deg-5 and deg-6 intrigues me. My methods do not consider the degree of the polynomial but much of what I do personally to prep for sieving is based on what I've read on the forum and what has worked for me in the past, not what is the theoretically best practice. Always willing to learn more. A very abbreviated version of my method:

- goal is to maximize yield (in range 1.0-3.0) while minimizing sieving time
- if two input files ("job file") have equal ETAs, pick the one with highest yield
- if two files have equal yield and ETAs, use the one with lowest siever #

- generate poly (I usually work with a deg-5 and a deg-6)
- pick lpbr/a (usually 31-33)
- r/alim=2^(lpb-4) rounded down
- mfb=2*lpb
- lambda=2.7, 2.8 or 3.0 (corresponds to value of lpb)
- pick a siever # and test sieve
- adjust siever and/or lpb then retest
- eventually declare optimal results for poly
- repeat with another poly
- pick best poly and factor composite

This method is highly empirical, with no preconceived notions of degree to be used. That said, in my experience with several hundred poly builds over the last few years I do tend to shortcut a few steps. For example, siever 14e will never efficiently sieve a SNFS 275, nor is using lpb=33 necessary on a GNFS 161.

It all comes down to test sieving.

Last fiddled with by swellman on 2017-04-07 at 12:02
swellman is online now   Reply With Quote
Old 2017-04-08, 06:14   #250
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

Quote:
Originally Posted by axn View Post
Huh? SNFS 210 would be like GNFS-145 ish, so the degree should be similar, isn't it?
Have a peek at the wiki for SNFS factorization: https://en.wikipedia.org/wiki/Specia...er_field_sieve

You'll find the conjectured formula for optimal degree of poly under "choice of parameters". Plugging in 205 digits results in N = 6, and 330 results in N = 7. The formula is specifically listed there for SNFS, but I'm pretty sure it's the same for GNFS. You mention the difficulty equivalence from SNFS to GNFS, but that has nothing to do with choosing degree. 285 digits is closer to 330 than 205, which is what I was referring to; it's more than halfway up the deg-6-optimal range.

On my near-Cunningham (aka riesel) numbers, I found deg 6 to be superior around 680 bits, a bit higher than the formula indicates; I think deg 6 and 7 are about the same at 1060 bits, but I have merely toyed with test-sieving a number that big to see if I could find a case where deg 7 is better.

Last fiddled with by VBCurtis on 2017-04-08 at 06:15
VBCurtis is offline   Reply With Quote
Old 2017-04-08, 07:30   #251
axn
 
axn's Avatar
 
Jun 2003

22·3·421 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
You mention the difficulty equivalence from SNFS to GNFS, but that has nothing to do with choosing degree.
This is the part I am having trouble with. :-(
axn is online now   Reply With Quote
Old 2017-04-08, 08:45   #252
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default Some test-sieving results

Range of 10kQ, alim=rlim=268e6, siever 15e, 32-bit large primes, using the GNFS polynomial from a 1% sample of the search range

Code:
$ cat SNFS-a.aus 
total yield: 3790, q=268010003 (1.55223 sec/rel) 
$ cat SNFS-r.aus 
total yield: 4607, q=268010003 (1.43881 sec/rel) 
$ cat GNFS-6159.aus 
total yield: 6015, q=268010003 (1.21251 sec/rel) 
$ cat GNFS.23-6159.aus  <- 3 A-side large primes
total yield: 7728, q=268010003 (1.05761 sec/rel)
So it's definitely a GNFS number, and it's definitely a bit too big for 15e/32. Doing some runs at 15e/33.
fivemack is offline   Reply With Quote
Old 2017-04-08, 12:23   #253
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72·131 Posts
Default

Code:
$ cat GNFS-6159.LP33.aus 
total yield: 11688, q=268010003 (0.53504 sec/rel)
$ cat GNFS-6159.LP33.3ALPaus 
total yield: 16589, q=268010003 (0.45467 sec/rel)
So significantly more than twice the relations per second, and rather more than twice the relations per Q when using 3 large primes. It's a plausible 15e/33 job.

Now trial-sieving with 16e
fivemack is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ready GNFS targets XYYXF XYYXF Project 86 2020-03-07 16:23
SNFS targets which need more ECM XYYXF XYYXF Project 57 2017-07-04 19:15
Ready SNFS targets XYYXF XYYXF Project 25 2016-11-20 21:35
3,697+ (GNFS 220.9) pinhodecarlos NFS@Home 0 2014-12-24 19:13
3,766+ (GNFS 215.5) pinhodecarlos NFS@Home 34 2014-04-01 21:27

All times are UTC. The time now is 04:12.


Sat Jul 17 04:12:12 UTC 2021 up 50 days, 1:59, 1 user, load averages: 2.39, 2.47, 2.16

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.