From: "Jan Beulich" <jbeulich@novell.com>
To: Kevin Tian <kevin.tian@intel.com>
Cc: xen-devel@lists.xensource.com
Subject: RE: cpufreq status information
Date: Mon, 08 Sep 2008 14:33:08 +0100 [thread overview]
Message-ID: <48C545B4.76E4.0078.0@novell.com> (raw)
In-Reply-To: <D470B4E54465E3469E2ABBC5AFAC390F024D9764@pdsmsx412.ccr.corp.intel.com>
>>> "Tian, Kevin" <kevin.tian@intel.com> 08.09.08 15:22 >>>
>>From: Jan Beulich
>>Sent: 2008年9月8日 21:12
>>
>>Trying to understand whether CPU frequency scaling is actually
>>working on
>>a system currently requires (afaics) source patches, as there
>>is no way to
>>get the current state of a CPU. Even if this is intentional,
>
>What do you mean by current state of CPU? If cpufreq is enabled,
>user should be able to retrieve statistics information by sysctl
>path.
How? I can't see where the current frequency a CPU is running at
is being exposed.
>>this doesn't seem
>>very helpful when considering to make this functionality available to
>>customers: I'm certain quite a few will ask how they can tell
>>whether this
>>is actually working.
>>
>>Now, apart from the simple job of adding a sub-hypercall to
>>retrieve the
>>necessary bits, I'm wondering whether this wouldn't be just one more
>>element that would much better be surfaced to the guest via the vCPU
>>info structure (or, as that's size constrained, a new construct to make
>>guest-read-only information available via a shared page). Other
>>(potential) items to make available this same way would e.g. be guest-
>>accessible last-exception-from/-to MSR values (as the values read would
>>be meaningless if read through rdmsr).
>
>Not quite understand. Cpufreq is physical cpu stuff, and do you aim
>to expose physical information through vcpu specific shared page?
>Then that would add fixed requirement on dom0 vcpu number to
>physical cpus, which is intentially avoided in current design.
The intent is to expose the frequency of the pCPU the particular vCPU
is currently running on, perhaps only in Dom0.
Jan
next prev parent reply other threads:[~2008-09-08 13:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 13:12 cpufreq status information Jan Beulich
2008-09-08 13:22 ` Tian, Kevin
2008-09-08 13:33 ` Jan Beulich [this message]
2008-09-08 13:50 ` Tian, Kevin
2008-09-08 14:00 ` Keir Fraser
2008-09-08 14:13 ` Tian, Kevin
2008-09-08 14:30 ` Jan Beulich
2008-09-08 14:35 ` Keir Fraser
2008-09-08 14:49 ` Tian, Kevin
2008-09-08 15:04 ` Keir Fraser
2008-09-08 14:57 ` Tian, Kevin
2008-09-08 14:23 ` Jan Beulich
2008-09-08 14:42 ` Tian, Kevin
2008-09-08 13:38 ` Keir Fraser
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=48C545B4.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=kevin.tian@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.