![]() |
When can I shut down, with the least wasted work?
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[/CODE] They are not all saved at the same time, so would I be best to shut the machine down as soon as p110068781.bu2 is updated, as soon as p110068781.residues is updated, or what? 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 |
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.
|
[QUOTE=Uncwilly;569003]Pirme95[/QUOTE]
What's that? :razz: |
[QUOTE=LaurV;569137]What's that? :razz:[/QUOTE]
A special version of Prime95 for Dyslexics? |
[QUOTE=petrw1;569138]A special version of Prime95 for Dyslexics?[/QUOTE]
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.) |
| All times are UTC. The time now is 11:33. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.