![]() |
|
|
#34 | |
|
Nov 2003
164448 Posts |
Quote:
For a 10K x 20K lattice, it is set at 100 * 6400 * 1024. If I crank it down, I get core dumps because the bucket code starts to overwrite locations that it shouldn't. For a 9K x 18K lattice, it is set at 81 * 6400 * 1024 For 8K x 16K it is set at 64 * 6400 * 1024 If I reduce it, I get core dumps. |
|
|
|
|
|
|
#35 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
753210 Posts |
Quote:
If you can't find and fix the bug, I can look at it next week. I may need you to package up a sample case and the current code. My copy of your code is 5 years old. |
|
|
|
|
|
|
#36 | |
|
Nov 2003
22×5×373 Posts |
Quote:
6 million ideals factor base primes and their roots 6M x 4 x 2 = 48Mbytes storage for primes when resieving 24M reduced lattices for ideals 16bytes/ideal 96M logs of primes 6M sieve array 105M memory for buckets 655M storage to record success locations after algebraic sieve (I've seen as many as 45M potential successes for small q on a quartic) 180M (i can reduce this for larger q's) it could also be reduced by sieving the rational side FIRST. total: 1.1G (plus incidentals) I can get rid of the storage of success locations entirely if I do a time/space tradeoff. After I sieve the algebraic side, I scan the sieve region, looking for potential hits. Because algebraic norms are small, there are a LOT of them. Then, after sieving the rational side, I scan the algebraic success points only. By scanning all of the points, I could do away with this array entirely. For sextics, this array is much much smaller. |
|
|
|
|
|
|
#37 | |
|
Nov 2003
22·5·373 Posts |
Quote:
up the current code and input data and send it at your convenience. Let me know when. I won't bother with the source code for creating the factor base files. I will just send those as zipped binaries. I also note the following. Greg did a sample run of the GGNFS siever on my data. (same factor base sizes, LP bounds, sieve area etc.) For q near 60M, he got 8.5 relations per q at an average rate of about .65 seconds per relation. This is about 5.5 seconds per q. Our sieve takes over 6 seconds by itself just do do the bucket sieve on my fastest machine (3.2Ghz I5). My home PC is an i7 but it is only 2.6Ghz/core. Add the other overhead, and my siever is about 2.2 times slower than GGNFS for this quartic. This is one reason why I want to try to rework the bucket sieve. I understand why it is slower. Inherently, the Pollard approach has quite a bit more overhead in setting up the sieve regions. There are some time/memory tradeoffs that will save me 10-15%, but I have to bring down the memory footprint first. |
|
|
|
|
|
|
#38 | |
|
Nov 2003
746010 Posts |
Quote:
are using a skew of 1.41 (4^1/4). I am using a skew of 1. The skew of 1.41 is slightly more efficient. |
|
|
|
|
|
|
#39 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224208 Posts |
I have tried to model the initial value for skew by simple LSF (log|ci| ~ i), and for this poly it suggests 1.58. But sims show that this has almost no difference vs 41/4 (note that this usual rule of thumb is equivalent to LSF with two points c0 and cn, disregarding the wobbly coefficients in the middle. For two-term SNFS polys, e.g. 3x6+1, of course this is the same).
(LSF = I meant, linear regression; reverse engineering my thoughts from Russian, "least square fit") Last fiddled with by Batalov on 2010-10-20 at 23:04 |
|
|
|
|
|
#40 | ||
|
P90 years forever!
Aug 2002
Yeehaw, FL
22·7·269 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#41 | |
|
Nov 2003
22·5·373 Posts |
Quote:
(e,f) for a prime p such that e.g. (0, -M) < e * v1 + f * v2 < (N,M). Doing this entails computing sieve boundaries, then figuring out how (e.f) stay inside the skewed parallelogram. GG does not need to even compute the v1 and v2 vectors for each prime. Just computing the sieve start points and the reduced lattices takes about 3 seconds for 6 million primes. They may also have a more efficient technique for scanning the sieve array after sieving, looking for successful hits. I know how to reduce some of the overhead. But it requires additional memory. |
|
|
|
|
|
|
#42 | |
|
Tribal Bullet
Oct 2004
3·1,181 Posts |
Quote:
Not to say that that's what the KF siever does; the only description of that code I could find was 'Contiued Fractions and Lattice Sieving', a short paper by Franke and Kleinjung. |
|
|
|
|
|
|
#43 | |||
|
Nov 2003
22·5·373 Posts |
Quote:
less data movement. Quote:
may cause misses as well. Quote:
material; did not adequately explain many things; made some unsubstantiated claims; etc. and that it needed a MAJOR overhaul before publishing. It was first published in a venue known for slack editing. My suggesttions were basically ignored and it was published essentially as is. I complained to the editors. I got ignored. |
|||
|
|
|
|
|
#44 | |
|
Nov 2003
22·5·373 Posts |
Quote:
of info. GGNFS does indeed use a totally different sieving strategy. Bob |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bad LL-D Success Rate | TheMawn | Data | 14 | 2014-10-13 20:19 |
| SNFS polynomial with very low yield | ryanp | Factoring | 9 | 2013-04-03 06:33 |
| Distributed finishing for 2,1870L | R.D. Silverman | Cunningham Tables | 64 | 2011-02-27 21:39 |
| ggnfs sieving yield wierdness | jrk | Factoring | 10 | 2009-05-07 17:41 |
| EFF prize and error rate | S485122 | PrimeNet | 15 | 2009-01-16 11:27 |