From: Keir Fraser Subject: Re: [PATCH] 1/2: cpufreq/PowerNow! in Xen: Time and platform changes Date: Fri, 31 Aug 2007 10:23:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" , Rik van Riel Cc: xen-devel@lists.xensource.com, Mark Langsdorf List-Id: xen-devel@lists.xenproject.org On 31/8/07 03:42, "Tian, Kevin" wrote: > d) I guess final power saving of cpufreq (either approach) is not obvious, > since average CPU utilization should be higher than native which is the > goal of virtualization. C-state may be more interesting. Yes! I would love to see some C-state support in Xen, both for normal idle-loop execution and, as further work, deeper sleeps for hot-unplugged CPUs (which can be under control of management/performance tools in dom0). In the now prevalent multi-core environments, I'll be surprised if it's not better to deep-sleep whole cores rather than run them all at continually varying half speeds. And, simultaneously with making C-states a viable power-saving model, I think multi-core makes it harder to decide what the 'right' per-cpu cpu frequency changes should be. -- Keir