Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting Client, the WU ETA completion is inaccurate #57

Open
jcoffland opened this issue Nov 29, 2022 · 2 comments
Open

Restarting Client, the WU ETA completion is inaccurate #57

jcoffland opened this issue Nov 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@jcoffland
Copy link
Member

From: FoldingAtHome/fah-web-client-bastet#57

@Hou5e wrote:
After restarting the Client, with a partially completed WU (like at 50% or more completed), the WU ETA completion is inaccurate and says 5-15 minutes left for about 1 hour, on a 2 hour long GPU WU. The displayed ETA time does odd things, like: stops, and jumps around.

@jcoffland jcoffland added the bug Something isn't working label Nov 29, 2022
@jcoffland
Copy link
Member Author

The ETA is computed as: run_time_estimate * (1 - estimated_progress). Run time is estimated from first from previous runs of the same WU, second from timings of previous frames and finally from the timeout if no previous information is available. Progress is estimated based on the number of frames completed plus an estimate of how long the current frame has progressed. This can lead to inaccuracy in several ways.

A big part of the problem is that current cores don't give very accurate progress information. This should improve with future core releases. The one thing we can measure fairly accurately is how much time a WU has run for. But performance can vary especially if other tasks are running on the same CPUs/GPUs.

The relevant code starts here: https://github.com/FoldingAtHome/fah-client-bastet/blob/master/src/fah/client/Unit.cpp#L213

@Hou5e
Copy link
Contributor

Hou5e commented Dec 27, 2022

Linux Mint 21.1 (U22.04), FAH Client v8.1.6: Just adding a screenshot for GPU WUs that have about 20 minutes left to complete, where the GUI says ~30 seconds left, about a minute after restarting FAH Client, with the partially completed work:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants