From owner-freebsd-arch Sun Feb 9 0:53:24 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28F8A37B401 for ; Sun, 9 Feb 2003 00:53:23 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1D4743F93 for ; Sun, 9 Feb 2003 00:53:22 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 9D7B3AE28A; Sun, 9 Feb 2003 00:53:17 -0800 (PST) Date: Sun, 9 Feb 2003 00:53:17 -0800 From: Alfred Perlstein To: phk@phk.freebsd.dk Cc: Peter Wemm , Jake Burkholder , Jeff Roberson , arch@FreeBSD.ORG Subject: Re: New kernel allocation API Message-ID: <20030209085317.GP88781@elvis.mu.org> References: <20030209075706.GO88781@elvis.mu.org> <25686.1044779463@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25686.1044779463@critter.freebsd.dk> User-Agent: Mutt/1.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * phk@phk.freebsd.dk [030209 00:31] wrote: > In message <20030209075706.GO88781@elvis.mu.org>, Alfred Perlstein writes: > > >I may see if I can convert some paths in the kernel to use zones. :) > > I have a number of places where zones can be used instead of malloc, > but since none of the places I have tried previously have resulted > in measurable performance differences it has not been high on my > agenda. Well, once converted to zones they could also be modded to take advantage of the init/fini processing which _should_ make things faster. Also don't forget even if you don't see a perf improvement you'll see siginifigant space savings if your size is not a power of two or multiple of page size. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message