Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933380Ab0KORwM (ORCPT ); Mon, 15 Nov 2010 12:52:12 -0500 Received: from casper.infradead.org ([85.118.1.10]:53765 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933157Ab0KORwK convert rfc822-to-8bit (ORCPT ); Mon, 15 Nov 2010 12:52:10 -0500 Subject: Re: [RFC][PATCH v2 5/7] taskstats: Improve cumulative CPU time accounting From: Peter Zijlstra To: Martin Schwidefsky Cc: Oleg Nesterov , Michael Holzheu , Shailabh Nagar , Andrew Morton , Venkatesh Pallipadi , Suresh Siddha , Ingo Molnar , John stultz , Thomas Gleixner , Balbir Singh , Heiko Carstens , Roland McGrath , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org In-Reply-To: <20101115184910.549a828b@mschwide.boeblingen.de.ibm.com> References: <20101111170352.732381138@linux.vnet.ibm.com> <20101111170815.404670062@linux.vnet.ibm.com> <20101113183810.GA9021@redhat.com> <20101115165521.21baac60@mschwide.boeblingen.de.ibm.com> <1289837036.2109.501.camel@laptop> <20101115184910.549a828b@mschwide.boeblingen.de.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Mon, 15 Nov 2010 18:51:57 +0100 Message-ID: <1289843517.2109.521.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 691 Lines: 15 On Mon, 2010-11-15 at 18:49 +0100, Martin Schwidefsky wrote: > > To what purpose? > > Is that a trick question? Why do we have tools like "top"? Or process > accounting? The point is that the quality of the numbers we get right > now is rather bad, the overhead of scanning /proc is horrendous and > the 10ms granularity is rather coarse. But you're not just replacing top, you're adding all kinds of new accounting crap all over the place. -- 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/