Subject: Re: kern/29978: tlp driver bad performance (transmit underrun) especially ANA-6944A
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 04/15/2005 15:58:01
The following reply was made to PR kern/29978; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.lip6.fr>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/29978: tlp driver bad performance (transmit underrun) especially ANA-6944A
Date: Fri, 15 Apr 2005 17:57:23 +0200

 On Fri, Apr 15, 2005 at 11:13:00AM +0000, tino@wildenhain.de wrote:
 > after boot, beginning use of the network interfaces causes
 > these messages:
 > tlp0: transmit underrun; new threshold: 96/256 bytes
 > tlp0: transmit underrun; new threshold: 128/512 bytes
 > tlp0: transmit underrun; new threshold: 160/1024 bytes
 > 
 > this is immediately after few packets, ttcp measures
 > about 5MB/s
 > 
 > after some MB of traffic:
 > tlp0: transmit underrun; new threshold: store and forward mode
 > 
 > now performance drops to around 4MB/s
 > 
 > I compared with linux2.6.8 on that hardware, where 
 > no problem appears in the log (may depend on the
 > driver) and performance is around 8-9MB/s
 
 FWIW, the tlp driver always end in store and forward mode on my hardware.
 But I see decent network performances anyway.
 tlp0 at pci0 dev 10 function 0: DECchip 21140A Ethernet, pass 2.2
 tlp0: interrupting at physical irq 10, irq 6
 tlp0: Ethernet address 00:80:c8:7f:d4:06
 lxtphy0 at tlp0 phy 0: LXT970 10/100 media interface, rev. 0
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --