[PATCH 0/5 v3] Add NUMA memory tuning support

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

 



Hi, 

This series incorporated previous feedbacks received on the
XML schema, especially on syntax of "nodeset". Now using same
syntax of "cpuset" of "vcpu". And doing conversion in qemu
driver internally, as libnuma uses different bitmask format
to represent NUMA nodes.

The XML is like:
  <numatune>
    <memory mode="strict" nodeset="0-10,^5"/>
  </numatune>

Value of "mode" can be either of "strict", "preferred", or
"interleave".

One may specify nodemask which is out of range, for this
case, libvirt will report soft warnings instead of hard
error. (Kernel is silent as long as one of the set bit is
valid, E.g. For a host with 2 NUMA nodes, kernel will be
silent for nodemask "0101010101", as first "bit" which
represents the first NUMA node is set). The reason for
reporting soft warnings instead of hard error is one may
want to define the memory tuning policy priorly with a node
doesn't exist yet, but may come soon.

Any feedback is appreciated.

[PATCH 1/5 v3] numatune: Define xml schema
[PATCH 2/5 v3] numatune: Add doc for new numatune xml
[PATCH 3/5 v3] numatune: Support persistent XML for numatune
[PATCH 4/5 v3] numatune: Support numa tuning in qemu driver.
[PATCH 5/5 v3] numatune: Add tests for numatune XML

Regards
Osier

--
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]