libvirt/docs/schemas
Michal Privoznik 8ba0a58f8d virCaps: Expose distance between host NUMA nodes
If user or management application wants to create a guest,
it may be useful to know the cost of internode latencies
before the guest resources are pinned. For example:

<capabilities>

  <host>
    ...
    <topology>
      <cells num='2'>
        <cell id='0'>
          <memory unit='KiB'>4004132</memory>
          <distances>
            <sibling id='0' value='10'/>
            <sibling id='1' value='20'/>
          </distances>
          <cpus num='2'>
            <cpu id='0' socket_id='0' core_id='0' siblings='0'/>
            <cpu id='2' socket_id='0' core_id='2' siblings='2'/>
          </cpus>
        </cell>
        <cell id='1'>
          <memory unit='KiB'>4030064</memory>
          <distances>
            <sibling id='0' value='20'/>
            <sibling id='1' value='10'/>
          </distances>
          <cpus num='2'>
            <cpu id='1' socket_id='0' core_id='0' siblings='1'/>
            <cpu id='3' socket_id='0' core_id='2' siblings='3'/>
          </cpus>
        </cell>
      </cells>
    </topology>
    ...
  </host>
  ...
</capabilities>

We can see the distance from node1 to node0 is 20 and within nodes 10.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-06-04 09:35:55 +02:00
..
basictypes.rng conf: introduce generic ISA address 2013-12-12 21:11:21 -07:00
capability.rng virCaps: Expose distance between host NUMA nodes 2014-06-04 09:35:55 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincommon.rng change machine name ppce500v2 to ppce500 2014-05-27 08:48:57 +02:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng
Makefile.am conf: create common storage RNG grammar file 2014-04-14 07:07:01 -06:00
network.rng
networkcommon.rng
nodedev.rng
nwfilter.rng
secret.rng
storagecommon.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
storagepool.rng storage: document gluster pool 2013-11-25 11:03:19 -07:00
storagevol.rng conf: move storage formats to common RNG file 2014-04-15 13:15:11 +02:00