WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: AW: [Xen-devel] How to use Px/Cx for power saving?

To: 'Carsten Schiers' <carsten@xxxxxxxxxx>, 'Akio Takebe' <takebe_akio@xxxxxxxxxxxxxx>
Subject: RE: AW: [Xen-devel] How to use Px/Cx for power saving?
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 15 Jan 2009 20:02:35 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>
Delivery-date: Thu, 15 Jan 2009 04:03:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <14459885.61232016814381.JavaMail.root@uhura>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <14459885.61232016814381.JavaMail.root@uhura>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl2/5KZMEGh1/XSThiDoBwrs+g/RgACIhnQ
Thread-topic: AW: [Xen-devel] How to use Px/Cx for power saving?
>From: Carsten Schiers [mailto:carsten@xxxxxxxxxx] 
>Sent: Thursday, January 15, 2009 6:54 PM
>
>Kevin, did I understand you right, that I have to tare care when using
>cpufreq=dom-kernel to pin vcpus to physical cpus? I didn't do anythinh
>specific, but xm vcpu-list says:
>
>> Name                                ID  VCPU   CPU State   
>Time(s) CPU Affinity
>> Domain-0                             0     0     0   r--     303.0 0
>> Domain-0                             0     1     1   -b-     225.2 1
>
>which looks ok. What would be the implication, if there is a 
>fault? Could
>this be the reason for my TSC drifts mentioned elsewhere here 
>on the list?

It's implicitly enforced within Xen once you have dom0-kernel to
control cpufreq.

>
>Also, is acpi_cpufreq an alternative to e.g. powernow-k8 or 
>speedstep-centrino? 

acpi_cpufreq is a more generic driver as long as corresponding
ACPI tables are reported, which is the default one now in native
Linux kernel. If underlying BIOS doesn't conform to ACPI spec,
then you need try specific cpufreq driver like speedstep-centrino
then.

although xen controls cpufreq itself now, xen still depends on
dom0's ACPI parser to retrieve necessary Px information. That's
why I said that xen controlled cpufreq should work if you could
use acpi_cpufreq driver on native Linux which indicates a ACPI
compliant system.

>Whereas powernow-k8 works on my system, acpi_cpufreq is 
>reporting a FATAL: 
>No such device. It's a quite new board, so I am not sure, 
>whether this means the 
>BIOS doesn't support it (my asumption is, acpi_cpufreq uses 
>the BIOS instead of 
>a CPU-based driver, like powernow-k8).

I don't know AMD platform. But on most Intel platforms 
acpi_cpufreq should work well on native and so does Xen side.

Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>