From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 11:00:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCD116A4CE; Wed, 2 Jun 2004 11:00:54 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC57B43D54; Wed, 2 Jun 2004 11:00:53 -0700 (PDT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id i52I0lWR035814 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 2 Jun 2004 11:00:47 -0700 (PDT) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: freebsd-current@freebsd.org Date: Wed, 2 Jun 2004 10:56:52 -0700 User-Agent: KMail/1.6.1 References: <20040531215101.GA60299@freefall.freebsd.org> <20040602094940.GA80394@cell.sick.ru> In-Reply-To: <20040602094940.GA80394@cell.sick.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200406021056.53005.sam@errno.com> cc: freebsd-hackers@freebsd.org cc: Gleb Smirnoff cc: Bosko Milekic Subject: Re: [HEADS-UP] mbuma is in the tree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Jun 2004 18:00:54 -0000 On Wednesday 02 June 2004 02:49 am, Gleb Smirnoff wrote: > Bosko, > > On Mon, May 31, 2004 at 02:51:01PM -0700, Bosko Milekic wrote: > B> mbuma is an Mbuf & Cluster allocator built on top of a number of > B> extensions to the UMA framework, all included herein. > > are you going to convert mbuf tag allocator to UMA? Now > tags are allocated with malloc(). AFAIK, tags are used heavily in pf, > and forthcoming ALTQ. Moving to UMA should affect their performance > positively. You probably meant you wanted to use a UMA zone. m_tag's can already be allocated using this mechanism. I did it once for vlan tags but botched it (didn't handle module references properly) so backed it. But there's no reason someone cannot redo it or convert other heavily used fixed size tags to use a zone. Sam