From tege@gmp.tmg.se  Sun Aug 17 17:14:17 1997
Received: from gmp.tmg.se (quiet.matematik.su.se [130.237.198.146])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA05592
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Aug 1997 17:14:14 -0700 (PDT)
Received: (from tege@localhost)
	by gmp.tmg.se (8.8.5/8.8.5) id CAA01957;
	Mon, 18 Aug 1997 02:14:01 +0200 (CEST)
Message-Id: <199708180014.CAA01957@gmp.tmg.se>
Date: Mon, 18 Aug 1997 02:14:01 +0200 (CEST)
From: tege@nada.kth.se
Reply-To: tege@nada.kth.se
To: FreeBSD-gnats-submit@freebsd.org
Subject: Degenerate network performance
X-Send-Pr-Version: 3.2

>Number:         4328
>Category:       kern
>Synopsis:       Degenerate network performance
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 17 17:20:01 PDT 1997
>Closed-Date:    Mon Mar 23 04:47:48 PST 1998
>Last-Modified:  Mon Mar 23 04:48:15 PST 1998
>Originator:     Torbjorn Granlund
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
TMG Datakonsult
>Environment:

motherboard:	ASUS P6NP5 (BIOS 0106)
cpu:		Intel P6 200MHz w 256KB cache
memory:		128MB FPM w ECC (4x32MB)
disk:		4.4GB USCSI Fujitsu 2954 (sd0)
disk:		4.4GB UWSCSI Fujitsu 2954 (sd1)
disk:		4.4GB UWSCSI Fujitsu 2954 (sd2)
tape:		12GB/24GB DDS-1/2/3 FSCSI Sony 9000
video:		ATI WinTurbo 2MB
monitor:	Viewsonic 15"
network:	Intel Etherexpress Pro 100B
network:	DEC 21041A (10Mb/s)

The machine acts as gateway between a 100Mbps and a 10Mbps network.

(I am using a 2.2.2 kernel while the rest of the install is from 2.2.1.)

>Description:

When loading our compute server (even with a single small but CPU intensive
task), the network performance degenerates to on the order of 100 KB/s with
random delays.  The machine has two network interfaces, one 100Base-T (fxp)
and one 10Base-T (de).  They degenerate similarly.

Since we use the machine as a mainframe for all our development, this is a
very serious problem.  Even interactive work is hampered, since the
keystrokes are sometimes echoed with an annoying delay.

>How-To-Repeat:

pro> kill -STOP 1512	# suspend CPU hog
pro> time /bin/rcp /u/tar-files/emacs-19.34.tar.gz p55:/tmp
        1.49 real         0.00 user         0.37 sys
pro> kill -CONT 1512	# restart CPU hog
pro> time /bin/rcp /u/tar-files/emacs-19.34.tar.gz p55:/tmp
       42.76 real         0.03 user         0.96 sys

>Fix:
	
None known.

>Release-Note:
>Audit-Trail:

From: David Greenman <dg@root.com>
To: tege@nada.kth.se
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/4328: Degenerate network performance 
Date: Sun, 17 Aug 1997 18:56:10 -0700

 >task), the network performance degenerates to on the order of 100 KB/s with
 >random delays.  The machine has two network interfaces, one 100Base-T (fxp)
 >and one 10Base-T (de).  They degenerate similarly.
 
    There are a couple of possiblities. One is that you're running out of
 network buffers. This is unlikely on machines that are only a gateway, but
 is common on machines that are also a WWW server. There is insufficient
 information in this bug report to identify the problem exactly. If your
 /var/log/messages has anything in it about "Out of mbuf clusters", then
 this would be the problem. Another possibility is that the specific 'de'
 card you are using is one of the ones that FreeBSD isn't working very well
 with. You might try getting the newer version of the driver from Matt
 Thomas.
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project

From: Torbjorn Granlund <tege@matematik.su.se>
To: freebsd-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: kern/4328 Degenerate network performance 
Date: Mon, 23 Mar 1998 13:16:52 +0100

 You can close this PR, since the problem is solved.
 Thank you!
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Mar 23 04:47:48 PST 1998 
State-Changed-Why:  
Closed at originator's request. 
>Unformatted:
