From owner-freebsd-arch Sun Feb 9 6:17:53 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 8136837B40D for ; Sun, 9 Feb 2003 06:17:51 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9226343FE1 for ; Sun, 9 Feb 2003 06:17:48 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h19EHcOm030316; Sun, 9 Feb 2003 09:17:38 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h19EHcD5030315; Sun, 9 Feb 2003 09:17:38 -0500 (EST) (envelope-from hiten) Date: Sun, 9 Feb 2003 09:17:38 -0500 From: Hiten Pandya To: Jeff Roberson Cc: arch@FreeBSD.ORG Subject: Re: New kernel allocation API Message-ID: <20030209141738.GA29856@unixdaemons.com> References: <25848.1044781098@critter.freebsd.dk> <20030209063342.W77658-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030209063342.W77658-100000@mail.chesapeake.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index 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 On Sun, Feb 09, 2003 at 06:35:05AM -0500, Jeff Roberson wrote the words in effect of: > On Sun, 9 Feb 2003 phk@phk.freebsd.dk wrote: > > > In message <20030209085317.GP88781@elvis.mu.org>, Alfred Perlstein writes: > > >* 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. > > > > I'm aware of all this, but I guess most of the objects I deal with > > don't really have enough trafic to come out measurable, probably > > because they don't contain mutexes. > > > > I did pipes once when I originally did UMA. The perf was measurable. It > had carefully crafted init/fini ctor/dtor though. Also, creds could > possibly benefit. > > UMA mbufs would rule too. :-) [ CC list trimmed ] Would it help with filesystems? -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message