[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] xen 3.3.0 cpufreq usage


  • To: <lagneau@xxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Tue, 9 Sep 2008 13:36:22 +0800
  • Cc:
  • Delivery-date: Mon, 08 Sep 2008 22:37:07 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AckRlcNXfvCFHbckSCqmr2xRMhVDPwApn6Bw
  • Thread-topic: [Xen-users] xen 3.3.0 cpufreq usage

cpufreq=xen is enough to activate cpufreq support on Intel processors with EIST feature. However you can't retrieve run-time information by existing dom0 sysfs interface, as dom0 is also virtualized and there's no direct relationship between dom0's vcpus and underlying physical cpus. By far hypercall interface is created for such purpose (tools/libxc/xc_pm.c) and you then can write a small utility to use it. :-)
 
Thanks,
Kevin


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of lagneau@xxxxxxxxxxx
Sent: 2008年9月8日 16:58
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen 3.3.0 cpufreq usage

Hi,

I want to use cpufreq feature provided by xen 3.3.0 with PV domUs.

My system is a Dell PE1950 with Intel(R) Xeon(R) CPU E5345 with power on demand activated in bios.

I use hypervisor and dom0 kernel from xen-3.3.0.tar.gz compilated with make world.

With cpufreq=xen option in grub kernel line i've this xm dmesg output :
(XEN) xen_pminfo: @acpi_cpufreq_cpu_init,HARDWARE addr space

but cat /proc/cpuinfo  doesn't  show lower CPU MHz and stepping is always at his maximum.

I don't know how to use cpufreq=dom0_kernel  because with xen 3.3.0 i can't compile my own dom0 kernel with cpufreq support:
In menuconfig if i select Privileged Guest (domain 0)  then Cpu frequency scaling is disabled in Power maangement support.

in anyway i can't acces through /sys/devices/system/cpu/cpu0/ to cpufreq.

So how works cpufreq with xen 3.3.0  ?
Is cpufreq=xen only limited to amd processor ?


thanks for answers


Cédric L.


My...o ? You...quoi ? Face...qui ?... Vous ne savez plus comment tre vous-mme ?
Pour Crer, Partager et enfin Gagner ... Dcouvrez iDOO en vido
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.