vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
743 stars 260 forks source link

Improve ETA computation for tasks #7689

Closed olivierlambert closed 1 month ago

olivierlambert commented 1 month ago

Current ETA computation for tasks is a bit "too crude": things tend to start slow but we instantly compute the ETA, leading to huge variability (starting like "12 hours left", then "10 minutes", then "10 seconds").

Maybe a better approach would be to have a some buffer/warm time, like wait for few seconds (like 5 or 10?) for the computation to be probably more accurate.