From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191Ab0IMOVn (ORCPT ); Mon, 13 Sep 2010 10:21:43 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:45494 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607Ab0IMOVl (ORCPT ); Mon, 13 Sep 2010 10:21:41 -0400 Date: Mon, 13 Sep 2010 16:21:23 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: Steven Rostedt , Mike Galbraith , Linus Torvalds , Mathieu Desnoyers , LKML , Andrew Morton , Thomas Gleixner , Tony Lindgren Subject: Re: [RFC patch 1/2] sched: dynamically adapt granularity with nr_running Message-ID: <20100913142123.GA5056@elte.hu> References: <1284231470.2251.52.camel@laptop> <1284237380.2251.56.camel@laptop> <1284282392.2251.81.camel@laptop> <1284352547.7321.51.camel@marge.simson.net> <1284367295.2275.31.camel@laptop> <1284385967.17152.13.camel@gandalf.stny.rr.com> <1284386079.2275.290.camel@laptop> <1284386531.2275.297.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1284386531.2275.297.camel@laptop> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: 0.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.5 required=5.9 tests=BAYES_40 autolearn=no SpamAssassin version=3.2.5 0.5 BAYES_40 BODY: Bayesian spam probability is 20 to 40% [score: 0.2762] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > IIRC kbuild likes the child to be late, it allows make to spawn more > kids and it'll got sleep on completion once it done anyway. Yes - and this is especially true on "make -j" types of borderline workloads - the scheduling policy with the highest effective parallelism wins. Thanks, Ingo