Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755834AbZCDIc1 (ORCPT ); Wed, 4 Mar 2009 03:32:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753079AbZCDIcS (ORCPT ); Wed, 4 Mar 2009 03:32:18 -0500 Received: from mga10.intel.com ([192.55.52.92]:40233 "EHLO fmsmga102.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751286AbZCDIcS (ORCPT ); Wed, 4 Mar 2009 03:32:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,299,1233561600"; d="scan'208";a="436015506" Subject: Re: [RFC PATCH 00/19] Cleanup and optimise the page allocator V2 From: "Zhang, Yanmin" To: Peter Zijlstra Cc: Mel Gorman , Lin Ming , Pekka Enberg , Linux Memory Management List , Rik van Riel , KOSAKI Motohiro , Christoph Lameter , Johannes Weiner , Nick Piggin , Linux Kernel Mailing List , Ingo Molnar In-Reply-To: <1236151414.5330.6692.camel@laptop> References: <1235477835-14500-1-git-send-email-mel@csn.ul.ie> <1235639427.11390.11.camel@minggr> <20090226110336.GC32756@csn.ul.ie> <1235647139.16552.34.camel@penberg-laptop> <20090226112232.GE32756@csn.ul.ie> <1235724283.11610.212.camel@minggr> <20090302112122.GC21145@csn.ul.ie> <1236132307.2567.25.camel@ymzhang> <1236151414.5330.6692.camel@laptop> Content-Type: text/plain Date: Wed, 04 Mar 2009 16:31:51 +0800 Message-Id: <1236155511.2567.41.camel@ymzhang> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1378 Lines: 31 On Wed, 2009-03-04 at 08:23 +0100, Peter Zijlstra wrote: > On Wed, 2009-03-04 at 10:05 +0800, Zhang, Yanmin wrote: > > FAIR_GROUP_SCHED is a feature to support configurable cpu weight for different users. > > We did find it takes lots of time to check/update the share weight which might create > > lots of cache ping-pang. With sysbench(oltp)+mysql, that becomes more severe because > > mysql runs as user mysql and sysbench runs as another regular user. When starting > > the testing with 1 thread in command line, there are 2 mysql threads and 1 sysbench > > thread are proactive. > > cgroup based group scheduling doesn't bother with users. So unless you > create sched-cgroups your should all be in the same (root) group. I disable CGROUP, but enable GROUP_SCHED and USER_SCHED. My config inherits from old config files. CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y # CONFIG_RT_GROUP_SCHED is not set CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set I check defconfig on x86-64 of 2.6.28 and it does enable CGROUP and disable USER_SCHED. Perhaps I need change my latest config file to the default on sched options. -- 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/