Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752664AbbKFSaI (ORCPT ); Fri, 6 Nov 2015 13:30:08 -0500 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]:56390 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbbKFSaF convert rfc822-to-8bit (ORCPT ); Fri, 6 Nov 2015 13:30:05 -0500 Subject: Re: [RFC PATCH 0/3] CFS idle injection To: Peter Zijlstra , Jacob Pan References: <1446509428-5616-1-git-send-email-jacob.jun.pan@linux.intel.com> <20151104060654.GC8850@localhost.localdomain> <20151104085830.010e69f8@yairi> <20151105101218.GB3604@twins.programming.kicks-ass.net> Cc: Eduardo Valentin , Thomas Gleixner , LKML , Arjan van de Ven , Paul Turner , Len Brown , Srinivas Pandruvada , Tim Chen , Andi Kleen , Rafael Wysocki From: Dietmar Eggemann Message-ID: <563CF1A9.8030700@arm.com> Date: Fri, 6 Nov 2015 18:30:01 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151105101218.GB3604@twins.programming.kicks-ass.net> X-OriginalArrivalTime: 06 Nov 2015 18:30:02.0433 (UTC) FILETIME=[26830310:01D118C1] X-MC-Unique: _PhHB_cZS_GuT74d-r4Gog-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 32 On 05/11/15 10:12, Peter Zijlstra wrote: > > People, trim your emails! > > On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: > >>> I also like #2 too. Specially now that it is not limited to a specific >>> platform. One question though, could you still keep the cooling device >>> support of it? In some systems, it might make sense to enable / >>> disable idle injections based on temperature. > >> One of the key difference between 1 and 2 is that #2 is open loop >> control, since we don't have CPU c-states info baked into scheduler. > > _yet_, there's people working on that. The whole power aware scheduling > stuff needs that. Isn't the idle state information (rq->idle_state) already used in find_idlest_cpu()? What we use in energy aware scheduling is quite similar but since we're interested in the index information of the c-state (to access the right element of the idle_state vectors of the energy model, we added rq->idle_state_idx. [...] -- 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/