Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758472AbXIFUiU (ORCPT ); Thu, 6 Sep 2007 16:38:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755478AbXIFUiI (ORCPT ); Thu, 6 Sep 2007 16:38:08 -0400 Received: from lazybastard.de ([212.112.238.170]:43547 "EHLO longford.lazybastard.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756597AbXIFUiH (ORCPT ); Thu, 6 Sep 2007 16:38:07 -0400 Date: Thu, 6 Sep 2007 22:34:12 +0200 From: =?utf-8?B?SsO2cm4=?= Engel To: Christoph Lameter Cc: Andy Whitcroft , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , Mel Gorman , David Chinner Subject: Re: [RFC 00/26] Slab defragmentation V5 Message-ID: <20070906203412.GB27657@lazybastard.org> References: <20070901014107.719506437@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070901014107.719506437@sgi.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1505 Lines: 32 On Fri, 31 August 2007 18:41:07 -0700, Christoph Lameter wrote: > > The trouble with this patchset is that it is difficult to validate. > Activities are only performed when special load situations are encountered. > Are there any tests that could give meaningful information about > the effectiveness of these measures? I have run various tests here > creating and deleting files and building kernels under low memory situations > to trigger these reclaim mechanisms but how does one measure their > effectiveness? One could play with updatedb followed by a memhog. How much time passes and how many slab objects have to be freed before the memhog has allocated N% of physical memory? Both numbers are relevant. The first indicates how quickly pages are reclaimed from slab caches, while the second show how many objects remain cached for future lookups. Updatedb aside, caching objects is done for solid performance reasons. Creating a qemu image with little memory and a huge directory hierarchy filled with 0-byte files may be a nice test system. Unless you beat me to it I'll try to set it up once logfs is in merge-worthy shape. Jörn -- A quarrel is quickly settled when deserted by one party; there is no battle unless there be two. -- Seneca - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/