xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Elena Ufimtseva <ufimtseva@gmail.com>
Cc: keir@xen.org, Ian.Campbell@citrix.com,
	stefano.stabellini@eu.citrix.com, dario.faggioli@citrix.com,
	lccycc123@gmail.com, ian.jackson@eu.citrix.com,
	xen-devel@lists.xen.org, JBeulich@suse.com, sw@linux.com
Subject: Re: [PATCH RFC v2 0/7] xen: vNUMA introduction
Date: Fri, 13 Sep 2013 12:19:02 +0100	[thread overview]
Message-ID: <5232F4A6.9050303@eu.citrix.com> (raw)
In-Reply-To: <1379062177-13681-1-git-send-email-ufimtseva@gmail.com>

On 13/09/13 09:49, Elena Ufimtseva wrote:
> This series of patches introduces vNUMA topology awareness and
> provides interfaces and data structures to enable vNUMA for
> PV domU guests.
>
> vNUMA topology support should be supported by PV guest kernel.
> Corresponging patches should be applied.
>
> Introduction
> -------------
>
> vNUMA topology is exposed to the PV guest to improve performance when running
> workloads on NUMA machines.
> XEN vNUMA implementation provides a way to create vNUMA-enabled guests on NUMA/UMA
> and map vNUMA topology to physical NUMA in a optimal way.
>
> XEN vNUMA support
>
> Current set of patches introduces subop hypercall that is available for enlightened
> PV guests with vNUMA patches applied.
>
> Domain structure was modified to reflect per-domain vNUMA topology for use in other
> vNUMA-aware subsystems (e.g. ballooning).
>
> libxc
>
> libxc provides interfaces to build PV guests with vNUMA support and in case of NUMA
> machines provides initial memory allocation on physical NUMA nodes. This implemented by
> utilizing nodemap formed by automatic NUMA placement. Details are in patch #3.
>
> libxl
>
> libxl provides a way to predefine in VM config vNUMA topology - number of vnodes,
> memory arrangement, vcpus to vnodes assignment, distance map.
>
> PV guest
>
> As of now, only PV guest can take advantage of vNUMA functionality. vNUMA Linux patches
> should be applied and NUMA support should be compiled in kernel.
>
> Example of booting vNUMA enabled pv domU:
>
> NUMA machine:
> cpu_topology           :
> cpu:    core    socket     node
>    0:       0        0        0
>    1:       1        0        0
>    2:       2        0        0
>    3:       3        0        0
>    4:       0        1        1
>    5:       1        1        1
>    6:       2        1        1
>    7:       3        1        1
> numa_info              :
> node:    memsize    memfree    distances
>     0:     17664      12243      10,20
>     1:     16384      11929      20,10
>
> VM config:
>
> memory = 16384
> vcpus = 8
> name = "rcbig"
> vnodes = 8
> vnumamem = "2g, 2g, 2g, 2g, 2g, 2g, 2g, 2g"
> vcpu_to_vnode ="5 6 7 4 3 2 1 0"

This was a bit confusing for me as the table above and the config below 
don't seem to be the same.

> Patchset applies to latest Xen tree
> commit e008e9119d03852020b93e1d4da9a80ec1af9c75
> Available at http://git.gitorious.org/xenvnuma/xenvnuma.git

Thanks for the git repo.  It's probably a good idea in the future to 
make a branch for each series of patches you post -- e.g., vnuma-v2 or 
something like that -- so that even if you do more updates / development 
people can still have access to the old set of patches. (Or have access 
to the old set while you are preparing the new set.)

  -George

  parent reply	other threads:[~2013-09-13 11:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13  8:49 [PATCH RFC v2 0/7] xen: vNUMA introduction Elena Ufimtseva
2013-09-13 10:38 ` Jan Beulich
2013-09-13 11:12   ` Dario Faggioli
2013-09-13 12:00     ` Jan Beulich
2013-09-13 11:19 ` George Dunlap [this message]
2013-09-13 12:25   ` Dario Faggioli

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=5232F4A6.9050303@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=dario.faggioli@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=lccycc123@gmail.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=sw@linux.com \
    --cc=ufimtseva@gmail.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 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).