mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2018-07-13, 09:44   #1
ICWiener
 
Jun 2018

17 Posts
Default Windows restarted while CUDALucas was running. Should I be worried?

Yesterday while I was at at work my home PC running Windows 10 decided to apply an update and restart on its own (despite me turning off automatic updates/restarts, but that's another story). CUDALucas was therefore automatically closed by Windows while it was computing.

When I restarted it, I saw that it detected a checkpoint file with a timestamp that corresponds to about the time of the automatic restart, and was able to continue from there. However, I am a bit worried that this checkpoint file might somehow be "corrupted" by the restart and therefore all subsequent computations will give a false result.

Is it worth re-loading my last checkpoint that I saved about a week ago and lose a week of calculations rather than letting CUDALucas continue and risk having a false result once it completes in several months' time?
ICWiener is offline   Reply With Quote
Old 2018-07-13, 10:35   #2
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,793 Posts
Default

Yes, you should be worried that MS has so much control over "your" computer. Don't simply accept that MS can change "your"computer whenever they please, fix it.

Last fiddled with by retina on 2018-07-13 at 10:35
retina is online now   Reply With Quote
Old 2018-07-13, 12:35   #3
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

1E9016 Posts
Default

Quote:
Originally Posted by ICWiener View Post
Is it worth re-loading my last checkpoint that I saved about a week ago and lose a week of calculations rather than letting CUDALucas continue and risk having a false result once it completes in several months' time?
Probably no problem. I've stopped CUDALucas, mfaktx, and CUDAPm1 by CTRL-C hundreds if not thousands of times. As long as the save operation finished before the reboot, it should be fine. Windows by default waits for the app to close after signaling it to, equivalent to the user signaling it to stop.
I'd set CUDALucas to periodically save checkpoint files to disk though, and closer to hourly, than your current weekly or less often. And institute a regular automatic backup regime. What protection against power disturbances do you have in place?
kriesel is online now   Reply With Quote
Old 2018-07-13, 12:49   #4
ICWiener
 
Jun 2018

17 Posts
Default

Thank you @kriesel. I know that CTRL-C saves a new checkpoint file, I'm just not sure whether Windows truly waited for that operation to finish before killing the process.

Perhaps I'll revert to my last checkpoint file and lose a week of work, rather than compromise months of future work.

Thank you!
ICWiener is offline   Reply With Quote
Old 2018-07-14, 08:25   #5
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3×23×89 Posts
Default

Quote:
Originally Posted by ICWiener View Post
Thank you @kriesel. I know that CTRL-C saves a new checkpoint file, I'm just not sure whether Windows truly waited for that operation to finish before killing the process.

Perhaps I'll revert to my last checkpoint file and lose a week of work, rather than compromise months of future work.

Thank you!
If it wasn't fully written that should be obvious when loading the file.
henryzz is offline   Reply With Quote
Old 2018-07-16, 08:26   #6
SELROC
 

32×193 Posts
Default

Quote:
Originally Posted by henryzz View Post
If it wasn't fully written that should be obvious when loading the file.
That is a common problem in Windows...

Linux has the sync command which writes everything to disk (flush buffers).
  Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a Windows machine at the end of a wire fivemack Programming 2 2015-06-30 18:02
Windows 32bit vs 64bit mfaktc/cudalucas bcp19 GPU Computing 20 2012-03-11 01:24
Trying to run CUDALucas on Windows 8 CP Rodrigo GPU Computing 12 2012-03-07 23:20
Worried about my temperatures.. Unregistered Information & Answers 25 2011-12-30 21:42
Worried about Computer Overheating Unregistered Hardware 30 2004-09-30 23:16

All times are UTC. The time now is 15:03.


Fri Jul 7 15:03:24 UTC 2023 up 323 days, 12:31, 0 users, load averages: 1.64, 1.36, 1.21

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔