[comp.sys.sun] FTP gives weird trasfer rates on SunOS 4.1

rd@chorus.fr (03/22/91)

There's a minor bug in SunOS 4.1's ftp command that cause it to print
crasy transfer rates. For instance, this is the result from a FTP transfer
between two Sparcs running SunOS4.1 and connected by a 9600 bauds leased
line:

ftp> put contacts
200 PORT command successful.
150 Binary data connection for contacts (192.33.15.111,1472).
226 Binary Transfer complete.
local: contacts remote: contacts
9931 bytes sent in 1e-06 seconds (9.7e+06 Kbytes/s)

Hope it will be true some day :-)

Roland Dirlewanger				E-mail:	rd@chorus.fr

art@opal.acc.com (Art Berggreen) (04/02/91)

In article <2034@brchh104.bnr.ca> rd@chorus.fr writes:
>There's a minor bug in SunOS 4.1's ftp command that cause it to print
>crasy transfer rates. For instance, this is the result from a FTP transfer
>between two Sparcs running SunOS4.1 and connected by a 9600 bauds leased
>line:

>9931 bytes sent in 1e-06 seconds (9.7e+06 Kbytes/s)

You are probably only seeing this on short files.  I believe this is due
to the fact that FTP calculates time to when the last write completes, NOT
when the data is completely delivered.  Thus, when the file is less than
the TCP window, the time is just enough to copy it to the kernel.