From owner-freebsd-ports Fri Oct 17 11:48:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA29697 for ports-outgoing; Fri, 17 Oct 1997 11:48:36 -0700 (PDT) (envelope-from owner-freebsd-ports) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id LAA29690 for ; Fri, 17 Oct 1997 11:48:33 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xMHRn-0002wZ-00; Fri, 17 Oct 1997 12:48:31 -0600 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id MAA03209; Fri, 17 Oct 1997 12:48:59 -0600 (MDT) Message-Id: <199710171848.MAA03209@harmony.village.org> To: Nate Williams Subject: Re: 8 days until 2.2.5... Administrative notices. Cc: Bill Fenner , Garrett Wollman , Donald Burr , ports@freebsd.org In-reply-to: Your message of "Thu, 16 Oct 1997 22:02:06 MDT." <199710170402.WAA18900@rocky.mt.sri.com> References: <199710170402.WAA18900@rocky.mt.sri.com> <199710151603.KAA11877@rocky.mt.sri.com> <97Oct16.150242pdt.177487@crevenia.parc.xerox.com> Date: Fri, 17 Oct 1997 12:48:59 -0600 From: Warner Losh Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199710170402.WAA18900@rocky.mt.sri.com> Nate Williams writes: : > Ok, I just modified fetch to keep a moving average of throughput over : > the last 25 seconds : : Can't you have it print the average throughput since it began, and : therefore the time-remaining since it began based on it's throughput so : far, rather than averaging it 25 second chunks? That's what most : browsers do, and it works 'fairly' accurately (much more accurately than : the results you got it appears.) Actually, I found that an exponentially decaying average over the last 3-5 minutes gave the best "range" of ETA times when I was playing with oidl, a tool that watched files and told you, based on how big you told it it should be how long it would take to get there. I said range because I kept the standard deviation as well and used that to give a 2 sigma interval of ETA times, when the 2 sigma distance was > 1 minute, otherwise I just used the exponentially decaying average. This ad-hoc approach could be improved on only in one way, which is what netscape does with "stalled" connections. Warner