From nobody  Mon Jan  4 19:23:48 1999
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id TAA18956;
          Mon, 4 Jan 1999 19:23:48 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199901050323.TAA18956@hub.freebsd.org>
Date: Mon, 4 Jan 1999 19:23:48 -0800 (PST)
From: wwuttke@doubled.com
To: freebsd-gnats-submit@freebsd.org
Subject: D-Link DE-528CT poor performance
X-Send-Pr-Version: www-1.0

>Number:         9319
>Category:       i386
>Synopsis:       D-Link DE-528CT poor performance
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan  4 19:30:01 PST 1999
>Closed-Date:    Fri Nov 16 13:12:23 PST 2001
>Last-Modified:  Fri Nov 16 13:16:03 PST 2001
>Originator:     William Wuttke
>Release:        3.0-RELEASE
>Organization:
Raytheon Systems Company
>Environment:
FreeBSD ektron6.ektron.net 3.0-RELEASE FreeBSD 3.0-RELEASE #13: Mon Jan 
 4 21:06:38 EST 1999     wutt@ektron6.ektron.net:/usr/src/sys/compile/SMP  i386
>Description:
ASUS P2B-DS, 2 x PII-350, WDC AC310100B, Matrox G200 AGP, 128MB RAM
D-Link DE-528CT (PCI) NE2000 Clone (RealTek 8029)
Using just the SMP extensions in the kernel, got only 260 KBps receive
throughput on ftp. Observed tcpdumps - missed packet with retransmit
timeout although no TCP/IP errors were shown on netstat. NIC LEDs paused
many times for approx 1 sec. During debug of if_ed.c (printfs, DMA status
tests, etc.), noticed wd0 DMA errors???? Couldn't do anything to
appreciably improve performance - any time I did, got wd0 DMA errors.
>How-To-Repeat:
See above.
>Fix:
Enable PCI, DMA, etc. flags on wdc0 controller ala:

controller     wdc0    at isa? port "IO_WD1" bio irq 14 flags 0x00ffa004 vector wdintr

This cleared up the problem. Now ftp rx at 1.07 MB/s.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Fri Nov 16 13:12:23 PST 2001 
State-Changed-Why:  

Poor performance is expected when you have lots of devices operating 
in programmed IO mode. Anyway, you say that the situation improved 
when using DMA on your IDE hard disk; this is now the default for 
all modern hardware. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=9319 
>Unformatted:
