Date: Sun, 03 Feb 2008 13:04:48 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Julian Elischer <julian@elischer.org> Cc: freebsd-hackers@freebsd.org, Kris Kennaway <kris@FreeBSD.org>, Robert Watson <rwatson@FreeBSD.org>, Alexander Motin <mav@FreeBSD.org>, freebsd-performance@freebsd.org Subject: Re: Memory allocation performance Message-ID: <86ejbumejj.fsf@ds4.des.no> In-Reply-To: <47A55209.9040106@elischer.org> (Julian Elischer's message of "Sat\, 02 Feb 2008 21\:32\:57 -0800") References: <47A25412.3010301@FreeBSD.org> <47A25A0D.2080508@elischer.org> <47A2C2A2.5040109@FreeBSD.org> <20080201185435.X88034@fledge.watson.org> <47A43873.40801@FreeBSD.org> <20080202095658.R63379@fledge.watson.org> <47A4E934.1050207@FreeBSD.org> <47A4F1AF.9090306@FreeBSD.org> <20080202224923.T66602@fledge.watson.org> <47A55209.9040106@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@elischer.org> writes: > Robert Watson <rwatson@FreeBSD.org> writes: > > be a good time to try to revalidate that. Basically, the goal would > > be to make the pcpu cache FIFO as much as possible as that maximizes > > the chances that the newly allocated object already has lines in the > > cache. It's a fairly trivial tweak to the UMA allocation code. > you mean FILO or LIFO right? Uh, no. You want to reuse the last-freed object, as it is most likely to still be in cache. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ejbumejj.fsf>