From owner-freebsd-performance@FreeBSD.ORG Sun Feb 3 23:20:44 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE81516A46B for ; Sun, 3 Feb 2008 23:20:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outO.internet-mail-service.net (outO.internet-mail-service.net [216.240.47.238]) by mx1.freebsd.org (Postfix) with ESMTP id B3A5E13C474 for ; Sun, 3 Feb 2008 23:20:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 03 Feb 2008 15:20:43 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 0F79D1270BD; Sun, 3 Feb 2008 15:20:43 -0800 (PST) Message-ID: <47A64C4A.5020002@elischer.org> Date: Sun, 03 Feb 2008 15:20:42 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= 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> <86ejbumejj.fsf@ds4.des.no> In-Reply-To: <86ejbumejj.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, Kris Kennaway , Robert Watson , Alexander Motin , freebsd-performance@freebsd.org Subject: Re: Memory allocation performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 23:20:45 -0000 Dag-Erling Smørgrav wrote: > Julian Elischer writes: >> Robert Watson 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 exactly.. FILO or LIFO (last in First out.)