*BSD News Article 94447


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2.1 slow network in 1 direction problem
Date: Sat, 26 Apr 1997 10:32:07 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 29
Message-ID: <33614D07.42F4@OntheNet.com.au>
References: <335F16C4.41C6@inferno.phys.tue.nl>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Gert van der Plas <gert@inferno.phys.tue.nl>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39746

Gert van der Plas wrote:
> 
> Hi,
> 
> I am running 2.2.1 on a P200/64Mb/2x2.5gig box with a NE2500/NE5500
> PCI-networkcard recognized as a NE2100/PCI. For a strange reason tcp/ip
> from the machine to the outside is deadslow 10-55kb/s and from the
> outside to the machine it does up to 1.1Mb/s. It is quiet annoying and
> not to mention unworkable. Does anyone have a solution?

I've seen problems like this where the source and destination have
different capabilities in speed (pps) and buffering.  From the very fast
machine to the slower machine, throughput (ftp) is TERRIBLE.  In the
other direction it is great, approaching Ethernet bandwidth.

The problem is lost packets causing TCP to re-transmit and, at the same
time, collapse the transmit window (ie. "slow start").  Basically, as
soon as the the transmitter gets a head of steam up, another packet is
lost and the process repeats itself!  It might even be as bad as two
Ethernet packets back-to-back which the receiving NIC can't handle.

On my LAN segment, I've gone to ALL SMC/PCI (DEC 2104x) cards and get >
1MB/s transfers.  When I talk to a system with an ISA NE2000 NIC, it's
"go and make a cup of coffee" time.

Rather a hard problem to solve without upgrading all your h/w to the
latest and greatest...

Tony