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

[Xen-devel] [PATCH] xenpm control interface

To: xen-devel组 <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xenpm control interface
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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:
Usage:
       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 
<cpuid>.
       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>

--
Guanqun

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xenpm control interface, Lu, Guanqun <=