Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbbKIVYD (ORCPT ); Mon, 9 Nov 2015 16:24:03 -0500 Received: from mga14.intel.com ([192.55.52.115]:59080 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751521AbbKIVYA (ORCPT ); Mon, 9 Nov 2015 16:24:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,267,1444719600"; d="scan'208";a="846431597" Date: Mon, 9 Nov 2015 13:23:04 -0800 From: Jacob Pan To: Dietmar Eggemann Cc: Peter Zijlstra , Eduardo Valentin , Thomas Gleixner , LKML , Arjan van de Ven , Paul Turner , Len Brown , Srinivas Pandruvada , Tim Chen , Andi Kleen , Rafael Wysocki , jacob.jun.pan@linux.intel.com Subject: Re: [RFC PATCH 0/3] CFS idle injection Message-ID: <20151109132304.6a8113dd@icelake> In-Reply-To: <563D21E5.4050408@arm.com> 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> <563CF1A9.8030700@arm.com> <20151106111030.6cc5a032@icelake> <563D21E5.4050408@arm.com> Organization: OTC X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1225 Lines: 24 On Fri, 6 Nov 2015 21:55:49 +0000 Dietmar Eggemann wrote: > > what i am interested is not per cpu idle state but rather at the > > package level or domain. It must be an indication for the > > overlapped idle time. Usually has to come from HW counters. > > I see. We have a similar problem with the Energy Model (EM) on > cluster level (sched domain level DIE). We iterate over the cpus of a > sched group and declare the shallowest cpu idle state as the cluster > idle state to index our EM. On a typical ARM system we have (active, > WFI, cpu-off and cluster-off). But I guess for you the idle state > index is only for core idle states and you can't draw any conclusions > from this for the package idle states. what is WFI? For Intel, idle states are hints to the HW. The FW decides how far the idle can go based on many factors, device states included, some are visible to the OS some are not. We just to help mature such deep idle conditions. -- 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/