Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753399AbXLXXiU (ORCPT ); Mon, 24 Dec 2007 18:38:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751855AbXLXXiH (ORCPT ); Mon, 24 Dec 2007 18:38:07 -0500 Received: from hera.kernel.org ([140.211.167.34]:60863 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbXLXXiG (ORCPT ); Mon, 24 Dec 2007 18:38:06 -0500 Date: Mon, 24 Dec 2007 18:37:01 -0500 From: Theodore Tso To: Christoph Lameter Cc: Andi Kleen , Willy Tarreau , Steven Rostedt , Linus Torvalds , Ingo Molnar , Peter Zijlstra , LKML , Andrew Morton , Christoph Hellwig , "Rafael J. Wysocki" Subject: Re: Major regression on hackbench with SLUB (more numbers) Message-ID: <20071224233701.GB9784@kernel.org> Mail-Followup-To: Theodore Tso , Christoph Lameter , Andi Kleen , Willy Tarreau , Steven Rostedt , Linus Torvalds , Ingo Molnar , Peter Zijlstra , LKML , Andrew Morton , Christoph Hellwig , "Rafael J. Wysocki" References: <20071222100326.GF26157@elte.hu> <20071222192550.GD28891@thunk.org> <20071222221050.GA20753@1wt.eu> <20071223051241.GA4449@1wt.eu> <20071223141500.GB6430@one.firstfloor.org> <20071224034530.GB16658@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 26 On Mon, Dec 24, 2007 at 11:21:14AM -0800, Christoph Lameter wrote: > > That is why there is a slabinfo tool that does all the nice formatting. > > Do a > > gcc -o slabinfo Documentation/vm/slabinfo.c > > Then run slabinfo instead of doing cat /proc/slabinfo So two questions: why isn't -f the default? And is /sys/slab guaranteed to be a stable and permanent interface if the SLAB implementation ever gets ripped out? If so, maybe this should go into util-linux-ng? I am aa bit concerned about the lack of atomicity of /sys/slab, but this is a heck of a lot better of many kernel drivers or subsystems which use /sys and the completely punt on any kind of userspace utility, forcing users to type crazy things like echo 5 > /sys/bus/pci/drivers/iwl4965/*/power_level - Ted -- 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/