From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754146Ab1GEIvY (ORCPT ); Tue, 5 Jul 2011 04:51:24 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:43392 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753804Ab1GEIvX (ORCPT ); Tue, 5 Jul 2011 04:51:23 -0400 Date: Tue, 5 Jul 2011 10:50:32 +0200 From: Ingo Molnar To: Hu Tao Cc: Hidetoshi Seto , Peter Zijlstra , Paul Turner , linux-kernel@vger.kernel.org, Bharata B Rao , Dhaval Giani , Balbir Singh , Vaidyanathan Srinivasan , Srivatsa Vaddagiri , Kamalesh Babulal , Pavel Emelyanov Subject: Re: [patch 00/16] CFS Bandwidth Control v7 Message-ID: <20110705085032.GA3169@elte.hu> References: <20110621071649.862846205@google.com> <4E01BE6B.2090701@jp.fujitsu.com> <1308830816.1022.112.camel@twins> <20110623124310.GA15430@elte.hu> <4E041C6A.4000701@jp.fujitsu.com> <20110626103526.GA11093@elte.hu> <20110629040521.GG4186@localhost.localdomain> <20110701122824.GE28008@elte.hu> <20110705035813.GC4656@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110705035813.GC4656@localhost.localdomain> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Hu Tao wrote: > perf diff output: > > # Baseline Delta Shared Object Symbol > # ........ .......... ................. ........................... > # > 0.00% +10.07% [kernel.kallsyms] [k] __lock_acquire > 0.00% +5.90% [kernel.kallsyms] [k] lock_release > 0.00% +4.86% [kernel.kallsyms] [k] trace_hardirqs_off_caller > 0.00% +4.06% [kernel.kallsyms] [k] debug_smp_processor_id > 0.00% +4.00% [kernel.kallsyms] [k] lock_acquire > 0.00% +3.81% [kernel.kallsyms] [k] lock_acquired > 0.00% +3.71% [kernel.kallsyms] [k] lock_is_held > 0.00% +3.04% [kernel.kallsyms] [k] validate_chain > 0.00% +2.68% [kernel.kallsyms] [k] check_chain_key > 0.00% +2.41% [kernel.kallsyms] [k] trace_hardirqs_off > 0.00% +2.01% [kernel.kallsyms] [k] trace_hardirqs_on_caller Oh, please measure with lockdep (CONFIG_PROVE_LOCKING) turned off. No production kernel has it enabled and it has quite some overhead (as visible in the profile), skewing results. > 2.04% -0.09% pipe-test-100k [.] main > 0.00% +1.79% [kernel.kallsyms] [k] add_preempt_count I'd also suggest to turn off CONFIG_PREEMPT_DEBUG. Thanks, Ingo