Re: Help with slow transfers from pc to pc

From: Jim Fischer (jfischer_link5809_at_now.here.com)
Date: 07/26/03


Date: Sat, 26 Jul 2003 11:42:18 -0500

Pepebuho wrote:
> Hi
> I have two computers running RH8.0, connected to a 10Mb hub.
>
> The network cards are 10/100 Mb. I feel that file tranfers between the
> systems are kind of slow.
>
> For example, I did ftp on one of them and a 1474560 byte file took
> 274 seconds (5.3 Kbyte/sec) according to ftp.
>
> Is it "normal"? How can I improve the transfer speed?
> I know I could maybe cook up a direct link cable between the two
> lan cards or get a 100Mb hub. But before I start throwing money
> at hardware I wonder if this is the best I can get with my current software.

FWIW, here are some theoretical values for 10Mb/s Ethernet:

- Time required to transmit a 1518 byte frame over 10Mb/s Ethernet:

    Preamble 8 bytes, 64 bits, 6.4 us
    MTU 1518 bytes, 12,144 bits, 1,214.4 us
    IFG 96 bit times, 9.6 us
    -------------------------------------
    Time 1.2304 ms / frame (1.2304E-3 sec/frame)

- Theoretical minimum time required to transfer 1,474,560 bytes via
10Mb/s Ethernet:

    1,474,560 bytes * (1 frame/1518 bytes) * (1.2304 ms/frame)
       = 1.1952 seconds
       ~ 1.2 seconds

Note that this is a theoretical best value; in the "real world", the
time required to transfer this amount of data will typically require
more than 1.2 seconds. Nevertheless, even if the line utilization on
your 10Mb/s Ethernet connection is only 10% (1Mb/s), this particular
data transfer should finish in approximately 12 seconds. So if your RH8
boxes require 274 seconds to transfer this amount of data, then yeah,
I'd say there's a problem somewhere. ;-)

FWIW, using the 'scp(1)' program, I was able to transfer a 1,474,560
byte file between my RH9 box and an iMac (running OS-X) over an 11Mb/s
802.11b wireless "WiFi" LAN in less than 3 seconds.

To begin trouble-shooting this problem, I recommend you try some file
transfers using other programs -- e.g., scp(1) and wget(1) -- to see if
they too exhibit rediculously slow transfer rates like ftp. If every
file transfer program is rediculously slow, then it's a systemic problem
and not just an FTP problem. OTOH, if these other file transfer programs
are much faster, then you can focus your attention on FTP transfers.

-- 
Jim
To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com


Relevant Pages

  • Re: FTP stops in the middle of transmission
    ... I can't see anything about the FTP protocol (which is just a stream of ... fine for small transmissions, but would often lock up when trying to ... install on the interface board around the PCNET-PCI Ethernet chip. ... and monitor packets going in both directions. ...
    (comp.os.linux.development.system)
  • Re: USB on Debian Potato?
    ... The only ethernet connections I've ever made are between my old ... computer and the cable modem, and I don't know if that's "crossover" or ... I HAVE been able to ftp some files between my old sustem ... remote filesystem on one of the machines. ...
    (comp.os.linux.hardware)
  • Re: Why is ActiveSync so slow compared to FTP ?
    ... have tested BOTH (ActiveSync and FTP) with ethernet of course. ... That is Serial/USB vs Ethernet. ... > Applied Data Systems ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Loosing Ethernet Connectivity
    ... Subject: Loosing Ethernet Connectivity ... restarting the machine using "reboot" will not fix the Problem. ... different Network Cards, on different Ethernet Cables, and with ... To unsubscribe, send any mail to "freebsd-questions- unsubscribe@xxxxxxxxxxx" ...
    (freebsd-questions)
  • Re: Loosing Ethernet Connectivity
    ... You need to replace your ethernet switch. ... Forcing the card to 10baset half or 100 base t full might fix it but ... restarting the machine using "reboot" will not fix the Problem. ... different Network Cards, on different Ethernet Cables, and with ...
    (freebsd-questions)