Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935858Ab3DKPGo (ORCPT ); Thu, 11 Apr 2013 11:06:44 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:54905 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379Ab3DKPGn (ORCPT ); Thu, 11 Apr 2013 11:06:43 -0400 Date: Thu, 11 Apr 2013 17:06:39 +0200 From: Frederic Weisbecker To: Stanislaw Gruszka Cc: Ingo Molnar , Peter Zijlstra , hpa@zytor.com, rostedt@goodmis.org, akpm@linux-foundation.org, tglx@linutronix.de, Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [RFC 4/4] cputime: remove scaling Message-ID: <20130411150637.GB15699@somewhere> References: <1364489605-5443-1-git-send-email-sgruszka@redhat.com> <1364489605-5443-5-git-send-email-sgruszka@redhat.com> <20130410120228.GC8083@gmail.com> <20130411083634.GB1380@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130411083634.GB1380@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 17 On Thu, Apr 11, 2013 at 10:36:35AM +0200, Stanislaw Gruszka wrote: > > I really prefer robust kernel side accounting/instrumentation. > > We have CONFIG_IRQ_TIME_ACCOUNTING and CONFIG_VIRT_CPU_ACCOUNTING_GEN. > Perhaps we can change to use one of those options by default. I wonder > if the additional performance cost related with them is really something > that we should care about. Are there any measurement that show those > will make performance worse ? CONFIG_IRQ_TIME_ACCOUNTING also make use of scaling. And CONFIG_VIRT_CPU_ACCOUNTING_GEN involves too much overhead on IO-bound workloads. It's mostly good for undisturbed userspace bound workloads (few IRQs, few exceptions, few syscalls). -- 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/