Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757435Ab3EGLV2 (ORCPT ); Tue, 7 May 2013 07:21:28 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:48961 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754068Ab3EGLV1 (ORCPT ); Tue, 7 May 2013 07:21:27 -0400 MIME-Version: 1.0 In-Reply-To: <5188DFEF.6010403@intel.com> 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> <51886460.3020009@intel.com> <20130507095715.GE4068@e103034-lin> <5188DFEF.6010403@intel.com> From: Paul Turner Date: Tue, 7 May 2013 04:20:55 -0700 Message-ID: Subject: Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task To: Alex Shi Cc: Morten Rasmussen , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Andrew Morton , Borislav Petkov , Namhyung Kim , Mike Galbraith , Vincent Guittot , Preeti U Murthy , Viresh Kumar , LKML , Mel Gorman , Rik van Riel , Michael Wang 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: 958 Lines: 25 Yes, 1024 was only intended as a starting point. We could also arbitrarily pick something larger, the key is that we pick _something_. If we wanted to be more exacting about it we could just give them a sched_slice() worth; this would have a few obvious "nice" properties (pun intended). On Tue, May 7, 2013 at 4:05 AM, Alex Shi wrote: > On 05/07/2013 05:57 PM, Morten Rasmussen wrote: >> Agree. The tracked load of new tasks is often very unstable during first >> couple of ms on loaded systems. I'm not sure if 1024 is the right >> initial value. It may need to be larger. > > Maybe Peter can give a better value according to the experience on > scheduler. :) > > -- > 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/