Missing K/s rate on download of 13MB file

2006-05-13 Thread J. Grant

Hello,

I think I may have found a bug, the ETA is listed, but not the K/s 
rate, the ETA must have been calculated using an K/s rate determined by 
the current time into the download.


Kind regards
JG


$ wget 
http://www.moviemaze.de/media/trailer/delivery/5158673171ca2df66c9b1fd80ea75f4d6bbc731ce5/inside_man_h480.mov
--13:00:41-- 
http://www.moviemaze.de/media/trailer/delivery/5158673171ca2df66c9b1fd80ea75f4d6bbc731ce5/inside_man_h480.mov

   = `inside_man_h480.mov'
Resolving www.moviemaze.de... 85.214.46.168
Connecting to www.moviemaze.de|85.214.46.168|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
http://movies.apple.com/movies/universal/inside_man/inside_man_h480.mov 
[following]
--13:00:49-- 
http://movies.apple.com/movies/universal/inside_man/inside_man_h480.mov

   = `inside_man_h480.mov'
Resolving movies.apple.com... 193.38.108.216, 193.38.108.206
Connecting to movies.apple.com|193.38.108.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13,230,357 (13M) [video/quicktime]

 9% [== ] 1,305,517 
--.--K/s  ETA 1:11:52


--
Homepage: http://jguk.org/
Blog: http://jguk.org/blog.rss
Radio: http://jguk.org/#radio


Re: Missing K/s rate on download of 13MB file

2006-05-13 Thread Hrvoje Niksic
J. Grant [EMAIL PROTECTED] writes:

 I think I may have found a bug, the ETA is listed, but not the
 K/s rate, the ETA must have been calculated using an K/s rate
 determined by the current time into the download.

The --.-- current download rate means that the download is currently
not progressing.  The ETA calculation is based on the average download
rate, and is always available.


Re: Missing K/s rate on download of 13MB file

2006-05-13 Thread J. Grant

Hello Hrvoje Niksic,

Thank you for your reply.

On 13/05/06 19:41, Hrvoje Niksic wrote:

J. Grant [EMAIL PROTECTED] writes:


I think I may have found a bug, the ETA is listed, but not the
K/s rate, the ETA must have been calculated using an K/s rate
determined by the current time into the download.


The --.-- current download rate means that the download is currently
not progressing.  The ETA calculation is based on the average download
rate, and is always available.


is the K/s rate not the average rate ? That is what would be expected, 
but perhaps it is the actual current rate instead?


I think any stalled-ness should be indicated by (stalled) text, rather 
than modifying the average K/s rate. Would you agree? I think it would 
be very handy to have the average K/s rate always displayed.


Please include my email address in any replies.

Kind regards
JG


Re: Missing K/s rate on download of 13MB file

2006-05-13 Thread Hrvoje Niksic
J. Grant [EMAIL PROTECTED] writes:

 The --.-- current download rate means that the download is
 currently
 not progressing.  The ETA calculation is based on the average download
 rate, and is always available.

 is the K/s rate not the average rate ?

No, it's the current rate.


Re: Missing K/s rate on download of 13MB file

2006-05-13 Thread Steven M. Schweda
From: Hrvoje Niksic

 The --.-- current download rate means that the download is currently
 not progressing.  [...]

   Looking at the code in src/progress.c (version 1.10.2), it would
appear that --.--K/s is emitted when either the time
(hist-total_time) or the byte count (hist-total_bytes) is zero, rather
than just when the time is zero.  This precludes emitting a 0.0 rate,
which would be more informative, in my opinion, than --.--K/s.

   0/10 is quite well defined, even though 10/0 is not.  When I see a
rate like --.--K/s, I assume that there's not enough info to provide
a real number (such as no bytes transferred), not that the value is
zero.



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547