Osier Yang
97010eb1f1
numad: Set memory policy from numad advisory nodeset
...
Though numad will manage the memory allocation of task dynamically,
it wants management application (libvirt) to pre-set the memory
policy according to the advisory nodeset returned from querying numad,
(just like pre-bind CPU nodeset for domain process), and thus the
performance could benefit much more from it.
This patch introduces new XML tag 'placement', value 'auto' indicates
whether to set the memory policy with the advisory nodeset from numad,
and its value defaults to the value of <vcpu> placement, or 'static'
if 'nodeset' is specified. Example of the new XML tag's usage:
<numatune>
<memory placement='auto' mode='interleave'/>
</numatune>
Just like what current "numatune" does, the 'auto' numa memory policy
setting uses libnuma's API too.
If <vcpu> "placement" is "auto", and <numatune> is not specified
explicitly, a default <numatume> will be added with "placement"
set as "auto", and "mode" set as "strict".
The following XML can now fully drive numad:
1) <vcpu> placement is 'auto', no <numatune> is specified.
<vcpu placement='auto'>10</vcpu>
2) <vcpu> placement is 'auto', no 'placement' is specified for
<numatune>.
<vcpu placement='auto'>10</vcpu>
<numatune>
<memory mode='interleave'/>
</numatune>
And it's also able to control the CPU placement and memory policy
independently. e.g.
1) <vcpu> placement is 'auto', and <numatune> placement is 'static'
<vcpu placement='auto'>10</vcpu>
<numatune>
<memory mode='strict' nodeset='0-10,^7'/>
</numatune>
2) <vcpu> placement is 'static', and <numatune> placement is 'auto'
<vcpu placement='static' cpuset='0-24,^12'>10</vcpu>
<numatune>
<memory mode='interleave' placement='auto'/>
</numatume>
A follow up patch will change the XML formatting codes to always output
'placement' for <vcpu>, even it's 'static'.
2012-05-08 16:57:32 -06:00
..
2012-01-17 12:22:19 +01:00
2012-01-17 12:09:51 -07:00
2012-01-17 12:09:51 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-04-10 16:34:39 +01:00
2012-04-10 16:34:39 +01:00
2011-11-30 11:36:11 -07:00
2012-03-07 18:24:43 -07:00
2011-11-29 12:26:21 -07:00
2012-03-07 18:24:43 -07:00
2011-02-08 11:43:45 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-06-15 11:29:09 +02:00
2012-03-07 18:24:43 -07:00
2011-06-15 11:29:09 +02:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-06-15 11:29:09 +02:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-15 12:24:56 +08:00
2011-02-04 09:17:01 -07:00
2012-03-15 12:24:56 +08:00
2011-02-03 21:14:50 -07:00
2012-03-15 12:24:56 +08:00
2011-11-03 12:01:05 +00:00
2012-03-15 12:24:56 +08:00
2011-11-03 12:01:05 +00:00
2012-03-15 12:24:56 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-04-02 09:08:31 -06:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-11-03 12:01:05 +00:00
2012-03-15 12:24:56 +08:00
2011-11-03 12:01:05 +00:00
2012-03-15 12:24:56 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-17 11:39:19 +01:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-17 11:39:19 +01:00
2012-03-07 18:24:43 -07:00
2012-01-27 16:51:50 +01:00
2012-03-07 18:24:43 -07:00
2012-01-17 12:22:19 +01:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2012-01-17 12:22:19 +01:00
2012-03-07 18:24:43 -07:00
2012-01-17 12:22:19 +01:00
2012-03-07 18:24:43 -07:00
2012-01-27 16:51:50 +01:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-11-17 13:47:11 -07:00
2012-03-07 18:24:43 -07:00
2011-11-17 13:47:11 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-03-29 22:13:46 +08:00
2012-03-07 18:24:43 -07:00
2011-03-03 07:45:31 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-13 10:08:15 +08:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-09-02 08:42:54 -06:00
2012-03-07 18:24:43 -07:00
2011-09-23 08:29:57 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-10-26 11:55:39 -06:00
2012-03-07 18:24:43 -07:00
2011-10-26 11:55:39 -06:00
2012-03-07 18:24:43 -07:00
2011-10-26 11:55:39 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-05-01 08:49:24 -06:00
2012-03-07 18:24:43 -07:00
2011-11-15 17:06:42 -07:00
2012-03-07 18:24:43 -07:00
2011-11-15 17:06:42 -07:00
2012-03-07 18:24:43 -07:00
2012-03-12 08:09:37 -06:00
2012-03-12 08:09:37 -06:00
2011-06-15 11:29:09 +02:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2012-03-23 23:11:54 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-04-17 17:21:48 +08:00
2012-04-17 17:21:48 +08:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-04-23 08:43:33 -06:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2011-10-17 15:44:21 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2012-04-17 17:21:24 +08:00
2012-04-17 17:21:24 +08:00
2012-03-14 23:32:53 +08:00
2012-03-14 23:32:53 +08:00
2012-02-28 14:28:21 +08:00
2012-03-07 18:24:43 -07:00
2012-02-28 14:28:21 +08:00
2012-03-07 18:24:43 -07:00
2011-09-05 07:03:04 -06:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2012-01-09 10:55:53 -05:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-17 15:37:42 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-09 10:14:31 +01:00
2012-03-09 10:14:31 +01:00
2011-05-31 16:33:36 +02:00
2012-03-07 18:24:43 -07:00
2011-03-06 22:00:27 +08:00
2012-03-07 18:24:43 -07:00
2012-03-09 08:49:10 +01:00
2012-03-07 18:24:43 -07:00
2012-05-08 09:22:45 -06:00
2012-05-08 09:22:45 -06:00
2012-05-08 12:14:45 -06:00
2012-05-08 12:14:45 -06:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-05-24 10:33:53 -04:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-09-02 23:39:03 +08:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-27 16:51:50 +01:00
2012-03-07 18:24:43 -07:00
2011-06-02 10:54:00 +01:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:44 -07:00
2012-01-24 17:06:34 -07:00
2012-03-15 12:24:56 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-15 12:24:56 +08:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-09-21 16:53:06 +02:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2012-01-17 17:09:47 +08:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-05 23:24:34 -05:00
2012-03-07 18:24:43 -07:00
2012-01-17 17:09:47 +08:00
2012-03-07 18:24:43 -07:00
2012-01-17 17:09:47 +08:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-09-21 16:53:06 +02:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-05-08 16:57:32 -06:00
2012-05-08 16:57:32 -06:00
2012-05-08 16:57:32 -06:00
2012-05-08 16:57:32 -06:00
2012-05-08 16:57:32 -06:00
2012-05-08 16:57:32 -06:00
2011-06-20 15:17:43 +08:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-01-30 12:30:35 -05:00
2012-03-07 18:24:43 -07:00
2012-01-13 16:10:43 -07:00
2012-03-07 18:24:43 -07:00
2012-01-13 16:10:43 -07:00
2012-03-07 18:24:43 -07:00
2012-02-28 14:27:17 +08:00
2012-03-07 18:24:43 -07:00
2012-02-28 14:27:17 +08:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-12-30 10:38:37 +08:00
2012-03-15 12:24:56 +08:00
2011-12-30 10:57:59 +08:00
2012-03-15 12:24:56 +08:00
2011-12-30 10:38:37 +08:00
2012-03-15 12:24:56 +08:00
2012-02-06 12:04:33 -07:00
2012-03-15 12:24:56 +08:00
2011-12-30 10:38:37 +08:00
2012-03-15 12:24:56 +08:00
2011-12-30 10:38:37 +08:00
2012-03-15 12:24:56 +08:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-08-11 15:19:51 +08:00
2012-03-07 18:24:43 -07:00
2011-08-11 15:19:51 +08:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2011-09-05 15:03:27 +08:00
2012-03-07 18:24:43 -07:00
2011-09-05 15:03:27 +08:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2011-09-05 15:03:27 +08:00
2012-03-07 18:24:43 -07:00
2011-10-01 11:48:28 -04:00
2012-03-07 18:24:43 -07:00
2012-01-31 13:36:23 -05:00
2012-03-07 18:24:43 -07:00
2011-04-06 10:05:14 -06:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00
2011-01-31 11:25:34 -07:00
2012-03-07 18:24:43 -07:00