All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>, Jan Beulich <JBeulich@suse.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>, xen-devel@lists.xen.org
Subject: Re: RFC: vNUMA project
Date: Wed, 12 Nov 2014 14:29:56 +0000	[thread overview]
Message-ID: <54636EE4.7030001@citrix.com> (raw)
In-Reply-To: <20141112142705.GB31665@zion.uk.xensource.com>

On 12/11/14 14:27, Wei Liu wrote:
> On Wed, Nov 12, 2014 at 02:13:09PM +0000, Jan Beulich wrote:
>>>>> On 12.11.14 at 14:45, <wei.liu2@citrix.com> wrote:
>>> On Wed, Nov 12, 2014 at 09:35:01AM +0000, Jan Beulich wrote:
>>>>>>> On 11.11.14 at 19:03, <david.vrabel@citrix.com> wrote:
>>>>> On 11/11/14 17:36, Wei Liu wrote:
>>>>>> Option #1 requires less modification to guest, because guest won't
>>>>>> need to switch to new hypercall. It's unclear at this point if a guest
>>>>>> asks to populate a gpfn that doesn't belong to any vnode, what Xen
>>>>>> should do about it. Should it be permissive or strict? 
>>>>>
>>>>> There are XENMEMF flags to request exact node or not  -- leave it up to
>>>>> the balloon driver.  The Linux balloon driver could try exact on all
>>>>> nodes before falling back to permissive or just always try inexact.
>>>>>
>>>>> Perhaps a XENMEMF_vnode bit to indicate the node is virtual?
>>>>
>>>> Yes. The only bad thing here is that we don't currently check in the
>>>> hypervisor that unknown bits are zero, i.e. code using the new flag
>>>> will need to have a separate means to find out whether the bit is
>>>> supported. Not a big deal of course.
>>>>
>>>
>>> If this new bit is set and domain has vnuma, then it's valid
>>> (supported); otherwise it's not.
>>>
>>> To not break existing guests, we can fall back to non-vnuma hinted
>>> allocation when the new bit is set and vnuma is not available.
>>
>> While this is valid, none of this was my point - I was talking about a
>> new guest running on an older hypervisor.
>>
> 
> That would not cause breakage. Even if the guest sets this new bit it's
> ignored by Xen. Guest can still balloon up, though the end result is
> sub-optimal.

No. Because it will get memory allocated from the specified /physical/
node which would be quite wrong.

David

  reply	other threads:[~2014-11-12 14:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 17:36 RFC: vNUMA project Wei Liu
2014-11-11 18:03 ` David Vrabel
2014-11-12  9:35   ` Jan Beulich
2014-11-12 13:45     ` Wei Liu
2014-11-12 14:13       ` Jan Beulich
2014-11-12 14:27         ` Wei Liu
2014-11-12 14:29           ` David Vrabel [this message]
2014-11-12 14:40             ` Wei Liu
2014-11-12 14:54               ` Jan Beulich
2014-11-12 12:14   ` Wei Liu
2014-11-12 14:23     ` Konrad Rzeszutek Wilk
2014-11-12 17:10       ` Wei Liu
2014-11-19 11:18 ` George Dunlap

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=54636EE4.7030001@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=dario.faggioli@citrix.com \
    --cc=wei.liu2@citrix.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.