Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 1998 09:17:13 -0800 (PST)
From:      Chris Caputo <ccaputo@alt.net>
To:        freebsd-stable@freebsd.org
Subject:   network performance problems (de0) (resend)
Message-ID:  <Pine.BSI.3.93.980114091654.11982A-100000@baklava.alt.net>

next in thread | raw e-mail | index | archive | help
Has anyone experienced any network slowness with FreeBSD 2.2.5 or
2.2-RELENG and the de driver (card is DEC DE500BA)?  I am seeing problems
and upgrading to the 971020 if_de.c driver didn't seem to help.

dmesg:

   de0 <Digital 21143 Fast Ethernet> rev 48 int a irq 10 on pci0:10
   de0: DEC DE500-BA 21143 [10-100Mb/s] pass 3.0
   ...
   de0: enabling 100baseTX port
   de0: enabling Full Duplex 100baseTX port

Basically, transfers between local machines are about 10 times slower than
they should be. This is based on comparison with FreeBSD 2.1-RELENG,
NetBSD 1.3, and BSDI 2.1/3.1 boxes on the same fast ethernet switch. 

In watching an ftp transfer (with hash marks), I can see the TCP traffic
moving in bursts of several hundred K at a time when receiving.  In
between bursts are about a half or full second of nothing and then it
continues.  Receive rate for a 10 meg file is about 400kbytes/sec when it
should be more like 3mbytes/sec. 

Sends are considerably worse.  About 80 or 100k gets sent and then it
pauses for a sec and then another 80 or 100k and then a pause, etc. 
Transmit rate for the same 10 meg file comes out to 46kbytes/sec.  It
should normally be around 3mbytes/sec. 

Based on these tests it looks like there is some kind of problem with
outgoing data. 

Ping floods from another machine do not demonstrate a problem.  For
example:

  56 byte pings:
  12786 packets transmitted, 12779 packets received, 0% packet loss
  round-trip min/avg/max = 0.191/0.449/199.716 ms

  256 byte pings:
  17055 packets transmitted, 17046 packets received, 0% packet loss
  round-trip min/avg/max = 0.270/0.607/240.248 ms

  1400 byte pings:
  7426 packets transmitted, 7408 packets received, 0% packet loss
  round-trip min/avg/max = 0.744/1.747/57.048 ms

The apparent lack of problems when doing pings (ICMP), makes me wonder if
there is some problem with the TCP sends. 

Any thoughts or suggestions on how to debug this further? 

Chris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.980114091654.11982A-100000>