Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2008 01:12:46 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org, Kris Kennaway <kris@FreeBSD.org>, freebsd-performance@freebsd.org, Julian Elischer <julian@elischer.org>
Subject:   Re: Memory allocation performance
Message-ID:  <47A4F8EE.3070202@FreeBSD.org>
In-Reply-To: <20080202224923.T66602@fledge.watson.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> 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.  

Why FIFO? I think LIFO (stack) should be better for this goal as the 
last freed object has more chances to be still present in cache.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A4F8EE.3070202>