Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752656AbbFRGii (ORCPT ); Thu, 18 Jun 2015 02:38:38 -0400 Received: from mga03.intel.com ([134.134.136.65]:37331 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752597AbbFRGib (ORCPT ); Thu, 18 Jun 2015 02:38:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,638,1427785200"; d="scan'208";a="590057511" Date: Thu, 18 Jun 2015 06:46:01 +0800 From: Yuyang Du To: Wanpeng Li Cc: Boqun Feng , mingo@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, pjt@google.com, bsegall@google.com, morten.rasmussen@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, len.brown@intel.com, rafael.j.wysocki@intel.com, fengguang.wu@intel.com, srikar@linux.vnet.ibm.com Subject: Re: [Resend PATCH v8 0/4] sched: Rewrite runnable load and utilization average tracking Message-ID: <20150617224601.GE1244@intel.com> References: <1434396367-27979-1-git-send-email-yuyang.du@intel.com> <20150617030650.GB5695@fixme-laptop.cn.ibm.com> <20150617051501.GA7154@fixme-laptop.cn.ibm.com> <20150617031101.GC1244@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 1754 Lines: 56 On Thu, Jun 18, 2015 at 02:31:00PM +0800, Wanpeng Li wrote: > > On 6/17/15 11:11 AM, Yuyang Du wrote: > >Hi, > > > >The sched_debug is informative, lets first give it some analysis. > > > >The workload is 12 CPU hogging tasks (always runnable) and 1 dbench > >task doing fs ops (70% runnable) running at the same time. > > > >Actually, these 13 tasks are in a task group /autogroup-9617, which > >has weight 1024. > > > >So the 13 tasks at most can contribute to an average of 79 (=1024/13) > >to the group entity's load_avg: > > > >cfs_rq[0]:/autogroup-9617 > >.se->load.weight : 2 > >.se->avg.load_avg : 0 > > > >cfs_rq[1]:/autogroup-9617 > >.se->load.weight : 80 > >.se->avg.load_avg : 79 > > > >cfs_rq[2]:/autogroup-9617 > >.se->load.weight : 79 > >.se->avg.load_avg : 78 > > > >cfs_rq[3]:/autogroup-9617 > >.se->load.weight : 80 > >.se->avg.load_avg : 81 > > > >cfs_rq[4]:/autogroup-9617 > >.se->load.weight : 80 > >.se->avg.load_avg : 79 > > > >cfs_rq[5]:/autogroup-9617 > >.se->load.weight : 79 > >.se->avg.load_avg : 77 > > > >cfs_rq[6]:/autogroup-9617 > >.se->load.weight : 159 > >.se->avg.load_avg : 156 > > > >cfs_rq[7]:/autogroup-9617 > >.se->load.weight : 64 (dbench) > >.se->avg.load_avg : 50 > > How you figure out this one is dbench? > dbench is on CPU7 and running there? -- 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/