From: Stefan Bader <stefan.bader@canonical.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Cc: Jan Beulich <jbeulich@suse.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Workings/effectiveness of the xen-acpi-processor driver
Date: Wed, 25 Apr 2012 15:00:58 +0200 [thread overview]
Message-ID: <4F97F58A.8090409@canonical.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2527 bytes --]
Since there have been requests about that driver to get backported into 3.2, I
was interested to find out what or how much would be gained by that.
The first system I tried was an AMD based one (8 core Opteron 6128@2GHz). Which
was not very successful as the drivers bail out of the init function because the
first call to acpi_processor_register_performance() returns -ENODEV. There is
some frequency scaling when running without Xen, so I need to do some more
debugging there.
The second system was an Intel one (4 core i7 920@2.67GHz) which was
successfully loading the driver. Via xenpm I can see the various frequencies and
also see them being changed. However the cpuidle data out of xenpm looks a bit odd:
#> xenpm get-cpuidle-states 0
Max C-state: C7
cpu id : 0
total C-states : 2
idle time(ms) : 10819311
C0 : transition [00000000000000000001]
residency [00000000000000005398 ms]
C1 : transition [00000000000000000001]
residency [00000000000010819311 ms]
pc3 : [00000000000000000000 ms]
pc6 : [00000000000000000000 ms]
pc7 : [00000000000000000000 ms]
cc3 : [00000000000000000000 ms]
cc6 : [00000000000000000000 ms]
Also gathering samples over 30s does look like only C0 and C1 are used. This
might be because C1E support is enabled in BIOS but when looking at the
intel_idle data in sysfs when running without a hypervisor will show C3 and C6
for the cores. That could have been just a wrong output, so I plugged in a power
meter and compared a kernel running natively and running as dom0 (with and
without the acpi-processor driver).
Native: 175W
dom0: 183W (with only marginal difference between with or without the
processor driver)
[yes, the system has a somewhat high base consumption which I attribute to a
ridiculously dimensioned graphics subsystem to be running a text console]
This I would take as C3 and C6 really not being used and the frequency scaling
having no impact on the idle system is not that much surprising. But if that was
true it would also limit the usefulness of the turbo mode which I understand
would also be limited by the c-state of the other cores.
Do I misread the data I see? Or maybe its a known limitation? In case it is
worth doing more research I'll gladly try things and gather more data.
Thanks,
Stefan
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2012-04-25 13:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 13:00 Stefan Bader [this message]
2012-04-26 15:50 ` Workings/effectiveness of the xen-acpi-processor driver Konrad Rzeszutek Wilk
2012-04-26 16:25 ` Stefan Bader
2012-04-26 17:04 ` Konrad Rzeszutek Wilk
2012-05-06 15:23 ` Pasi Kärkkäinen
2012-05-07 17:33 ` Konrad Rzeszutek Wilk
2012-05-07 17:44 ` Pasi Kärkkäinen
2012-05-01 20:02 ` Konrad Rzeszutek Wilk
2012-05-01 22:35 ` Boris Ostrovsky
2012-05-01 22:54 ` Konrad Rzeszutek Wilk
2012-05-02 0:47 ` Konrad Rzeszutek Wilk
2012-05-02 1:11 ` Boris Ostrovsky
2012-05-02 9:19 ` Jan Beulich
2012-05-02 14:56 ` Stefan Bader
2012-05-02 8:36 ` Stefan Bader
2012-05-02 15:01 ` Stefan Bader
2012-05-02 16:08 ` Konrad Rzeszutek Wilk
2012-05-02 17:06 ` Boris Ostrovsky
2012-05-02 17:14 ` Konrad Rzeszutek Wilk
2012-05-02 21:31 ` Boris Ostrovsky
2012-05-02 21:41 ` Konrad Rzeszutek Wilk
2012-05-02 22:09 ` Boris Ostrovsky
2012-05-03 6:55 ` Stefan Bader
2012-05-03 10:00 ` Stefan Bader
2012-05-03 12:58 ` Stefan Bader
2012-05-03 14:47 ` Stefan Bader
2012-05-03 15:46 ` Konrad Rzeszutek Wilk
2012-05-03 17:02 ` Boris Ostrovsky
2012-05-03 17:08 ` Konrad Rzeszutek Wilk
2012-05-04 8:00 ` Stefan Bader
2012-05-03 16:14 ` Konrad Rzeszutek Wilk
2012-05-02 21:29 ` Stefan Bader
2012-05-02 8:22 ` Stefan Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F97F58A.8090409@canonical.com \
--to=stefan.bader@canonical.com \
--cc=jbeulich@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).