cvs commit: src/sys/dev/mxge if_mxge.c

Gleb Smirnoff glebius at FreeBSD.org
Mon May 28 11:28:17 UTC 2007


On Fri, May 25, 2007 at 10:57:54PM +0200, Andre Oppermann wrote:
A>  Andrew Gallatin wrote:
A> > Andrew Gallatin [gallatin at FreeBSD.org] wrote:
A> >> gallatin    2007-05-25 19:38:32 UTC
A> >>
A> >>   FreeBSD src repository
A> >>
A> >>   Modified files:
A> >>     sys/dev/mxge         if_mxge.c   Log:
A> >>   - Use m_getcl() rather than m_getjcl() when we're allocating 2KB
A> >>   clusters.  This helps quite a bit on my low end machines (improves
A> >>   performance by about 300Kpps when being blasted by a hardware
A> >>   packet generator).
A> > BTW, thanks to bmilekic for reminding me of the packet zone.
A> > It would be nice if such a thing existed for the jumbo sized
A> > clusters :)
A> 
A>  Secondary zones are not perfectly integrated with UMA and there
A>  are some nits that prevent doing just that for the moment.  We're
A>  working on it.  It's not trivial though.  I want to de-inline some
A>  functions in mbuf.h to make backend changes transparent to consumers
A>  of it.

Just 1 penny: Andrews commit shows that packet zone shouldn't be deleted,
it really improves performance.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list