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

[Xen-devel] [PATCH] xenpm control interface

  • To: xen-develç <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>
  • Date: Tue, 16 Dec 2008 20:56:27 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Tue, 16 Dec 2008 04:57:13 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclffbWYlzz9szCVRUGzLjzs3aM80Q==
  • Thread-topic: [PATCH] xenpm control interface

This patch mainly adds cpu frequency control interface,
through which user can tune the parameters manually.

Now, xenpm can be invoked with the following options:
       xenpm get-cpuidle-states [cpuid]: list cpu idle information on CPU cpuid 
or all CPUs.
       xenpm get-cpufreq-states [cpuid]: list cpu frequency information on CPU 
cpuid or all CPUs.
       xenpm get-cpufreq-para [cpuid]: list cpu frequency information on CPU 
cpuid or all CPUs.
       xenpm set-scaling-maxfreq <cpuid> <HZ>: set max cpu frequency <HZ> on 
CPU <cpuid>.
       xenpm set-scaling-minfreq <cpuid> <HZ>: set min cpu frequency <HZ> on 
CPU <cpuid>.
       xenpm set-scaling-governor <cpuid> <name>: set scaling governor on CPU 
       xenpm set-scaling-speed <cpuid> <num>: set scaling speed on CPU <cpuid>.
       xenpm set-sampling-rate <cpuid> <num>: set sampling rate on CPU <cpuid>.
       xenpm set-up-threshold <cpuid> <num>: set up threshold on CPU <cpuid>.

To ease the use of this tool, the shortcut option is supported,
i.e. `xenpm get-cpui' is equal to `xenpm get-cpuidle-states'.

        Signed-off-by: Guanqun Lu <guanqun.lu@xxxxxxxxx>


Attachment: xenpm-with-cpufreq-control-support.patch
Description: xenpm-with-cpufreq-control-support.patch

Xen-devel mailing list



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