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

Andre Oppermann andre at freebsd.org
Fri May 25 20:57:50 UTC 2007


Andrew Gallatin wrote:
> Andrew Gallatin [gallatin at FreeBSD.org] wrote:
>> gallatin    2007-05-25 19:38:32 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
>>     sys/dev/mxge         if_mxge.c 
>>   Log:
>>   - Use m_getcl() rather than m_getjcl() when we're allocating 2KB
>>   clusters.  This helps quite a bit on my low end machines (improves
>>   performance by about 300Kpps when being blasted by a hardware
>>   packet generator).
> 
> BTW, thanks to bmilekic for reminding me of the packet zone.
> It would be nice if such a thing existed for the jumbo sized
> clusters :)

Secondary zones are not perfectly integrated with UMA and there
are some nits that prevent doing just that for the moment.  We're
working on it.  It's not trivial though.  I want to de-inline some
functions in mbuf.h to make backend changes transparent to consumers
of it.

-- 
Andre



More information about the cvs-src mailing list