Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753745AbbHMSYP (ORCPT ); Thu, 13 Aug 2015 14:24:15 -0400 Received: from casper.infradead.org ([85.118.1.10]:59460 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752637AbbHMSYN (ORCPT ); Thu, 13 Aug 2015 14:24:13 -0400 Date: Thu, 13 Aug 2015 20:24:09 +0200 From: Peter Zijlstra To: Morten Rasmussen Cc: mingo@redhat.com, vincent.guittot@linaro.org, daniel.lezcano@linaro.org, Dietmar Eggemann , yuyang.du@intel.com, mturquette@baylibre.com, rjw@rjwysocki.net, Juri Lelli , sgurrappadi@nvidia.com, pang.xunlei@zte.com.cn, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [RFCv5 PATCH 30/46] sched: Add cpu capacity awareness to wakeup balancing Message-ID: <20150813182409.GB19282@twins.programming.kicks-ass.net> References: <1436293469-25707-1-git-send-email-morten.rasmussen@arm.com> <1436293469-25707-31-git-send-email-morten.rasmussen@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436293469-25707-31-git-send-email-morten.rasmussen@arm.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 19 On Tue, Jul 07, 2015 at 07:24:13PM +0100, Morten Rasmussen wrote: > > This patch adds capacity awareness to find_idlest_{group,queue} (used by > SD_BALANCE_{FORK,EXEC}) such that groups/cpus that can accommodate the > waking task based on task utilization are preferred. In addition, wakeup > of existing tasks (SD_BALANCE_WAKE) is sent through > find_idlest_{group,queue} if the task doesn't fit the capacity of the > previous cpu to allow it to escape (override wake_affine) when > necessary instead of relying on periodic/idle/nohz_idle balance to > eventually sort it out. > That's policy not guided by the energy model.. Also we need something clever for the wakeup balancing, the current stuff all stinks :/ -- 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/