Subject: Re: Intel PRO 100s
To: netbsd <netbsd@purk.ee>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: netbsd-help
Date: 05/09/2002 09:38:51
On Thu, May 09, 2002 at 07:06:09PM +0300, netbsd wrote:

 > Today i borrowed inetl nicks..before i decided to buy..just for case:)
 > They are Intel EtherExpress 100S nick...after i installed...i saw weird
 > outpud on my netstat ...
 > 
 > bash-2.05# netstat -m
 > 129 mbufs in use:
 >         128 mbufs allocated to data
 >         1 mbufs allocated to packet headers
 > 128/140 mapped pages in use
 > 328 Kbytes allocated to network (87% in use)
 > 0 requests for memory denied
 > 0 requests for memory delayed
 > 0 calls to protocol drain routines
 > 
 > it seems like it appears even after i reboot mashine.....
 > after i installed el-chipo realtek stuff...the % is 0 :) ?
 > Should i encrease something in kernel...and compile new one?
 > i bet those nick stay alive on my heavy loaded box..just one day:)

This is because the Intel interface DMA's directly into pre-allocated
mbufs, whereas the RealTek DMA's into a ring buffer, and the data is
copied out into mbufs later.  (The way the Intel chip does it is better.)

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>