Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755956Ab3FQNj7 (ORCPT ); Mon, 17 Jun 2013 09:39:59 -0400 Received: from merlin.infradead.org ([205.233.59.134]:44096 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755879Ab3FQNj5 (ORCPT ); Mon, 17 Jun 2013 09:39:57 -0400 Date: Mon, 17 Jun 2013 15:39:34 +0200 From: Peter Zijlstra To: Paul Turner Cc: Alex Shi , Ingo Molnar , Thomas Gleixner , Andrew Morton , Borislav Petkov , Namhyung Kim , Mike Galbraith , Morten Rasmussen , Vincent Guittot , Preeti U Murthy , Viresh Kumar , LKML , Mel Gorman , Rik van Riel , Michael Wang , Jason Low , Changlong Xie , sgruszka@redhat.com, =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker Subject: Re: [patch v8 6/9] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task Message-ID: <20130617133934.GX3204@twins.programming.kicks-ass.net> References: <1370589652-24549-1-git-send-email-alex.shi@intel.com> <1370589652-24549-7-git-send-email-alex.shi@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 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 33 On Mon, Jun 17, 2013 at 05:17:17AM -0700, Paul Turner wrote: > On Mon, Jun 17, 2013 at 3:51 AM, Paul Turner wrote: > > On Fri, Jun 7, 2013 at 12:20 AM, Alex Shi wrote: > >> They are the base values in load balance, update them with rq runnable > >> load average, then the load balance will consider runnable load avg > >> naturally. > >> > >> We also try to include the blocked_load_avg as cpu load in balancing, > >> but that cause kbuild performance drop 6% on every Intel machine, and > >> aim7/oltp drop on some of 4 CPU sockets machines. > >> > > > > This looks fine. > > > > Did you try including blocked_load_avg in only get_rq_runnable_load() > > [ and not weighted_cpuload() which is called by new-idle ]? > > Looking at this more this feels less correct since you're taking > averages of averages. > > This was previously discussed at: > https://lkml.org/lkml/2013/5/6/109 > > And you later replied suggesting this didn't seem to hurt; what's the > current status there? Wasn't there a follow up series (currently as RFC or so) that proposes to removes the entire *_idx stuff? -- 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/