Uploading a completed WU, after net disconnect
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 8
- Joined: Sun Aug 18, 2013 11:10 pm
Uploading a completed WU, after net disconnect
Hello All,
What is the preferred method for uploading a completed WU in the following scenario:
I tether my phone to my computer to fold, but I disconnect the phone tethering in the afternoon . Overnight I let my computer continue to fold; in the morning both the CPU and GPU have completed the work units, but have not sent the WU yet.
Typically the WU says it will try a resend in X amount of hours, should I:
Leave the F@H client alone until it automatically sends the completed WU and then begins a new WU.
Close the F@H client and the start it again, hoping it resends the WU unit when it restarts.
What is the preferred method for uploading a completed WU in the following scenario:
I tether my phone to my computer to fold, but I disconnect the phone tethering in the afternoon . Overnight I let my computer continue to fold; in the morning both the CPU and GPU have completed the work units, but have not sent the WU yet.
Typically the WU says it will try a resend in X amount of hours, should I:
Leave the F@H client alone until it automatically sends the completed WU and then begins a new WU.
Close the F@H client and the start it again, hoping it resends the WU unit when it restarts.
-
- Site Admin
- Posts: 7990
- 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: Uploading a completed WU, after net disconnect
Restarting the client should cause it to send the WU's in. This is assuming you are folding on Windows. With Linux and OS X the folding client is running in the background as a service by default. It takes a bit more to restart the client and reset the retry delay period.
-
- Posts: 8
- Joined: Sun Aug 18, 2013 11:10 pm
Re: Uploading a completed WU, after net disconnect
Yep Windows 8,
Thanks.
Thanks.
Re: Uploading a completed WU, after net disconnect
If the client has finished both slots my personal recommendation would be to restart the client, though technically it's not required. Starting from the time each WU finished, the client will automatically attempt to upload the results and the time between attempts will grow progressively longer each time it tries, so the lost time before it tries again will depend on how many times it has tried and how long it has been since the last attempt. After restarting the client, it will immediately attempt to upload everything that's finished.
The client is also designed to download one WU per slot, so in addition to uploading, it will need to download a new assignment for each slot. Those downloads will also begin immediately after a client restart. Processing all four transactions at the same time (two down and two up) will saturate your modem for a while, but that shouldn't be a problem as long as you expect it.
Tethering the phone and just waiting is also an option, although as I said, some extra time may pass.
The client is also designed to download one WU per slot, so in addition to uploading, it will need to download a new assignment for each slot. Those downloads will also begin immediately after a client restart. Processing all four transactions at the same time (two down and two up) will saturate your modem for a while, but that shouldn't be a problem as long as you expect it.
Tethering the phone and just waiting is also an option, although as I said, some extra time may pass.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Site Moderator
- Posts: 6986
- Joined: Wed Dec 23, 2009 9:33 am
- Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB
Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400 - Location: Land Of The Long White Cloud
- Contact:
Re: Uploading a completed WU, after net disconnect
If your connection can't handle 2 uploads and 2 downloads simultaneously, you may want to configure the slots so that they will start in a paused state which ensures that every time you reboot your system, the completed WUs will be uploaded but no new WUs will be downloaded until you manually enable folding on each slot.
To add the command, please do the following:
Open Advanced Control (AKA FAHControl) -> Configure -> Slots Tab -> GPU -> Under the Extra slot Options, enter the following:
Name: pause-on-start
Value: true
To add the command, please do the following:
Open Advanced Control (AKA FAHControl) -> Configure -> Slots Tab -> GPU -> Under the Extra slot Options, enter the following:
Name: pause-on-start
Value: true
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
-
- Posts: 1003
- Joined: Thu May 02, 2013 8:46 pm
- Hardware configuration: Full Time:
2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)
Retired:
3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop - Location: Near Oxford, United Kingdom
- Contact:
Re: Uploading a completed WU, after net disconnect
I noticed this a while ago when my internet connection went down just after the client had downloaded a new WU but before it had finished the current one (good timing!). It was only down for around 20 minutes so not a serious problem.bruce wrote:Starting from the time each WU finished, the client will automatically attempt to upload the results and the time between attempts will grow progressively longer each time it tries, so the lost time before it tries again will depend on how many times it has tried and how long it has been since the last attempt.
I wondered at the time but didn't bother to ask- does the time between attempts increase without limit, and is there any easy way (eg adding a slot option) to limit the maximum to, say, an hour?
If not, could I suggest it for the next version? It could be useful if an internet connection failed during an extended period of unattended operation such as a long weekend or holiday away (I never turn my main machine off unless I have to).
-
- Posts: 10179
- Joined: Thu Nov 29, 2007 4:30 pm
- Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
- Location: Arizona
- Contact:
Re: Uploading a completed WU, after net disconnect
No, the time does not increase without limit. At max, it will still attempt to upload several times a day.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Re: Uploading a completed WU, after net disconnect
I don't think it increases without limit but I don't remember details about the actual range.
The fundamental reason why it increases is to protect the server from being overloaded. Suppose a server is off-line. Over some time period, more and more of the WUs that belong to that server will be completed. If every one of those clients attempted to upload immediately after the server comes back on-line, it would saturate the server's ability to handle uploads and almost nobody would successfully upload their payload. If the server is down for a long time, more and more clients would be trying to upload. By spacing out the upload attempts over longer and longer periods of time, the chances of getting through are improved for everybody. If the connection is only down briefly, the retry time can be much shorter since no large backlog has had time to accumulate.
The fundamental reason why it increases is to protect the server from being overloaded. Suppose a server is off-line. Over some time period, more and more of the WUs that belong to that server will be completed. If every one of those clients attempted to upload immediately after the server comes back on-line, it would saturate the server's ability to handle uploads and almost nobody would successfully upload their payload. If the server is down for a long time, more and more clients would be trying to upload. By spacing out the upload attempts over longer and longer periods of time, the chances of getting through are improved for everybody. If the connection is only down briefly, the retry time can be much shorter since no large backlog has had time to accumulate.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 1003
- Joined: Thu May 02, 2013 8:46 pm
- Hardware configuration: Full Time:
2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)
Retired:
3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop - Location: Near Oxford, United Kingdom
- Contact:
Re: Uploading a completed WU, after net disconnect
I hadn't really considered a server being down (or unavailable/unreachable) for any serious period of time... but it could happen I suppose.
That all makes sense, thanks.
That all makes sense, thanks.
Re: Uploading a completed WU, after net disconnect
Nowadays, most servers have collection servers which can accept uploads when the primary work server is unavailable. That has mostly solved the problem of a server having too many upload requests, but it still could happen under unusual circumstances so leaving that (old) functionality in the client is still a good idea.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.