From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754570AbYIHSA4 (ORCPT ); Mon, 8 Sep 2008 14:00:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753081AbYIHSAs (ORCPT ); Mon, 8 Sep 2008 14:00:48 -0400 Received: from casper.infradead.org ([85.118.1.10]:52391 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbYIHSAs (ORCPT ); Mon, 8 Sep 2008 14:00:48 -0400 Subject: Re: 2.6.27-rc5 OLTP performance regression From: Peter Zijlstra To: "Ma, Chinang" Cc: Ingo Molnar , Srivatsa Vaddagiri , Mike Galbraith , Gregory Haskins , Steven Rostedt , Nick Piggin , "Siddha, Suresh B" , "Wilcox, Matthew R" , "Tripathi, Sharad C" , "Chilukuri, Harita" , "linux-kernel@vger.kernel.org" In-Reply-To: References: Content-Type: text/plain Date: Mon, 08 Sep 2008 20:00:33 +0200 Message-Id: <1220896833.18239.141.camel@twins.programming.kicks-ass.net> Mime-Version: 1.0 X-Mailer: Evolution 2.23.91 (2.23.91-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2008-09-08 at 10:58 -0700, Ma, Chinang wrote: > We found the group scheduler in 2.6.27-rc5 has negative performance > impact on TPC Online Transaction Processing workload. The test was > conducted on a dual-socket quad-core Xeon server. OLTP workload is > disk i/o intensive and we have over 200 database shadow processes > running in the server during this test. Enabling group scheduler > (CONFIG_GROUP_SCHED=y) reduced performance by 2.0%. Oprofile data > indicates significant amount of cycles are spent in tg_shares_up(). > This is new regression as we did not find the same issue with 2.6.26 > kernel group scheduler. Is anybody looking into group scheduler > performance and any idea for reducing the performance impact? Because the .26 group scheduler wasn't SMP aware. The extra cost comes from the fact that .27 is.