Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755180AbbFRLs3 (ORCPT ); Thu, 18 Jun 2015 07:48:29 -0400 Received: from blu004-omc1s36.hotmail.com ([65.55.116.47]:55617 "EHLO BLU004-OMC1S36.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754732AbbFRLsN (ORCPT ); Thu, 18 Jun 2015 07:48:13 -0400 X-TMN: [OJBORI86u6qCeRZV4/ZMCQt0LqJVoH1J] X-Originating-Email: [wanpeng.li@hotmail.com] Message-ID: Subject: Re: [Resend PATCH v8 0/4] sched: Rewrite runnable load and utilization average tracking To: Yuyang Du 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> <20150617224601.GE1244@intel.com> 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 From: Wanpeng Li Date: Thu, 18 Jun 2015 19:48:00 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <20150617224601.GE1244@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jun 2015 11:48:11.0773 (UTC) FILETIME=[A73182D0:01D0A9BC] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1891 Lines: 63 On 6/18/15 6:46 AM, Yuyang Du wrote: > 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? Sorry, do you mean you pin dbench to CPU7? Regards, Wanpeng Li -- 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/