![]() |
![]() |
#1 |
Jan 2021
24×3 Posts |
![]()
I believe that if a computer crashes, or otherwise needs to be shut down, all ones work with mprime is not lost, as the data is saved every half hour. Is that correct?
I need to shut the machine down for 5 minutes to move it. I don't have any compelling reason to do it now, or in an hours time, or whatever. When would be the best to shut the machine, wasting as little CPU time as possible? Looking at the recent files generated, I see Code:
-rw-rw-r--. 1 drkirkby drkirkby 161 Jan 11 03:42 results.txt -rw-rw-r--. 1 drkirkby drkirkby 356 Jan 11 03:42 results.json.txt -rw-rw-r--. 1 drkirkby drkirkby 71 Jan 11 03:42 worktodo.txt -rw-rw-r--. 1 drkirkby drkirkby 2746 Jan 11 03:42 prime.log -rw-rw-r--. 1 drkirkby drkirkby 1705 Jan 11 05:14 results.bench.txt -rw-rw-r--. 1 drkirkby drkirkby 784 Jan 11 05:14 gwnum.txt -rw-rw-r--. 1 drkirkby drkirkby 289 Jan 11 06:48 prime.txt -rw-rw-r--. 1 drkirkby drkirkby 27517868 Jan 11 09:47 p110068781.bu4 -rw-rw-r--. 1 drkirkby drkirkby 616 Jan 11 11:11 local.txt -rw-rw-r--. 1 drkirkby drkirkby 27517868 Jan 11 12:46 p110068781.bu3 -rw-rw-r--. 1 drkirkby drkirkby 3522232320 Jan 11 15:23 p110068781.residues -rw-rw-r--. 1 drkirkby drkirkby 41276472 Jan 11 15:46 p110068781.bu2 -rw-rw-r--. 1 drkirkby drkirkby 27517868 Jan 11 15:48 p110068781.bu -rw-rw-r--. 1 drkirkby drkirkby 41276472 Jan 11 16:16 p110068781 Is there a clean way to stop mprime on linux, so it stops as soon as it can, but without wasting any computer time? Dave |
![]() |
![]() |
![]() |
#2 |
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
11×853 Posts |
![]()
If you shut down the machine normally (vs just flipping the switch or pulling the plug) Pirme95/mprime will shut down nicely. It will save what ever it is working on right then. Nothing will be lost.
|
![]() |
![]() |
![]() |
#3 |
Romulan Interpreter
Jun 2011
Thailand
220738 Posts |
![]() |
![]() |
![]() |
![]() |
#4 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
22×17×67 Posts |
![]() |
![]() |
![]() |
![]() |
#5 |
Nov 2019
2·5·7 Posts |
![]() I resemble that remark. Had to re-read the "wrong" one 3 or 4 times to see the transposition. Edit: If you are using a linux distro with a "fast" shutdown script (read: uses aggressive time-outs), you can lose up to half an hour of work. For my "white elephant" machine I worked around that by running a script that properly shutdown mprime first, THEN called the system shutdown script. ("killall mprime;" essentially.) Last fiddled with by phillipsjk on 2021-01-13 at 07:54 Reason: Decided to answer OP's question. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SETI@home to shut down for the time being on March 31 | ixfd64 | Lounge | 2 | 2020-03-26 21:46 |
Best type of work for lowest exponent work? | cappy95833 | Software | 5 | 2019-11-21 04:24 |
Changing prime.ini to shut down in heat | jkingqm | Software | 8 | 2008-07-01 00:17 |
Shut downs and restarts | Regit | Hardware | 5 | 2007-09-10 22:28 |
Wasted work | flava | Hardware | 1 | 2006-03-22 01:10 |