Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 00:08:16 -0500
From:      Don Bowman <don@sandvine.com>
To:        'Deepak Jain' <deepak@ai.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   RE: em0, polling performance, P4 2.8ghz FSB 800mhz
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337045D830C@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
 ...
> > 
> > 
> > You may need to increase the MAX_RXD inside your em driver 
> to e.g. 512.
> 
> I didn't know if my card had a buffer bigger than the default 
> 256. I can 
> increase it, but I didn't know how to determine how big a MAX_RXD my 
> card would support. When the system was under load, it was generating 
> 2xHZ clock ticks (2000 when HZ was 1000) is that normal?

max_rxd is not a function of the card. its the system ram
you devote to dma buffers.
Too big will cause problems since it will flush through the 
cache etc.

you should get (vmstat -i) a clk rate that exactly matches
hz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337045D830C>