![]() |
![]() |
#78 | |
"Mark"
Apr 2003
Between here and the
3×7×13×23 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#79 | |
Dec 2011
After milion nines:)
3·11·43 Posts |
![]() Quote:
bat file fbncsieve.exe -p 347880187459691 -P 6000000000000000 -i 1100.txt -o 1100.txt -f N -W6 -O s53factodes.txt first first lines of input file 347880187459691:P:1:10:1 1014 1100000 1015 1100000 1038 1100000 1075 1100000 1092 1100000 1107 1100000 1113 1100000 1131 1100000 1161 1100000 1171 1100000 1183 1100000 1191 1100000 1201 1100000 1216 1100000 |
|
![]() |
![]() |
![]() |
#80 |
"Mark"
Apr 2003
Between here and the
3×7×13×23 Posts |
![]()
If you use ^C, does it save the correct value at the top of the file?
|
![]() |
![]() |
![]() |
#81 |
Dec 2011
After milion nines:)
3×11×43 Posts |
![]() |
![]() |
![]() |
![]() |
#82 |
"Alexander"
Nov 2008
The Alamo City
2×3×5×19 Posts |
![]()
In App::GetWorkerStats, what happens when ip_Workers[0] is an ordinary worker? Wouldn't the last iteration be out-of-bounds?
Edit: Ditto for App::GetLargestPrimeTested? Last fiddled with by Happy5214 on 2020-12-31 at 09:37 Reason: Another function |
![]() |
![]() |
![]() |
#83 | |
"Mark"
Apr 2003
Between here and the
142078 Posts |
![]() Quote:
Nevertheless there is a bug in those routines, but it should only impact executables with GPU workers. |
|
![]() |
![]() |
![]() |
#84 |
"Mark"
Apr 2003
Between here and the
3×7×13×23 Posts |
![]()
The issue with fbncsieve is that you have -W6. Some of the workers are not doing anything either because your machine doesn't have enough horsepower or because the workers are executing so quickly on their chunk of work that the other workers do not have an opportunity to get work.
You have two options. You can either decrease the number of workers or you can use -w to give each worker enough work to keep them busy. The framework works in a way that the main thread is sieving for the next chunk of work. If a worker thread completes its work before the main thread completes sieving for another worker thread, then the first worker thread will get the next chunk of work. It would require some re-thinking on my part to guarantee that all workers get work, but it could be at the expensive of overall performance when using one thread. |
![]() |
![]() |
![]() |
#85 |
"Mark"
Apr 2003
Between here and the
3·7·13·23 Posts |
![]()
I am working on a change to the framework to do a better job of determining the "largest prime sieved" to address this issue. Conceptually it will "ignore" workers that have done no work and workers that are waiting for work, so only currently executing workers have a "say" in the "largest prime sieved".
|
![]() |
![]() |
![]() |
#86 | |
Dec 2011
After milion nines:)
58B16 Posts |
![]() Quote:
I dont think that is case. sieve file has 72000 candidates, so I dont think any worker has left without work. If sieve is done until some depth, why is problem to sieve start from that point? Srxsieve works for many years without any problem ( even on Linux where is MT) |
|
![]() |
![]() |
![]() |
#87 | |
"Mark"
Apr 2003
Between here and the
188716 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#88 | ||
Dec 2011
After milion nines:)
3×11×43 Posts |
![]() Quote:
So if I take 6*1 instance of your sieve then my CPU will have "enough horsepower" but if I use 1*6 then it wont? I still think that is only cosmetic bug , not real one, since Quote:
Sieve speed is same , version from build 2037 and latest one. |
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
srsieve/sr2sieve enhancements | rogue | Software | 300 | 2021-03-18 20:31 |
mtsieve | rogue | Software | 543 | 2021-02-27 18:43 |
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 |