Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753822Ab3EFKA4 (ORCPT ); Mon, 6 May 2013 06:00:56 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:35153 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753664Ab3EFKAy (ORCPT ); Mon, 6 May 2013 06:00:54 -0400 MIME-Version: 1.0 In-Reply-To: <51877970.8010303@intel.com> References: <1367804711-30308-1-git-send-email-alex.shi@intel.com> <1367804711-30308-8-git-send-email-alex.shi@intel.com> <518724D1.9040006@linux.vnet.ibm.com> <51874229.8050202@intel.com> <5187609C.5050209@linux.vnet.ibm.com> <518763B0.30200@intel.com> <51876AFE.80906@linux.vnet.ibm.com> <51877970.8010303@intel.com> From: Paul Turner Date: Mon, 6 May 2013 03:00:23 -0700 Message-ID: Subject: Re: [PATCH v5 7/7] sched: consider runnable load average in effective_load To: Alex Shi Cc: Michael Wang , Ingo Molnar , Peter Zijlstra , 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 33 On Mon, May 6, 2013 at 2:35 AM, Alex Shi wrote: > On 05/06/2013 05:06 PM, Paul Turner wrote: >> I don't think this is a good idea: >> >> The problem with not using the instantaneous weight here is that you >> potentially penalize the latency of interactive tasks (similarly, >> potentially important background threads -- e.g. garbage collection). >> >> Counter-intuitively we actually want such tasks on the least loaded >> cpus to minimize their latency. If the load they contribute ever >> becomes more substantial we trust that periodic balance will start >> taking notice of them. > > Sounds reasonable. Many thanks for your input, Paul! > > So, will use the seconds try. :) Sorry -- not sure what you mean here. I'm suggesting leaving effective_load() unchanged. >> >> [ This is similar to why we have to use the instantaneous weight in >> calc_cfs_shares. ] >> > > > -- > Thanks > Alex -- 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/