From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 4 04:27:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8DF216A4CE; Fri, 4 Jun 2004 04:27:48 -0700 (PDT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE6D43D1D; Fri, 4 Jun 2004 04:27:48 -0700 (PDT) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i54BRZvw098375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jun 2004 15:27:36 +0400 (MSD) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i54BRYWF098374; Fri, 4 Jun 2004 15:27:34 +0400 (MSD) Date: Fri, 4 Jun 2004 15:27:33 +0400 From: Gleb Smirnoff To: Brooks Davis Message-ID: <20040604112733.GC98227@cell.sick.ru> References: <20040531215101.GA60299@freefall.freebsd.org> <20040602094940.GA80394@cell.sick.ru> <200406021056.53005.sam@errno.com> <20040603094626.GA89838@cell.sick.ru> <20040603151911.GB12727@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20040603151911.GB12727@Odin.AC.HMC.Edu> User-Agent: Mutt/1.5.6i X-Mailman-Approved-At: Fri, 04 Jun 2004 05:16:33 -0700 cc: Sam Leffler cc: freebsd-current@freebsd.org cc: Bosko Milekic cc: freebsd-hackers@freebsd.org Subject: Re: [HEADS-UP] mbuma is in the tree X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 11:27:49 -0000 On Thu, Jun 03, 2004 at 08:19:11AM -0700, Brooks Davis wrote: B> > On Wed, Jun 02, 2004 at 10:56:52AM -0700, Sam Leffler wrote: B> > S> allocated using this mechanism. I did it once for vlan tags but botched it B> > S> (didn't handle module references properly) so backed it. But there's no B> > S> reason someone cannot redo it or convert other heavily used fixed size tags B> > S> to use a zone. B> > B> > Have you saved your efforts? May I look at them? B> B> They are in the CVS history of sys/net/if_vlan.c. I see now, thanks. Question to Sam: have you performed any tests? Is this definitely true, that UMAllocing in special zone is faster than general malloc()? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE