search for: xenpm

Displaying 20 results from an estimated 40 matches for "xenpm".

Did you mean: xenpv
2012 Dec 25
7
Using collectd: CPUFreq in dom0
Hello, I''ve tried to get the CPUFreq plugin of collectd running in dom0. But I mentioned that it isn''t so easy to get a file in sysfs on the rigth place. I know that the value has to come from hypervisor and I''ve seen the code in xenpm. The only value I need is "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" which would create cpufreq.c. Can anyone help me by giving me some hints? I''ve read many websites and papers and coded many things. I''m glade to get the sysfs file. With "sysfs_crea...
2012 Mar 10
3
xenpm hypercalls support in latest kernels?
Does anyone know what is the latest version of dom0-kernel, that supports fully xenpm hypercalls? I tried from 3.0 to 3.3 with xen-4.1.3, but none of them has xenpm working. On the other hand native kernel cpufreq is OK with all of them. My CPU is Xeon family 6 on PowerEdge 1950 III box. Regards, Dimitar Kazakov
2012 Mar 10
3
xenpm hypercalls support in latest kernels?
Does anyone know what is the latest version of dom0-kernel, that supports fully xenpm hypercalls? I tried from 3.0 to 3.3 with xen-4.1.3, but none of them has xenpm working. On the other hand native kernel cpufreq is OK with all of them. My CPU is Xeon family 6 on PowerEdge 1950 III box. Regards, Dimitar Kazakov
2013 Jun 20
3
[PATCH V2 1/2] cpufreq, xenpm: fix cpufreq and xenpm mismatch
Currently cpufreq and xenpm are out of sync. Fix cpufreq reporting of if turbo mode is enabled or not. Fix xenpm to not decode for tristate, but a boolean. Signed-off-by: Jacob Shin <jacob.shin@amd.com> --- tools/misc/xenpm.c | 14 +++----------- xen/drivers/cpufreq/utility.c | 2 +- 2 files changed, 4...
2009 Sep 11
2
DVFS, xenpm in 3.4.1 and linux 2.6.18
Hi, All, I have some problem of using dvfs in Xen 3.4.1 and 2.6.18 kernel. I enabled Speed option in BIOS and add "cpufreq=xen" in the grub file. But when I entered my dom0 and type "xenpm get-cpufreq-XXX" (any xenpm argument), it returns "[CPU0] failed to get CPU P state". I am wondering if I should enable some feature of 2.6.18 during the kernel configuration. Does anyone have any solution to this? Thanks. - Hui _______________________________________________ Xe...
2009 Sep 11
2
DVFS, xenpm in 3.4.1 and linux 2.6.18
Hi, All, I have some problem of using dvfs in Xen 3.4.1 and 2.6.18 kernel. I enabled Speed option in BIOS and add "cpufreq=xen" in the grub file. But when I entered my dom0 and type "xenpm get-cpufreq-XXX" (any xenpm argument), it returns "[CPU0] failed to get CPU P state". I am wondering if I should enable some feature of 2.6.18 during the kernel configuration. Does anyone have any solution to this? Thanks. - Hui _______________________________________________ Xe...
2013 Jun 19
8
[PATCH 1/2] cpufreq, powernow: enable/disable core performance boost for all cpus in policy
Currently, enable/disable turbo mode on AMD is broken: $ xenpm enable-turbo-mode 0 <-- works and proper CPU MSR bit is set $ xenpm enable-turbo-mode 1 <-- silently broken, MSR bit not set Since ->turbo is per policy, when user requests to enable/disable turbo mode, we need to set the bit in all of the ->cpus that this policy affects. --- xen/arch...
2012 May 29
0
[PATCH] xenpm: Fix reporting of C0 residence times
# HG changeset patch # User Boris Ostrovsky <boris.ostrovsky@amd.com> # Date 1338309680 -7200 # Node ID 3d52d9fe62559ed6f90cb33a4b95f536ab5bc683 # Parent 53e0571f94e4bcc45270dcbd444c7c91166cef6d xenpm: Fix reporting of C0 residence times Idle state residence times as provided by pmstat_get_cx_stat() are not reported precisely since remote core may be in idle state and therefore has not updated its statistics at the time local core collected them. This causes C0 residencies as calculated by xenp...
2009 Mar 28
6
cpu frequency scaling in xen 3.3.1
Hi, i read the xenpm wiki page, but i cannot use the "p-states". xenpm shows: xenpm cpu id : 0 total C-states : 2 idle time(ms) : 1776034 C0 : transition [00000000000000000000] residency [00000000000000000000 ms] C1 : tran...
2008 Oct 22
24
Problems with enabling hypervisor C and P-state control
Hi, Is there any documentation on enabling hypervisor support for both C and P-state control? On xen-unstable and linux-2.6.18-xen.hg, if I enable cpuidle=1 on the xen command line and then run xenpm, I will get output for C-states (shown below) but it complains that "Xen cpufreq is not enabled!" cpu id : 0 total C-states : 2 idle time(ms) : 73264 C0 : transition [00000000000000000000] residency [0000000000000000000...
2011 Dec 21
2
[PATCH] xenpm: assorted adjustments
...onditional (rather than a C-state one) - don''t print some C-state related info when CPU idle management is disabled in the hypervisor - use calloc() for array allocations that also got cleared via memset() so far Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -87,20 +87,20 @@ static void print_cxstat(int cpuid, stru cxstat->idle_time/1000000UL); for ( i = 0; i < cxstat->nr; i++ ) { - printf("C%d : transition [%020"PRIu64"]\n", + printf("...
2012 Jul 22
20
Kernel crash with acpi_processor, cpu_idle and intel_idle =y
Hi everyone, When I set CONFIG_ACPI_PROCESSOR, CONFIG_CPU_IDLE and CONFIG_INTEL_IDLE to y then I cannot boot Xen; there is a crash. If I turn CONFIG_INTEL_IDLE off then the boot goes well and, after dom0 has booted, xenpm works and gives some sane output, see below. I have tested this with kernels 3.2 to 3.4.6. Is it impossible to use INTEL_IDLE with Xen? If this is a known issue then maybe someone can add info to the INTEL_IDLE help text in the kernel configuration... I am using this on a dual CPU motherboard, i...
2012 Jul 22
20
Kernel crash with acpi_processor, cpu_idle and intel_idle =y
Hi everyone, When I set CONFIG_ACPI_PROCESSOR, CONFIG_CPU_IDLE and CONFIG_INTEL_IDLE to y then I cannot boot Xen; there is a crash. If I turn CONFIG_INTEL_IDLE off then the boot goes well and, after dom0 has booted, xenpm works and gives some sane output, see below. I have tested this with kernels 3.2 to 3.4.6. Is it impossible to use INTEL_IDLE with Xen? If this is a known issue then maybe someone can add info to the INTEL_IDLE help text in the kernel configuration... I am using this on a dual CPU motherboard, i...
2011 May 20
8
2.6.39 dom0 xen power management test
...8c112e973878d52c9e Merge: e370fe2 773f8cf Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Date: Thu May 19 14:37:32 2011 -0400 Merge branch ''linux-next'' With a xen-4.1.0 hypervisor, on my AMD x6 phenom. Curious if Xen Power Management would work... Output of all xenpm get* commands is attached, prefix 32 is with a stable working 2.6.32.35 kernel from jeremy''s tree with working xenpm. prefix 39 is with the kernel from the tree mentoined above. There are differences in cpu-idle-states (C0 and C1 state are not reported on .39) and cpu-freq-states/para (w...
2012 Apr 24
3
xen acpi cpufreq driver
Hi, i''m not sure if i understood the new acpi xen cpufreq driver - here''s the output when loading xen_acpi_processor module in linux 3.4: dom0 dmesg: [ 32.728151] xen-acpi-processor: (CX): Hypervisor error (-22) for ACPI CPU8 [ 32.728156] xen-acpi-processor: (CX): Hypervisor error (-22) for ACPI CPU9 [ 32.728160] xen-acpi-processor: (CX): Hypervisor error (-22) for
2009 Jan 14
0
How to use Px/Cx for power saving?
Hi, If we want to use ACPI power saving(Cx/Px), how do we use them? I tried to turn CONFIG_xxxx of cpufreq on with linux-2.6.18-xen.hg, but I couldn''t turn them on. Also xenpm said the following error. # xenpm get-cpuidle-states Xen cpuidle is not enabled! # xenpm get-cpufreq-states Xen cpufreq is not enabled! What should I do? If there are some good documents, please tell me. Best Regards, Akio Takebe _______________________________________________ Xen-devel mailin...
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
...t *triggers; /* Cx trigger counts */ uint64_t *residencies; /* Cx residencies */ + uint64_t pc2; uint64_t pc3; uint64_t pc6; uint64_t pc7; uint64_t cc3; uint64_t cc6; + uint64_t cc7; }; typedef struct xc_cx_stat xc_cx_stat_t; diff -r 662dbf6ee71c tools/misc/xenpm.c --- a/tools/misc/xenpm.c Mon Oct 24 18:01:07 2011 +0100 +++ b/tools/misc/xenpm.c Fri Oct 28 21:33:07 2011 +0800 @@ -92,13 +92,17 @@ printf(" residency [%020"PRIu64" ms]\n", cxstat->residencies[i]/1000000UL);...
2009 May 30
1
Problems with power management
I do not seem to be able to get any where with the power management functions. I have had a look at the xenpm Wiki page, but it hasn''t helped. Its probably something completely obvious, but I can''t see it. I running Xen 3.4.0 on Centos 5.3 x86_64 using the gitco RPMs on an Intel S5000PSL motherboard with 2 x Xeon 5410s. Dom0 is running the latest Centos 5.3 kernel. My xm dmesg output...
2011 Aug 28
11
xen-4.1: PV domain hanging at startup, jiffies stopped
Hey, I''m experiencing strange problem: non-deterministic PV domain hang, only on some machines (with fast SSD drive). I''ve tried xen-4.1.0 and xen-4.1.1 with many kernels different kernels: VM: - 2.6.38.3 xenlinux based on SUSE package - vanilla 3.0.3 - vanilla 3.1 rc2 dom0: - 2.6.38.3 xenlinux based on SUSE package - vanilla 3.1 rc2 Result always the same: sometimes VM
2012 Sep 14
1
[PATCH] xenpm: make argument parsing and error handling more consistent
...r handling, error messages should get consistently issued to stderr, and the tool should now (hopefully) produce an exit code of zero only in the (partial) success case (there may still be a small number of questionable cases). Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -36,7 +36,7 @@ #define CPUFREQ_TURBO_ENABLED 1 static xc_interface *xc_handle; -static int max_cpu_nr; +static unsigned int max_cpu_nr; /* help message */ void show_help(void) @@ -77,6 +77,33 @@ void help_func(int argc, char *argv[]) show_help(); }...