Calculation of "time left" is wrong

Report & discuss bugs found in SABnzbd

Calculation of "time left" is wrong

Postby Hurda » December 29th, 2011, 9:14 am

Example: http://i43.tinypic.com/2ezms21.jpg

The problem here is this:

Each job uses a different usenet-service.

Job A's speed is ~128kbyte/s, job B's speed is ~512kbyte/s.
Job A has 1610 MB to download, job B 1900 MB.

So the time left for job A is actually 3h34m, for job B 1h03m.

Is there a way that the remaining time isn't calculated with the overall download speed, but with each job's download speed?

SABNzbd's version is 0.6.14
Hurda
Newbie
Newbie
 
Posts: 9
Joined: November 7th, 2011, 5:30 am

Re: Calculation of "time left" is wrong

Postby shypike » December 29th, 2011, 9:36 am

SABnzbd doesn't know that job A is exclusively from one server and B from the other.
It will actually try both servers and it may end up being like that.
What you ask for is too complicated to be worth the effort for a relatively small audience.
User avatar
shypike
Administrator
Administrator
 
Posts: 16546
Joined: January 18th, 2008, 1:49 pm

Re: Calculation of "time left" is wrong

Postby Hurda » December 29th, 2011, 10:51 am

shypike wrote:What you ask for is too complicated to be worth the effort for a relatively small audience.

Complicated?
I don't know how the ETAs in the job-queue are calculated, but everything necessary is pretty much known: The size of the remaining files and the current download-speed of the job (the delta of the remaining-filesize between time x and time x+y divided by y (the refresh-interval, maybe)).

And small audience, dunno, I guess there are many people with normal "unlimited" usenet-services and other services for backups, so these situations probably occur very often.

I know that the "time left"-numbers in the job-list is for the estimated time of when all the jobs up until then are finished, but when you are using two or more servers, which aren't equally fast and with significantly different retention days, the ETA turns out to become useless.

And sabnzb can know which servers are used for which jobs: Isn't that what the "retention time"-field in the servers-dialog is for (assuming the active jobs are ordered oldest to newest)? ;)
Hurda
Newbie
Newbie
 
Posts: 9
Joined: November 7th, 2011, 5:30 am

Re: Calculation of "time left" is wrong

Postby shypike » December 29th, 2011, 11:01 am

The world is not as simple as you think.
First of all, retention times are far from absolute.
Also, often popular servers do not hold some posts (for reasons you can think of yourself).
Anyway, SABnzbd isn't setup to report ETA this way.
It's a simple extrapolation of the current speed.
User avatar
shypike
Administrator
Administrator
 
Posts: 16546
Joined: January 18th, 2008, 1:49 pm


Return to Bug Reports