Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754616Ab3EFP0Q (ORCPT ); Mon, 6 May 2013 11:26:16 -0400 Received: from mga02.intel.com ([134.134.136.20]:48205 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753874Ab3EFP0P (ORCPT ); Mon, 6 May 2013 11:26:15 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,622,1363158000"; d="scan'208";a="332583190" Message-ID: <5187CB8E.6090303@intel.com> Date: Mon, 06 May 2013 23:26:06 +0800 From: Alex Shi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Paul Turner CC: 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 , Michael Wang Subject: Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task References: <1367804711-30308-1-git-send-email-alex.shi@intel.com> <1367804711-30308-4-git-send-email-alex.shi@intel.com> <5187760D.8060900@intel.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: 1144 Lines: 29 On 05/06/2013 06:22 PM, Paul Turner wrote: >>> >> This is missing a scale_load() right? Further: Why not put this in >>> >> __sched_fork? >> > >> > scale_load is not working now. Anyway I can add this. > I believe someone tracked down a plausible cause for this: > A governor was examining the values and making a mess with the scaled > ones. I'm sorry, I don't have the post off hand. > > You actually likely ideally want this _on_ for these patches; the > available resolution with SCHED_LOAD_SHIFT=10 disappears really > quickly and scaling by runnable_avg only further accelerates that. Sorry for can not follow you. Do you mean the scaling by runnable_avg is better than scale_load? In fact, after think twice of scale_load, guess better to figure out a good usage for it before enabling blindly. > We should try to get this generally turned on by default again. >> > -- 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/