[PATCH v1 0/7] Hugepages wrt to NUMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Up to now, domains are either backed by an arbitrary huge page but without any
NUMA awareness. This is suboptimal and I'm trying to fix it.

Michal Privoznik (7):
  configure: Check for statfs
  Introduce virFileFindHugeTLBFS
  qemu: Utilize virFileFindHugeTLBFS
  virbitmap: Introduce virBitmapDoesIntersect
  domain: Introduce ./hugepages/page/[@size,@unit,@nodeset]
  qemu: Implement ./hugepages/page/[@size,@unit,@nodeset]
  tests: Some testing of hugepages mapping

 configure.ac                                       |   4 +-
 docs/formatdomain.html.in                          |  18 +-
 docs/schemas/domaincommon.rng                      |  19 +-
 src/Makefile.am                                    |   1 +
 src/conf/domain_conf.c                             | 197 +++++++++++++++++++--
 src/conf/domain_conf.h                             |  13 +-
 src/libvirt_private.syms                           |   2 +
 src/parallels/parallels_driver.c                   |   2 +-
 src/qemu/qemu_capabilities.c                       |   2 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_command.c                            | 111 ++++++++++--
 src/qemu/qemu_conf.c                               | 124 +++++++++++--
 src/qemu/qemu_conf.h                               |   9 +-
 src/qemu/qemu_driver.c                             |  39 ++--
 src/qemu/qemu_process.c                            |  21 ++-
 src/util/virbitmap.c                               |  20 +++
 src/util/virbitmap.h                               |   3 +
 src/util/virfile.c                                 | 176 +++++++++++++++++-
 src/util/virfile.h                                 |  12 ++
 .../qemuxml2argv-hugepages-pages.args              |  16 ++
 .../qemuxml2argv-hugepages-pages.xml               |  45 +++++
 .../qemuxml2argv-hugepages-pages2.args             |  10 ++
 .../qemuxml2argv-hugepages-pages2.xml              |  38 ++++
 .../qemuxml2argv-hugepages-pages3.args             |   9 +
 .../qemuxml2argv-hugepages-pages3.xml              |  38 ++++
 tests/qemuxml2argvdata/qemuxml2argv-hugepages.args |   2 +-
 tests/qemuxml2argvtest.c                           |  18 +-
 tests/qemuxml2xmltest.c                            |   3 +
 tests/virbitmaptest.c                              |  26 +++
 29 files changed, 884 insertions(+), 95 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages2.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages2.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages3.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages3.xml

-- 
1.8.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]