Re: mbuf layout optimizations

From: Jeff Roberson <jroberson_at_jroberson.net>
Date: Fri, 19 Jun 2009 07:43:19 -1000 (HST)
On Fri, 19 Jun 2009, Barney Cordoba wrote:

>
>
>
> --- On Fri, 6/19/09, Jeff Roberson <jroberson_at_jroberson.net> wrote:
>
>> From: Jeff Roberson <jroberson_at_jroberson.net>
>> Subject: mbuf layout optimizations
>> To: net_at_freebsd.org, current_at_freebsd.org
>> Date: Friday, June 19, 2009, 5:12 AM
>> http://people.freebsd.org/~jeff/mbuf2.diff
>> 
>> Hello,
>> 
>> This is a call for testers and feedback on my mbuf layout
>> improvements. I'm trying to decide whether I will push to
>> have these included in 8.0. After reducing the scope
>> slightly from my last patch, I have not encountered any
>> problems.  Kip Macy has also been using it for the past
>> few weeks without issue.
>> 
>> You should not expect any functional changes from this
>> patch.  The goal is mostly to pave the way fors more
>> sensible mbuf handling in the future, although it does offer
>> a few performance benefits.
>> 
>> The only issue is that cxgb support requires another set of
>> patches from Kip.  If anyone needs those I will prod
>> him to reply with that diff.
>> 
>> Thanks,
>> Jeff
>
> I thought that the purpose of m_tags was to keep individual applications from having to "patch" mbufs. Has that idea proven to be too
> performance-challenged?

m_tags are unrelated to this diff.  This addresses the fundamental memory 
allocation mechanisms and layout of the mbuf.  It reduces the amount of 
book keeping necessary and makes reference counts more pervasive.

Thanks,
Jeff

>
> Barney
>
Received on Fri Jun 19 2009 - 15:43:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC