Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495Ab3EFJfx (ORCPT ); Mon, 6 May 2013 05:35:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:59042 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752910Ab3EFJfw (ORCPT ); Mon, 6 May 2013 05:35:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,620,1363158000"; d="scan'208";a="333118613" Message-ID: <51877970.8010303@intel.com> Date: Mon, 06 May 2013 17:35:44 +0800 From: Alex Shi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Paul Turner 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 Subject: Re: [PATCH v5 7/7] sched: consider runnable load average in effective_load 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 981 Lines: 29 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. :) > > [ 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/