From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261545AbVHARNu (ORCPT ); Mon, 1 Aug 2005 13:13:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261459AbVHARNt (ORCPT ); Mon, 1 Aug 2005 13:13:49 -0400 Received: from fmr24.intel.com ([143.183.121.16]:8386 "EHLO scsfmr004.sc.intel.com") by vger.kernel.org with ESMTP id S261685AbVHARNn (ORCPT ); Mon, 1 Aug 2005 13:13:43 -0400 Date: Mon, 1 Aug 2005 10:13:18 -0700 From: "Siddha, Suresh B" To: Nick Piggin Cc: Ingo Molnar , "Chen, Kenneth W" , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, Andrew Morton , John Hawkes , "Martin J. Bligh" , Paul Jackson Subject: Re: [sched, patch] better wake-balancing, #3 Message-ID: <20050801101318.A11610@unix-os.sc.intel.com> References: <42E98DEA.9090606@yahoo.com.au> <200507290627.j6T6Rrg06842@unix-os.sc.intel.com> <20050729114822.GA25249@elte.hu> <20050729141311.GA4154@elte.hu> <20050729150207.GA6332@elte.hu> <20050729162108.GA10243@elte.hu> <42EAC504.3000300@yahoo.com.au> <20050730071917.GA31822@elte.hu> <42EC2624.7030509@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <42EC2624.7030509@yahoo.com.au>; from nickpiggin@yahoo.com.au on Sun, Jul 31, 2005 at 11:15:16AM +1000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 31, 2005 at 11:15:16AM +1000, Nick Piggin wrote: > Ingo Molnar wrote: > > especially on NUMA, if the migration-target CPU (this_cpu) is not at > > least partially idle, i'd be quite uneasy to passive balance from > > another node. I suspect this needs numbers from Martin and John? > > Passive balancing cuts in only when an imbalance is becoming apparent. > If the queue gets more imbalanced, periodic balancing will cut in, > and that is much worse than wake balancing. Another point to note about the current wake balance. Imbalance calculation is not taking the complete load of the sched group into account. I think there might be scenario's where the current wake balance will actually result in some imbalances corrected later by periodic balancing. thanks, suresh