From owner-freebsd-current@FreeBSD.ORG Fri Jun 19 17:43:15 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 180BF106567B; Fri, 19 Jun 2009 17:43:15 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id E05488FC1D; Fri, 19 Jun 2009 17:43:14 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: by wa-out-1112.google.com with SMTP id m38so538894waf.27 for ; Fri, 19 Jun 2009 10:43:14 -0700 (PDT) Received: by 10.114.122.9 with SMTP id u9mr4332110wac.206.1245433394547; Fri, 19 Jun 2009 10:43:14 -0700 (PDT) Received: from ?10.0.1.198? (udp016664uds.hawaiiantel.net [72.235.41.117]) by mx.google.com with ESMTPS id j15sm6132110waf.16.2009.06.19.10.43.12 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Jun 2009 10:43:13 -0700 (PDT) Date: Fri, 19 Jun 2009 07:43:19 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Barney Cordoba In-Reply-To: <603332.84337.qm@web63906.mail.re1.yahoo.com> Message-ID: References: <603332.84337.qm@web63906.mail.re1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2547152148-1022206537-1245433402=:1025" Cc: current@freebsd.org, net@freebsd.org Subject: Re: mbuf layout optimizations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 17:43:15 -0000 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 wrote: > >> From: Jeff Roberson >> 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--