![]() |
![]() |
#12 | |
Aug 2020
2×19 Posts |
![]()
Thanks, I managed to use both srsieve and sr2sieve. Once you know what to do it's really easy to transfer work from one to the other.
However, I couldn't figure out how to continue sieving with sr2sieve at a later time with higher pmax. srsieve notes in the abcd file up to which value sieving was performed, so when I specify that file as input pmin is automatically adjusted. As far as I can see, sr2sieve does no such thing. Quote:
Also I noticed the --threads option is not supported in my version 1.8.11, is that normal? It only runs on one core now... Last fiddled with by bur on 2020-09-01 at 18:11 |
|
![]() |
![]() |
![]() |
#13 |
"Curtis"
Feb 2005
Riverside, CA
35·19 Posts |
![]()
-p tells sr2sieve where to start sieving, -P where to end. The input file is untouched, so you could also edit the top line manually to update pmin.
-t is used for threads, only up to 8. I'm not sure what happens when you specify more than 8. |
![]() |
![]() |
![]() |
#14 |
Aug 2020
2×19 Posts |
![]()
Ok, manually updating the abcd file is what I do now. I thought is was a neat feature of srsieve to include this info in the abcd file, why doesn't sr2sieve?
The -t option isn't accepted. I just get the message: "unknown option -- t". |
![]() |
![]() |
![]() |
#15 | |
"Curtis"
Feb 2005
Riverside, CA
461710 Posts |
![]() Quote:
1. The factors haven't been removed yet 2. The factors from 10-30T aren't on machine #2. It is more consistent and leads to fewer mistakes in software usage for sr2sieve to not change the input file at all. Edit: I think threads only works on linux. If you're using windows, pretty sure you're out of luck. You could try the linux shell within win10? Last fiddled with by VBCurtis on 2020-09-01 at 20:22 |
|
![]() |
![]() |
![]() |
#16 |
"Mark"
Apr 2003
Between here and the
11000001000102 Posts |
![]()
Correct -t is not enabled on Windows.
Use -h to find the option to use Legendre lookups. |
![]() |
![]() |
![]() |
#17 | |
Aug 2020
1001102 Posts |
![]()
VBCurtis, you're right, makes sense not to change the abcd file when it's the input file. But after sieving, when I convert the sr2sieve output with srfile, then it would be helpful if that information would be written in the abcd output file.
rogue, ok, so best way for fixed k is to split the n-range and run several sr2sieve simultaneously? Quote:
|
|
![]() |
![]() |
![]() |
#18 | |
"Mark"
Apr 2003
Between here and the
182216 Posts |
![]() Quote:
By default it will generate the tables. -x disables that. Using -c/-C will save you time when you start up as you can generate the tables once then re-use them. |
|
![]() |
![]() |
![]() |
#19 | |
"Curtis"
Feb 2005
Riverside, CA
10010000010012 Posts |
![]() Quote:
Or, get linux working in a virtual machine; that's how many of us got started in the conversion out of windows. |
|
![]() |
![]() |
![]() |
#20 | ||
Aug 2020
2×19 Posts |
![]() Quote:
Quote:
Now I think it only depends on the p-range? In that case my attempt was indeed not good and it also explains the way sr2sieve works with the facotors.txt. So ideally all physical cores would run one instance of sr2sieve on the same abcd input file but with different p-ranges. And removing candidates from the abcd file will only be done at the end of the whole process because the number of candidates doesn't really influence sieving speed? edit: If n-range really has no noticeable impact on sieving speed, what bounds should I use? Lower bound obviously determined by the size of prime I want to find, but upper bound? Largest number I can see myself to LLR in the future? :) And I used -u # to have the instances use their own factors, checkpoint and so on files. However, with -c they still all use the same sr2cache.bin, is that intentionally or should I specify different files using -C? Last fiddled with by bur on 2020-09-03 at 17:39 |
||
![]() |
![]() |
![]() |
#21 | |
"Curtis"
Feb 2005
Riverside, CA
35·19 Posts |
![]() Quote:
When I'm sieving for myself, I select an upper bound a bit higher than the largest exponent I can see myself testing; If I think I might get to 3M, I'll sieve to 4M. You are correct that the number of candidates in the input file has little effect on sieve speed, once the really tiny candidates are taken out. That is, a 50% reduction in candidate pool will improve sieve speed noticeably, but a 5% reduction makes no difference. I don't know what -c and -C do, sorry. If you're sieving a single k-value, you should be using sr1sieve rather than sr2sieve. sr2 is faster for a file of multiple (more than 2) k's, while 1 or 2 k-values should be done individually with sr1sieve; in fact, srsieve2 (new software from rogue) may be yet faster and my advice may be stale. sr2sieve expects a file in format usable by LLR (-g flag from srfile), not abcd. |
|
![]() |
![]() |
![]() |
#22 |
"Mark"
Apr 2003
Between here and the
2·3,089 Posts |
![]()
You can use the same cache for each instance of sr2sieve that is sieving the same k, b, c, and n range, but different p range.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sieving Question | __HRB__ | Math | 1 | 2019-04-28 05:47 |
Dumb sieving question | fivemack | Software | 7 | 2017-11-27 22:48 |
Line sieving vs. lattice sieving | JHansen | NFSNET Discussion | 9 | 2010-06-09 19:25 |
A question on lattice sieving | joral | Factoring | 5 | 2008-04-03 08:01 |
Sieving question | jasong | Sierpinski/Riesel Base 5 | 9 | 2007-07-23 00:03 |