![]() |
![]() |
#331 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
2×17×293 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#332 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3×11×157 Posts |
![]() |
![]() |
![]() |
![]() |
#333 |
"Seth"
Apr 2019
1B016 Posts |
![]()
After benchmark other threads didn't restart
I was running 1 worker with 8 threads and htop was showing 800% cpu usage this morning it's showing 1 thread at 100% cpu usage Code:
[Work thread Jan 18 23:36] Setting affinity to run worker on CPU core #2 [Work thread Jan 18 23:36] [Work thread Jan 18 23:36] P-1 on M7508981 with B1=1000000000, B2=500000000000 [Work thread Jan 18 23:36] Setting affinity to run helper thread 1 on CPU core #3 [Work thread Jan 18 23:36] Setting affinity to run helper thread 2 on CPU core #4 [Work thread Jan 18 23:36] Setting affinity to run helper thread 3 on CPU core #5 [Work thread Jan 18 23:36] Using AVX FFT length 384K, Pass1=384, Pass2=1K, clm=2, 8 threads [Work thread Jan 18 23:36] Setting affinity to run helper thread 7 on CPU core #9 [Work thread Jan 18 23:36] Setting affinity to run helper thread 6 on CPU core #8 [Work thread Jan 18 23:36] Setting affinity to run helper thread 4 on CPU core #6 [Work thread Jan 18 23:36] Setting affinity to run helper thread 5 on CPU core #7 [Work thread Jan 18 23:37] M7508981 stage 1 is 97.07% complete. [Work thread Jan 19 00:16] M7508981 stage 1 is 97.37% complete. Time: 2368.379 sec. ... [Work thread Jan 19 05:32] M7508981 stage 1 is 99.77% complete. Time: 2370.455 sec. [Main thread Jan 19 05:36] Benchmarking multiple workers to tune FFT selection. [Work thread Jan 19 05:36] Worker stopped while running needed benchmarks. [Main thread Jan 19 05:36] Timing 384K FFT, 8 cores, 1 worker. Average times: 0.35 ms. Total throughput: 2876.95 iter/sec. [Main thread Jan 19 05:37] Timing 384K FFT, 8 cores, 1 worker. Average times: 0.43 ms. Total throughput: 2305.95 iter/sec. ... [Main thread Jan 19 05:39] Timing 384K FFT, 8 cores, 1 worker. Average times: 0.41 ms. Total throughput: 2429.03 iter/sec. [Main thread Jan 19 05:39] [Main thread Jan 19 05:39] Throughput benchmark complete. [Work thread Jan 19 05:39] Benchmarks complete, restarting worker. [Work thread Jan 19 05:39] [Work thread Jan 19 05:39] P-1 on M7508981 with B1=1000000000, B2=500000000000 [Work thread Jan 19 05:39] Setting affinity to run helper thread 2 on CPU core #4 [Work thread Jan 19 05:39] Setting affinity to run helper thread 1 on CPU core #3 [Work thread Jan 19 05:39] Setting affinity to run helper thread 3 on CPU core #5 [Work thread Jan 19 05:39] Setting affinity to run helper thread 6 on CPU core #8 [Work thread Jan 19 05:39] Using AVX FFT length 384K, Pass1=384, Pass2=1K, clm=2, 8 threads [Work thread Jan 19 05:39] Setting affinity to run helper thread 7 on CPU core #9 [Work thread Jan 19 05:39] Setting affinity to run helper thread 4 on CPU core #6 [Work thread Jan 19 05:39] Setting affinity to run helper thread 5 on CPU core #7 [Work thread Jan 19 05:39] M7508981 stage 1 is 99.80% complete. |
![]() |
![]() |
![]() |
#335 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
2·17·293 Posts |
![]()
Sure. I have to watch when a stage 1 factor is found (this runs one or two days before stage 2) and grab the file, as I don't know if the ".write" and ".bad1" is just a rename, or the content is changed too. Will do that.
|
![]() |
![]() |
![]() |
#336 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
233528 Posts |
![]()
Ha!
![]() Exactly in the same time I was posting the above, I decided to have a look remotely to that system (long live anydesk!) and found P95 crashed, with the same issue, this time for M7128227, which was already in ".write" status, i.e. too late to catch the error. So, I decided to reconstruct it, by doing again the stage 1. I sent you the two files by email (quite large, even zipped), but you can reproduce it easier, faster than you can read the email from me, hehe. Just add to your worktodo a line like "Pminus1=N/A,1,2,7128227,-1,1993731,1993731", or choose any exponent with a P-1 factor discoverable in stage 1. If you chose the same exponent, you will get the "m7128227" file identical with the one I sent you, and you will find the correct factor. In this point, one (normal guy) would discard the file and look for another exponent to play with, so no harm ever done. But in the case we are hunting for large factors or work for the "twok" project, and want to run stage 2 on ALL the exponents/files kept from stage 1, we have no way to know which of them had found factors, unless we go through them by hand one by one, so we just run stage 2 on all of them.*** So, put into your worktodo file a line like "Pminus1=N/A,1,2,7128227,-1,1993731,1993731,97" (to force stage 2) and run P95 again. P95 will crash, it will rename the file to "m7128227.write", and forcefully exit the memory, but as I correctly guessed, the content of the file is modified too, some bytes (which look like a residue) are changed to "00000002". That is the second file I sent you. You can compare them binary and see the modified bytes. So, when you come home in the evening, swear two times, for the lost time, restart P95, the "m7128227.write" will be renamed to "m7128227.bad1" and the job will continue**. There is another restart needed later, to delete the ".bad1" file (by hand) and edit the worktodo manually to get rid of the naughty line (which is skipped every time, as long as the bad1 file is there, otherwise, if you just delete the file, the stage 1 will run again and again). By the way, if you modify the worktodo to something like "Pminus1=N/A,1,2,7128227,-1,1993761,1993761,97" (so the new P-1 does a bit of stage 1 too, before going directly to stage 2), then it works normally. _____________ Edits: ** to clarify, when the file is renamed from ".write" to ".bad1", its content is not changed. *** therefore one feature request or fast/dirty solution, would be to modify the behavior of the KeepPminus1SaveFiles switch, to have 0, 1, 2, etc, to keep the files if stage 1 or 2, or if a factor was/was not found. Last fiddled with by LaurV on 2022-01-20 at 10:17 |
![]() |
![]() |
![]() |
#337 | |
"/X\(‘-‘)/X\"
Jan 2013
23·32·41 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#338 |
P90 years forever!
Aug 2002
Yeehaw, FL
11110110100002 Posts |
![]()
Indeed prime95 assigns affinity to cores. That is, on a hyperthreaded CPU the first prime95 thread is assigned to logical cores 1 and 2 (assuming one-based numbering of logical cores).
|
![]() |
![]() |
![]() |
#339 | |
"University student"
May 2021
Beijing, China
2×53 Posts |
![]() Quote:
Usually it switches once every 8 seconds. However, at the beginning of stage 2, I see it switches once in less than a second. that would be a huge performance impact. I'm pretty sure that if I closed hyperthreading, the problem would resolve itself. However I didn't see such option in my BIOS. I spotted another (minor) bug: Stage 2 stopping in the middle and restarting would result in percentage quickly going to 100%, which doesn't reflect the progress. Last fiddled with by Zhangrc on 2022-01-21 at 02:22 |
|
![]() |
![]() |
![]() |
#340 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
2×17×293 Posts |
![]() Quote:
What I intended to say, set the switch to 0 or 1 to delete, respective keep, all the files, this is the case now, but add the option "2", to delete the file only if a factor is found. That would eliminate the issue (without solving it ![]() ![]() Last fiddled with by LaurV on 2022-01-21 at 03:37 |
|
![]() |
![]() |
![]() |
#341 |
P90 years forever!
Aug 2002
Yeehaw, FL
24×17×29 Posts |
![]()
30.8 build 9
Only new feature is P-1 now works for non-Mersennes. Linked with latest hwloc library -- maybe Windows will behave better (I'm not real hopeful). A few bugs fixed: stage 2 % complete, LaurV/Anton save file issue. Windows 64-bit: https://mersenne.org/ftp_root/gimps/p95v308b9.win64.zip Linux 64-bit: https://mersenne.org/ftp_root/gimps/...linux64.tar.gz |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prime95 beta version 28.4 | Prime95 | Software | 20 | 2014-03-02 02:51 |
Prime95 beta version 28.3 | Prime95 | Software | 68 | 2014-02-23 05:42 |
Prime95 version 27.1 early preview, not-even-close-to-beta release | Prime95 | Software | 126 | 2012-02-09 16:17 |
Beta version 24.12 available | Prime95 | Software | 33 | 2005-06-14 13:19 |
Beta version of PRP | Prime95 | PSearch | 15 | 2004-09-17 19:21 |