xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] report how much memory a domain has on each NUMA node
@ 2014-03-05 14:36 Dario Faggioli
  2014-03-05 14:36 ` [PATCH 1/4] xen: " Dario Faggioli
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Dario Faggioli @ 2014-03-05 14:36 UTC (permalink / raw)
  To: xen-devel
  Cc: Ian Campbell, Andrew Cooper, Juergen Gross, Ian Jackson,
	Jan Beulich, Daniel De Graaf

Going all the way from an hypercall to the `xl' sub-command
(via libxl and libxc interfaces, of course).

For the following domains:

root@Zhaman:~# xl list -n
Name                                        ID   Mem VCPUs      State   Time(s) NODE Affinity
Domain-0                                     0   511    16     r-----      29.3 all
vm-test                                      1  1024     2     -b----       6.6 0

The output looks like this:

root@Zhaman:~# xl numainfo 0
NODE Affinity: all
Memory:
  Node 0: 251208 Kb
  Node 1: 272820 Kb

root@Zhaman:~# xl numainfo 1
NODE Affinity: 0
Memory:
  Node 0: 1048576 Kb

Regards,
Dario

---

Dario Faggioli (4):
      xen: report how much memory a domain has on each NUMA node
      libxc: report how much memory a domain has on each NUMA node
      libxl: report how much memory a domain has on each NUMA node
      xl: report how much memory a domain has on each NUMA node


 tools/libxc/xc_domain.c             |   28 +++++++++++++++++
 tools/libxc/xenctrl.h               |   18 +++++++++++
 tools/libxl/libxl.c                 |   30 ++++++++++++++++++
 tools/libxl/libxl.h                 |    2 +
 tools/libxl/libxl_types.idl         |    4 ++
 tools/libxl/xl.h                    |    1 +
 tools/libxl/xl_cmdimpl.c            |   58 +++++++++++++++++++++++++++++++++++
 tools/libxl/xl_cmdtable.c           |    5 +++
 xen/common/domctl.c                 |   45 +++++++++++++++++++++++++++
 xen/include/public/domctl.h         |   22 +++++++++++++
 xen/xsm/flask/hooks.c               |    3 ++
 xen/xsm/flask/policy/access_vectors |    2 +
 12 files changed, 218 insertions(+)

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2014-03-13 17:26 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 14:36 [PATCH 0/4] report how much memory a domain has on each NUMA node Dario Faggioli
2014-03-05 14:36 ` [PATCH 1/4] xen: " Dario Faggioli
2014-03-05 14:50   ` Juergen Gross
2014-03-05 16:31     ` Dario Faggioli
2014-03-05 16:49       ` Jan Beulich
2014-03-05 17:14         ` Dario Faggioli
2014-03-05 15:04   ` Jan Beulich
2014-03-05 16:13     ` Dario Faggioli
2014-03-05 16:44       ` Jan Beulich
2014-03-05 14:36 ` [PATCH 2/4] libxc: " Dario Faggioli
2014-03-05 15:05   ` Andrew Cooper
2014-03-05 15:40     ` Dario Faggioli
2014-03-10 16:39   ` Ian Jackson
2014-03-10 17:07     ` Dario Faggioli
2014-03-10 17:09       ` Andrew Cooper
2014-03-10 17:20       ` Ian Jackson
2014-03-10 17:35         ` Dario Faggioli
2014-03-11 11:15           ` Ian Jackson
2014-03-11 17:37             ` Dario Faggioli
2014-03-11 18:16               ` Ian Jackson
2014-03-11 19:04                 ` Dario Faggioli
2014-03-13 11:54                   ` George Dunlap
2014-03-05 14:36 ` [PATCH 3/4] libxl: " Dario Faggioli
2014-03-10 16:40   ` Ian Jackson
2014-03-10 17:28     ` Dario Faggioli
2014-03-13 17:26       ` Ian Jackson
2014-03-05 14:36 ` [PATCH 4/4] xl: " Dario Faggioli
2014-03-10 16:42   ` Ian Jackson
2014-03-10 17:09     ` Dario Faggioli
2014-03-05 14:40 ` [PATCH 0/4] " Juergen Gross
2014-03-05 14:44   ` Dario Faggioli
2014-03-10 16:37 ` Ian Jackson
2014-03-10 17:12   ` Dario Faggioli

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).