Search found 6 matches

by warpi
24 Aug 2023, 19:05
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

Re: [Feature Suggestion] Time remaining improvement


Brought back to life, I re-read the thread. I think using 'maximum' value(s) in any algorithm is fundamentally flawed. As I suggested earlier, " If you store the max rate, a spike will destroy your estimation. If it spikes to 80MB/s for a second, it will say your last 800MB will take 10 seconds ...
by warpi
24 Aug 2023, 19:02
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

Re: [Feature Suggestion] Time remaining improvement


Suggestion, as the estimated time is just that, an estimate, why not display a range
Remaining time for data size and also the remaining time based on file count, display the smaller one first.

So the display would be something like 5min - 3hr 35min

That way the user knows the range it could be ...
by warpi
09 Nov 2019, 07:00
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

Re: [Feature Suggestion] Time remaining improvement


You can't do that because in order to calculate the calculated elapsed time for r, you have to call the formula again with starting conditions for the transfer, then again, then again. Recursive algorithms don't work without an exit condition, and so this would be a memory leak at best and ...
by warpi
07 Nov 2019, 20:13
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

Re: [Feature Suggestion] Time remaining improvement


Here's some (cool?) idea: Maybe FFS should start recording some historical (per-device-)data: item count, bytes and total time of last syncs. Then assume some simple formula like

total time = A * item count + B * bytes

Then fine-tune the unkown parameters A and B based on the historical data ...
by warpi
07 Nov 2019, 20:10
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

Re: [Feature Suggestion] Time remaining improvement


That algorithm is wrong though. The size left and files left are the same data, so you would be doubling the remaining time essentially. The better way to do the algorithm would be:
T = [(Size remaining/avg transfer rate) + (files remaining/avg file rate)] / 2
avg rates can be calculated based on ...
by warpi
03 May 2018, 08:43
Forum: General Discussion
Topic: [Feature Suggestion] Time remaining improvement
Replies: 12
Views: 2997

[Feature Suggestion] Time remaining improvement

Hello!

I have a suggestion to improve the "time remaining" calculation with the following forumla:
total time left [s] = total size left [mb] / maximum transfer speed [mb/s] + total files left [files] / maximum speed [files/s]

The maximum speeds will be updated as soon the application gets a new ...