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
..
2012-02-01 16:28:17 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 15:27:16 -07:00
2014-03-27 06:58:46 -06:00
2014-06-04 09:35:55 +02:00
2006-01-23 22:55:41 +00:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-10-04 13:38:57 -04:00
2014-01-06 21:41:02 -07:00
2013-12-02 10:21:26 +08:00
2014-05-13 08:51:11 +02:00
2014-05-12 15:50:59 -06:00
2013-05-03 15:56:15 +01:00
2011-10-28 10:11:16 +01:00
2005-12-21 16:59:34 +00:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 11:59:18 -07:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 10:21:26 +08:00
2014-03-27 06:52:20 -06:00
2013-07-09 16:15:29 -06:00
2013-07-01 11:08:58 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2014-01-15 09:12:25 -07:00
2014-03-01 23:44:58 +04:00
2014-06-01 20:36:13 +04:00
2014-05-05 11:49:36 +02:00
2013-05-03 15:56:15 +01:00
2014-02-12 17:52:47 +00:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 16:58:46 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2014-03-03 17:41:26 +04:00
2013-05-16 16:28:53 +01:00
2013-09-29 18:40:36 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2008-04-28 08:29:35 +00:00
2013-12-02 10:21:26 +08:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2014-05-19 08:47:03 +02:00
2014-04-18 16:42:04 +03:00
2013-08-15 11:40:50 +02:00
2014-03-13 18:30:09 -04:00
2014-02-14 16:47:14 +01:00
2014-02-14 11:07:29 +01:00
2014-03-05 09:51:24 +01:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-01-18 15:36:38 +01:00
2013-05-03 15:56:15 +01:00
2014-02-04 10:43:15 -07:00
2013-07-09 11:49:20 -06:00
2013-07-09 11:49:20 -06:00
2014-03-25 14:58:41 +01:00
2014-02-18 14:46:49 +01:00
2013-06-25 01:13:16 +02:00
2014-03-01 23:44:58 +04:00
2013-08-23 08:12:26 +02:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2009-07-16 15:06:42 +02:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2014-01-27 08:42:09 +01:00
2012-06-18 20:10:29 +01:00
2006-02-09 17:45:11 +00:00
2013-05-03 15:56:15 +01:00
2014-03-18 14:29:22 +00:00
2006-02-09 17:45:11 +00:00
2008-04-23 17:08:31 +00:00
2013-09-23 14:16:45 +02:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2013-07-30 07:07:33 -06:00
2013-10-30 17:30:12 +01:00
2014-06-02 09:47:05 +08:00
2009-07-29 09:04:21 +01:00
2011-10-28 10:11:16 +01:00
2006-01-23 13:24:07 +00:00
2014-01-30 15:37:38 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 10:21:26 +08:00
2012-08-10 10:58:38 +02:00
2013-09-12 17:18:32 +08:00
2013-10-15 11:33:01 +01:00
2013-11-26 18:37:09 +08:00
2013-05-03 16:58:46 +01:00
2014-03-01 23:44:58 +04:00
2014-04-01 08:44:34 +02:00
2011-10-28 10:11:16 +01:00
2010-12-02 16:00:47 -07:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2010-10-12 11:26:52 +01:00
2013-05-07 11:19:04 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 15:29:37 +01:00
2010-11-12 19:47:20 +01:00