![]() |
|
|
#243 |
|
Jun 2003
155816 Posts |
Isn't Prime Grid already testing Proth primes with k < some value (10000?) In that case, those can be removed from our sieve, no? Same for RPS.
Last fiddled with by axn on 2009-08-12 at 15:06 |
|
|
|
|
|
#244 |
|
Jan 2005
Caught in a sieve
5·79 Posts |
Yes, but removing K's, particularly at the low end, does practically nothing to speed up the sieve. It might be worth skipping them in LLR, though.
|
|
|
|
|
|
#245 |
|
Jun 2003
23·683 Posts |
|
|
|
|
|
|
#246 |
|
A Sunny Moo
Aug 2007
USA
11000100110102 Posts |
I'm trying tpsieve for the first time today, and I noticed that it doesn't start outputting factors to the screen until at least a minute or so (approximately, since I wasn't monitoring it too closely) after the program is first started. Is this some sort of pre-calculation it needs to do but isn't being especially talkative about?
Last fiddled with by mdettweiler on 2009-08-12 at 20:03 Reason: slight correction |
|
|
|
|
|
#247 | |
|
Jun 2003
23·683 Posts |
Quote:
|
|
|
|
|
|
|
#248 | |
|
A Sunny Moo
Aug 2007
USA
2×47×67 Posts |
Quote:
Also, just curious, how exactly does this sieve primes thing work? Does it pre-calculate all the primes up to sqrt(pmax) to begin with, then check the candidates to see which ones are divided out, then calculate the next batch of primes, check those, etc? Or have I got something mixed up here? |
|
|
|
|
|
|
#249 | ||
|
Jun 2003
23×683 Posts |
Quote:
Quote:
In summary, there are three sieves. 1. Initial sieve to generate all small primes upto sqrt(pmax). This is done only once per run of the program -- in fact it may not even be a sieve, but brute force trial division (I dont know). 2. Use these small primes to do a secondary sieve to generate the actual sieve primes between pmin and pmax [we specify via -p & -P flags]. These will be generated blocks at a time. 3. Each of these p will then be used to sieve out our twin candidates. Phew!
Last fiddled with by axn on 2009-08-12 at 20:37 |
||
|
|
|
|
|
#250 |
|
Feb 2007
211 Posts |
Reserving 1100G-1300G [480000-485000] cipher
MoooMoo @ what point can we merge ranges [480000-490000] ? or even get a new file which is smaller to handle, according to my calculation upon completion of 1T we would remove almost 30-35% of factors from the original file thats 180MB smaller file than current 570MB. I recommend we bring both ranges to 3T and than merge them. thanks cipher |
|
|
|
|
|
#251 |
|
Mar 2005
Internet; Ukraine, Kiev
11×37 Posts |
I have downloaded and verified all submitted factor files.
After sieving to 10G each file with 5000 n's has approximately 39.2 million k's. Sieving n=480k-485k p=10G-500G has produced 12.3 million factors. That is ~31% of original file. Sieving n=485k-490k p=10G-200G has produced 9.6 million factors. That is ~24% of original file. |
|
|
|
|
|
#252 |
|
Jun 2003
23·683 Posts |
Until a hash-based version of tps is out, this will not be feasible -- the bitmap version for the combined range will take 2GB memory to run, regardless of how many factors you remove.
EDIT:- Additionally, there is no net speed gain in merging two ranges. Last fiddled with by axn on 2009-08-13 at 13:56 |
|
|
|
|
|
#253 | |
|
A Sunny Moo
Aug 2007
USA
142328 Posts |
Quote:
Is there any way to get tpsieve to produce an expected # of factors in a given range, a la sr(x)sieve? If we can get that information, calculating optimal depth is a rather straightforward matter. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S9 and general sieving discussion | Lennart | Conjectures 'R Us | 31 | 2014-09-14 15:14 |
| Sieving discussion thread | philmoore | Five or Bust - The Dual Sierpinski Problem | 66 | 2010-02-10 14:34 |
| Combined sieving discussion | ltd | Prime Sierpinski Project | 76 | 2008-07-25 11:44 |
| Sieving Discussion | ltd | Prime Sierpinski Project | 26 | 2005-11-01 07:45 |
| Sieving Discussion | R.D. Silverman | Factoring | 7 | 2005-09-30 12:57 |