[4531] in testers

home help back first fref pref prev next nref lref last post

Re: 8.4.5 linux: scp

daemon@ATHENA.MIT.EDU (Robert A Basch)
Mon Jul 3 12:10:57 2000

Message-Id: <200007031610.MAA612862@aupair.mit.edu>
To: Greg Hudson <ghudson@MIT.EDU>
cc: "Christopher D. Beland" <beland@MIT.EDU>, testers@MIT.EDU
In-Reply-To: Your message of "Sat, 01 Jul 2000 00:50:18 EDT."
             <200007010450.AAA01923@egyptian-gods.mit.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 03 Jul 2000 12:10:51 -0400
From: Robert A Basch <rbasch@MIT.EDU>

> > When scp'ing a large file (240 Mb) over the ET T1 from whack-a-mole
> > (IRIX 8.4.5) to No-Whammies (Linux 8.4.5 layered) using
> > /usr/athena/bin/scp, the percent complete indicator occasionally
> > resets to zero.  (Frustratingly, this *only* happened when I wasn't
> > looking at the screen.)  The download finished with the indicator
> > showing 12%.
> 
> It might make sense for a progress indicator to go backwards if your
> download rate goes down.  But resetting all the way to zero and
> finishing at 12% definitely sounds wrong.  Hopefully we will find time
> to look into this problem.

I think I see the problem.  It's calculating percent by doing
100 * bytes_written / file_size, using integer arithmetic.  So it
will reset to 0 at around the 40 MB point (2 ^ 32 / 100).  I'll
work on a patch.

Bob


home help back first fref pref prev next nref lref last post