From kchowksey@hss.hns.com  Sun Nov  9 03:12:34 1997
Received: from tapti.hss.hns.com (tapti.hss.hns.com [139.85.242.19])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA01852
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Nov 1997 03:12:30 -0800 (PST)
          (envelope-from kchowksey@hss.hns.com)
Received: from tarang.hss.hns.com (tarang.hss.hns.com [139.85.242.33]) by tapti.hss.hns.com (8.8.2/8.7.3) with ESMTP id QAA16078 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Nov 1997 16:41:10 +0500 (IST)
Received: (from kchowksey@localhost) by tarang.hss.hns.com (8.8.2/8.7.3) id QAA06504; Sun, 9 Nov 1997 16:38:52 -0500 (GMT)
Message-Id: <199711092138.QAA06504@tarang.hss.hns.com>
Date: Sun, 9 Nov 1997 16:38:52 -0500 (GMT)
From: Kapil Chowksey <kchowksey@hss.hns.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: NE2100 ethernet card (lnc1) gives poor performance.

>Number:         4989
>Category:       kern
>Synopsis:       NE2100 ethernet card (lnc1) gives poor performance.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  9 03:20:01 PST 1997
>Closed-Date:    Sun Mar 15 17:33:02 PST 1998
>Last-Modified:  Sun Mar 15 17:33:39 PST 1998
>Originator:     Kapil Chowksey <kchowksey@hss.hns.com>
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
hss
>Environment:

FreeBSD ensatm1.hss.hns.com 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Tue Oct 21
14:33:00 GMT 1997     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:

	NE2100 ethernet card (on an HP Vectra Pentium class CPU) running
	FreeBSD 2.2.5-RELEASE with 10Mbps ethernet is giving very poor
	performance (about 4 Kbps ftp transfers). This is happening only
	in post-install operation -- single user as well as multi-user mode.

	During installation (which was done in ftp mode using an ftp server
	on local ethernet), the performance was normal (about 400 Kbps ftp
	transfers).

	A tcpdump shows that FTP transfers a chunk of data, waits for 
	*two seconds*, then transfers a chunk ... and so on.

16:36:48.167449 elbereth.40051 > kchowksey.ftp-data: . ack 12960 win 17280 <nop
,nop,timestamp 9423 22459,nop,nop,[|tcp]> (DF) [tos 0x8]
16:36:48.167599 elbereth.40051 > kchowksey.ftp-data: . ack 12960 win 17280 <nop
,nop,timestamp 9423 22459,nop,nop,eol,[|tcp]> (DF) [tos 0x8]
16:36:49.641186 kchowksey.ftp-data > elbereth.40051: . 12960:14400(1440) ack 1
 win 17280 <nop,nop,timestamp 22461 9423,nop,nop,[|tcp]> (DF) [tos 0x8]
16:36:49.644203 elbereth.40051 > kchowksey.ftp-data: . ack 17280 win 12960 <nop
,nop,timestamp 9426 22461,nop,nop,eol,[|tcp]> (DF) [tos 0x8]
16:36:49.644353 elbereth.40051 > kchowksey.ftp-data: . ack 17280 win 17280 <nop
,nop,timestamp 9426 22461,nop,nop,[|tcp]> (DF) [tos 0x8]


>How-To-Repeat:

	Do a reasonably sustained ftp transfer on a NE2100 card. transfer
	rates are abyssimally low.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: steve 
State-Changed-When: Sun Mar 8 19:11:24 PST 1998 
State-Changed-Why:  
Patch from i386/5910 applied.  Left open pending approval to 
merge into the -stable branch. 
State-Changed-From-To: feedback->closed 
State-Changed-By: steve 
State-Changed-When: Sun Mar 15 17:33:02 PST 1998 
State-Changed-Why:  
Merged into -stable also. 
>Unformatted:
