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-users

Re: [Xen-users] cpu frequency scaling in domUs

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] cpu frequency scaling in domUs
From: "Vahid Kazempour" <kazempour@xxxxxxxxx>
Date: Mon, 28 Jul 2008 13:38:19 -0700
Cc:
Delivery-date: Mon, 28 Jul 2008 13:38:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=LW/XjKSLZSh9fKU1RHmNmh++3O8ir8R2pPgEqbaKkqQ=; b=exiy42erXaIQJ+hKO0Qkc/4QmveXoiVsZ0kbUeGNW2Duutndk94GEPrZHMDqOymiP3 hSTk3b7qOCMwG3ER4Uqsr9HlIsIpRSTUoi2Y2/E5ewtmMx4KBfqeun84mVIPlDkRCBmu 61Yuyniv8DfmNcycbXLL+tiHARHlSjRH/fJEk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=A9egSB/4HreCI9yKbGwUfx8IZQ1C547a0UuMw/4Yix2Q3KXXlTtux5VCmVHFlIMlTG OylIWZYkVP+FbUiQUVMGBdJU4e0wnJHcCHEYs78XYN7/aMVgIvTfM91NwJxTP3OX88Gg fDU17pVUsoXkvT1topVc7O4tyeKuhgw19EGhI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F024D9601@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <ea8100590807241741g69d5fe7k36cc3638362c3ca1@xxxxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F024D95F3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <ea8100590807261312v645c7a5do1fff622a6d2d69b2@xxxxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F024D9601@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Yeah, I think it is doable with a tiny driver.
Thanks for your email.

--
Vahid,

On Sun, Jul 27, 2008 at 6:43 PM, Tian, Kevin <kevin.tian@xxxxxxxxx> wrote:
Do you want to add this feature to upstream as a clean feature, or
only target for some in-house experiment? If the latter, I don't think
that fake ACPI table is necessary, which involves more effort.
Actually you can just write a tiny cpufreq driver in domU, which
simply uses hypercall to communicate with HV directly and is
simply straightforward.
 
Thanks,
Kevin


From: Vahid Kazempour [mailto:kazempour@xxxxxxxxx]
Sent: 2008年7月27日 4:13
To: Tian, Kevin
Subject: Re: [Xen-users] cpu frequency scaling in domUs


Is it possible to fake ACPI table in PV domain too?
I'm going to use it as a scheduler hint. So, I need it to work in domUs (both PV and HVM domains).
Is it possible to create a frontend driver which provides this feature in domUs?

Thanks
 --
Vahid

2008/7/24 Tian, Kevin <kevin.tian@xxxxxxxxx>
If domU means PV domain in your mail, there's even no ACPI table exposed
to PV domain. HVM domain has one faked by Qemu. Also the value to expose
a virtual cpufreq feature is still unclear. Some papers discuss usage as
scheduler hint or help real power, but none gets into real product yet.
 
Thanks
Kevin


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Vahid Kazempour
Sent: 2008年7月25日 8:42
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] cpu frequency scaling in domUs

Hi,

I've recently installed xen-3.2.1 on my AMD Sempron(tm) machine.
It runs gentoo 2.6.21 as dom0 and cpu frequency scaling works in dom0.
But inside a domU, cpu frequency scaling is not working.
By checking the boot log in domU I found that domU is unable to load the powernow driver:
"powernow-k8: BIOS error - no PSB or ACPI _PSS objects"
I wonder if it is possible to have cpu frequency scaling support inside domUs?

--
Vahid

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>