![]() |
|
|
#232 | |
|
"Mark"
Apr 2003
Between here and the
2×32×353 Posts |
Quote:
In some future state, srsieve2 will "do it all", but logic in sr1sieve and sr2sieve is incredibly convoluted so bringing it into srsieve2 is a massive undertaking. Each time I start I only get so far before I give up. This is mainly due to how I want to do the optimization, which is very different than the current logic being used. |
|
|
|
|
|
|
#233 | |
|
Random Account
Aug 2009
7A416 Posts |
Quote:
As I wrote before, srsieve2 needs to write a new line below the existing line, not replace it. Having a programming background of my own, this would seem a very minor modification. |
|
|
|
|
|
|
#234 |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
I thought that I fixed that. Please check mtsieve framework 1.9.7. If I haven't please let me know.
|
|
|
|
|
|
#235 | |
|
Random Account
Aug 2009
22×3×163 Posts |
Quote:
srsieve has an option to set a screen update interval, in seconds. As far as I can tell, srsieve2 does not have this. It would be nice if it did. |
|
|
|
|
|
|
#236 | |
|
"Mark"
Apr 2003
Between here and the
18D216 Posts |
Quote:
srsieve2 is set to 60 seconds between refreshes. I don't have a switch to change it because usage of that switch would be rare (as far as I know). I can't think of any cases where I have done sieving for less than 60 seconds outside of testing code changes. It would also impact the entire mtsieve framework. One of the things about mtsieve is that I want to keep usage of the framework (and its switches) simple and consistent. |
|
|
|
|
|
|
#237 | |
|
Random Account
Aug 2009
22×3×163 Posts |
Quote:
"The mfsieve framework." This is part of BOINC? Update: The behavior is the same in Windows 10 Powershell. Last fiddled with by storm5510 on 2020-04-21 at 15:09 Reason: Update |
|
|
|
|
|
|
#238 | |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Quote:
Can you explain what you mean by "overwrite and existing output line"? All of my sieves and pfgw can overwrite the current output line and is the default behavior. There are some cases where it will do a new line. I'm trying to understand your expectations. |
|
|
|
|
|
|
#239 | |
|
Random Account
Aug 2009
22·3·163 Posts |
Quote:
"Expectations." I do not have any. There is one item: Suppose I start a sieve with srsieve2 which will take 36 hours to complete. There is a power outage with only 4 hours left. As far as I can tell, everything would be lost because of no intermittent saving of the of the results. Is there an interval written into the code? |
|
|
|
|
|
|
#240 | |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Quote:
For all of the mtsieve programs, it will write to the output file once per hour. It is possible to lose up to just under 60 minutes of sieving time. |
|
|
|
|
|
|
#241 | |
|
Random Account
Aug 2009
22×3×163 Posts |
Quote:
I started out using PFGW for Riesel searches. It was rapidly pointed out that I needed to be using LLR. Probabilistic versus deterministic. I rarely use PFGW now. I solved my own problem with srsieve2 by not using PowerShell. Writing to an output file every 60 minutes is good. You refer to mfsieve as a group of programs. Where can I find them? |
|
|
|
|
|
|
#242 | |
|
Mar 2007
Estonia
2×71 Posts |
Quote:
Also I wouldn't say "Probabilistic vs Deterministic" is the reason we use the LLR test vs the Fermat test. The LLR test is more optimized for that problem - it needs fewer multiplications to reach a result. For a 100k digit number the Fermat test has 1.3*10-10584 chance of a false positive - it only gets more unrealistic from there [https://primes.utm.edu/notes/prp_prob.html]. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving twins with srsieve | henryzz | Twin Prime Search | 0 | 2014-03-18 12:44 |
| Intel announces multi-core enhancements for Haswell chips | ixfd64 | Hardware | 8 | 2012-02-10 20:32 |
| LLRnet enhancements | kar_bon | No Prime Left Behind | 10 | 2008-03-28 11:21 |
| TODO list and suggestions/comments/enhancements | Greenbank | Octoproth Search | 2 | 2006-12-03 17:28 |
| Suggestions for future enhancements | Reboot It | Software | 16 | 2003-10-17 01:31 |