All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Dongxiao Xu <dongxiao.xu@intel.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Xen Platform QoS design discussion
Date: Thu, 22 May 2014 10:27:14 +0100	[thread overview]
Message-ID: <537DC2F2.30702@eu.citrix.com> (raw)
In-Reply-To: <537DD3E60200007800014CFD@mail.emea.novell.com>

On 05/22/2014 09:39 AM, Jan Beulich wrote:
>>>> On 22.05.14 at 10:19, <dongxiao.xu@intel.com> wrote:
>>> From: xen-devel-bounces@lists.xen.org
>>> And without seeing the need for any advanced access mechanism,
>>> I'm continuing to try to promote D - implement simple, policy free
>>> (platform or sysctl) hypercalls providing MSR access to the tool stack
>>> (along the lines of the msr.ko Linux kernel driver).
>> Do you mean some hypercall implementation like following:
>> In this case, Dom0 toolstack actually queries the real physical CPU MSRs.
>>
>> struct xen_sysctl_accessmsr      accessmsr
>> {
>>      unsigned int cpu;
>>      unsigned int msr;
>>      unsigned long value;
>> }
>>
>> do_sysctl () {
>> ...
>> case XEN_SYSCTL_accessmsr:
>>      /* store the msr value in accessmsr.value */
>>      on_selected_cpus(cpumask_of(cpu), read_msr, &(op->u.accessmsr), 1);
>> }
> Yes, along those lines, albeit slightly more sophisticated based on
> the specific kind of operations needed for e.g. QoS (Andrew had
> some comments to the effect that simple read and write operations
> alone may not suffice).

That sounds nice and clean, and hopefully would be flexible enough to do 
stuff in the future.

But fundamentally that doesn't address Andrew's concerns that if callers 
are going to make repeated calls into libxl for each domain, this won't 
scale.

On the other hand, there may be an argument for saying, "We'll optimize 
that if we find it's a problem."

Dongxiao, is this functionality implemented for KVM yet?  Do you know 
how they're doing it?

  -George

  reply	other threads:[~2014-05-22  9:27 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 16:47 Xen Platform QoS design discussion Xu, Dongxiao
2014-04-30 17:02 ` Ian Campbell
2014-05-01  0:56   ` Xu, Dongxiao
2014-05-02  9:23     ` Jan Beulich
2014-05-02 12:30       ` Xu, Dongxiao
2014-05-02 12:40         ` Jan Beulich
2014-05-04  0:46           ` Xu, Dongxiao
2014-05-06  9:10             ` Ian Campbell
2014-05-06  1:40           ` Xu, Dongxiao
2014-05-06  7:55             ` Jan Beulich
2014-05-06 10:06             ` Andrew Cooper
2014-05-07  2:08               ` Xu, Dongxiao
2014-05-07  9:10                 ` Ian Campbell
2014-05-07 13:26               ` George Dunlap
2014-05-07 21:18                 ` Andrew Cooper
2014-05-08  5:21                   ` Xu, Dongxiao
2014-05-08 11:25                     ` Andrew Cooper
2014-05-09  2:41                       ` Xu, Dongxiao
2014-05-13  1:53                       ` Xu, Dongxiao
2014-05-16  5:11                       ` Xu, Dongxiao
2014-05-19 11:28                         ` George Dunlap
2014-05-19 11:45                           ` Jan Beulich
2014-05-19 12:13                             ` George Dunlap
2014-05-19 12:41                               ` Jan Beulich
2014-05-22  8:19                                 ` Xu, Dongxiao
2014-05-22  8:39                                   ` Jan Beulich
2014-05-22  9:27                                     ` George Dunlap [this message]
2014-05-26  0:51                                       ` Xu, Dongxiao
2014-05-29  0:45                                       ` Xu, Dongxiao
2014-05-29  7:01                                         ` Jan Beulich
2014-05-29  7:31                                           ` Xu, Dongxiao
2014-05-29  9:11                                             ` Jan Beulich
2014-05-30  9:10                                               ` Ian Campbell
2014-05-30 11:17                                                 ` Jan Beulich
2014-05-30 12:33                                                   ` Ian Campbell
2014-06-05  0:48                                                   ` Xu, Dongxiao
2014-06-05 10:43                                                     ` George Dunlap
2014-05-29  9:13                                             ` Andrew Cooper
2014-05-30  1:07                                               ` Xu, Dongxiao
2014-05-30  6:23                                                 ` Jan Beulich
2014-05-30  7:51                                                   ` Xu, Dongxiao
2014-05-30 11:15                                                     ` Jan Beulich
2014-05-02 12:50         ` Andrew Cooper
2014-05-04  2:34           ` Xu, Dongxiao
2014-05-06  9:12             ` Ian Campbell
2014-05-06 10:00             ` Andrew Cooper

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=537DC2F2.30702@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dongxiao.xu@intel.com \
    --cc=xen-devel@lists.xen.org \
    /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.