Changes between Initial Version and Version 1 of Xen_xenpm


Ignore:
Timestamp:
May 21, 2010, 4:57:14 PM (14 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_xenpm

    v1 v1  
     1[[PageOutline]]
     2{{{
     3#!html
     4<h1 style="text-align: center; color: blue">xenpm</h1>
     5}}}
     6----
     7= 【前言】 =
     8Xen 3.4 之後的版本就有支援 CPU 動態調頻
     9
     10= 【指令用法】 =
     11{{{
     12xen power management control tool
     13
     14usage: xenpm <command> [args]
     15
     16xenpm command list:
     17
     18 get-cpuidle-states    [cpuid]       list cpu idle info of CPU <cpuid> or all
     19 get-cpufreq-states    [cpuid]       list cpu freq info of CPU <cpuid> or all
     20 get-cpufreq-para      [cpuid]       list cpu freq parameter of CPU <cpuid> or all
     21 set-scaling-maxfreq   [cpuid] <HZ>  set max cpu frequency <HZ> on CPU <cpuid>
     22                                     or all CPUs
     23 set-scaling-minfreq   [cpuid] <HZ>  set min cpu frequency <HZ> on CPU <cpuid>
     24                                     or all CPUs
     25 set-scaling-speed     [cpuid] <num> set scaling speed on CPU <cpuid> or all
     26                                     it is used in userspace governor.
     27 set-scaling-governor  [cpuid] <gov> set scaling governor on CPU <cpuid> or all
     28                                     as userspace/performance/powersave/ondemand
     29 set-sampling-rate     [cpuid] <num> set sampling rate on CPU <cpuid> or all
     30                                     it is used in ondemand governor.
     31 set-up-threshold      [cpuid] <num> set up threshold on CPU <cpuid> or all
     32                                     it is used in ondemand governor.
     33 get-cpu-topology                    get thread/core/socket topology info
     34 set-sched-smt           enable|disable enable/disable scheduler smt power saving
     35 set-vcpu-migration-delay      <num> set scheduler vcpu migration delay in us
     36 get-vcpu-migration-delay            get scheduler vcpu migration delay
     37 set-max-cstate        <num>         set the C-State limitation (<num> >= 0)
     38 start [seconds]                     start collect Cx/Px statistics,
     39                                     output after CTRL-C or SIGINT or several seconds.
     40}}}
     41 * 在 XCP 中預設的 CPU governor 為 userspace,降才可透過 xenpm 工具來自動設定 CPU freq,若設定為 ondemand 預設為 CPU loading 超過 80% 才會生頻...
     42----
     43= 【Reference】 =
     44 * [http://wiki.xensource.com/xenwiki/xenpm 官方 xenpm]
     45 * [http://notes.benv.junerules.com/tag/xenpm/ Xen and Power Saving]