Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1016549

Bug#961370: pv: ETA is wildly off when transfer rate changes

From lemonsqueeze <lemonsqueeze@gmx.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#961370: pv: ETA is wildly off when transfer rate changes
Date 2020-07-05 09:40 +0200
Message-ID <Ap7pL-47H-3@gated-at.bofh.it> (permalink)
References <A9GBc-6EG-3@gated-at.bofh.it> <AmEBz-7O6-7@gated-at.bofh.it> <A9GBc-6EG-3@gated-at.bofh.it> <AmEBz-7O6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Cool, looking forward to next pv release =)

I was thinking, it seems most command line tools which display ETA
like wget for example exhibit very simple behavior by default:
ETA is displayed every second and average rate used to compute it is
simply average rate during last second (hence wild ETA jumps when
connection speed varies !)

I guess most people would expect that so it probably makes sense for
pv to do this by default also. But it'd certainly be handsome to have
other algorithms to choose from for cases where that is ill-suited.
So the different patches are not necessarily mutually exclusive, could
just add command line options to choose which algorithm to use.

Regarding this patch, name for '--rate-window' option isn't great,
'--eta-window' would be much better. I'll update my patch on github.

Good luck with next pv release !

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#961370: pv: ETA is wildly off when transfer rate changes lemonsqueeze <lemonsqueeze@gmx.com> - 2020-05-23 20:00 +0200
  Bug#961370: pv: ETA is wildly off when transfer rate changes Andrew Wood <pv-debianqa@ivarch.com> - 2020-06-28 14:30 +0200
    Bug#961370: pv: ETA is wildly off when transfer rate changes lemonsqueeze <lemonsqueeze@gmx.com> - 2020-07-05 09:40 +0200
  Bug#961370: pv: ETA is wildly off when transfer rate changes lemonsqueeze <lemonsqueeze@gmx.com> - 2020-07-06 18:10 +0200

csiph-web