Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 07:43:19 -1000 (HST)
From:      Jeff Roberson <jroberson@jroberson.net>
To:        Barney Cordoba <barney_cordoba@yahoo.com>
Cc:        current@freebsd.org, net@freebsd.org
Subject:   Re: mbuf layout optimizations
Message-ID:  <alpine.BSF.2.00.0906190742230.1025@desktop>
In-Reply-To: <603332.84337.qm@web63906.mail.re1.yahoo.com>
References:  <603332.84337.qm@web63906.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2547152148-1022206537-1245433402=:1025
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT


On Fri, 19 Jun 2009, Barney Cordoba wrote:

>
>
>
> --- On Fri, 6/19/09, Jeff Roberson <jroberson@jroberson.net> wrote:
>
>> From: Jeff Roberson <jroberson@jroberson.net>
>> Subject: mbuf layout optimizations
>> To: net@freebsd.org, current@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
>
--2547152148-1022206537-1245433402=:1025--



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