Losing WUs on restart?

Moderators: Site Moderators, FAHC Science Team

Post Reply
Breach
Posts: 212
Joined: Sat Mar 09, 2013 8:07 pm
Location: Brussels, Belgium

Losing WUs on restart?

Post by Breach »

Hey there, using the latest client, Windows 11 and noticed the following:

a) If I restart system while folding, when the PC starts again the old WU is dumped and a new one is picked up (expected: pause and resume).
b) If I pause folding and restart immediately, the WU remains 'paused' but then FAH picks up a new WU (expected: resume the previous WU).

Am I missing something here...?
Windows 11 x64 / 9800X3D PBO / 32GB DDR5 6400 1:1 / 5090 FE / Sennheiser 650 / PSU Corsair AX1600i
muziqaz
Posts: 1531
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Losing WUs on restart?

Post by muziqaz »

Make sure you are on the latest Fahclient version, which is 8.4.9.
And then before rebooting pause all the work, and don't rush rebooting immediately, do it in normal speed. Windows reboot kills fahclient too quickly for it to save current state
FAH Omega tester
Image
Breach
Posts: 212
Joined: Sat Mar 09, 2013 8:07 pm
Location: Brussels, Belgium

Re: Losing WUs on restart?

Post by Breach »

Yes, I'm using 8.4.9. Thanks for confirming current behavior, but then it seems the new client didn't implement something important, which the old, desktop one was handling fine.

And it's really a couple of lines of code to block a restart in Win32 through the API (ShutdownBlockReasonCreate) until the state is saved.

Hope it will be added.
Windows 11 x64 / 9800X3D PBO / 32GB DDR5 6400 1:1 / 5090 FE / Sennheiser 650 / PSU Corsair AX1600i
muziqaz
Posts: 1531
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Losing WUs on restart?

Post by muziqaz »

The issue is not by choice, and we have been trying to fix it, and it is not that simple ;)
FAH Omega tester
Image
Breach
Posts: 212
Joined: Sat Mar 09, 2013 8:07 pm
Location: Brussels, Belgium

Re: Losing WUs on restart?

Post by Breach »

OK, I understand it is a known issue on the radar and that apparently it may not be straightforward to address (and indeed, I haven't obviously seen your codebase). Hope you find a solution - it would avoid wasting valuable compute time in such situations.

Cheers
Windows 11 x64 / 9800X3D PBO / 32GB DDR5 6400 1:1 / 5090 FE / Sennheiser 650 / PSU Corsair AX1600i
muziqaz
Posts: 1531
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Losing WUs on restart?

Post by muziqaz »

Code is open source at github :)
FAH Omega tester
Image
Joe_H
Site Admin
Posts: 8087
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4
Location: W. MA

Re: Losing WUs on restart?

Post by Joe_H »

Breach wrote: Sun Feb 16, 2025 3:55 pm Yes, I'm using 8.4.9. Thanks for confirming current behavior, but then it seems the new client didn't implement something important, which the old, desktop one was handling fine.

And it's really a couple of lines of code to block a restart in Win32 through the API (ShutdownBlockReasonCreate) until the state is saved.

Hope it will be added.
Actually there were complaints with the prior v7 client under Windows doing the same thing, not exiting fully before the Windows reboot killed the process before the code had exited. So you may not have run into the issue on your Windows systems, but others did.
Image
calxalot
Site Moderator
Posts: 1438
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Losing WUs on restart?

Post by calxalot »

Post Reply