Allence
2018-Mar-13 08:51 UTC
[libvirt-users] Resource control is not supported on this host
Libvirt release version V4.1.0 It add a element is cachetune After we add this, We can use host-cpu-cache But when i add it, my host get a error message: "Resource control is not supported on this host" Why? Following is my environment: kernel : 4.1.5, libvirt : 4.1.0 qemu : 2.9 host : lfs-7.0 my add cachetune in xml: <cachetune vcpus='0-3'> <cache id='1' level='3' type='data' size='3' unit='MiB'/> </cachetune>
Michal Privoznik
2018-Mar-13 14:34 UTC
Re: [libvirt-users] Resource control is not supported on this host
On 03/13/2018 09:51 AM, Allence wrote:> Libvirt release version V4.1.0 > It add a element is cachetune > After we add this, We can use host-cpu-cache > But when i add it, my host get a error message: > "Resource control is not supported on this host" > Why?For Cache Allocation Technology you need support at CPU hardware level. Currently, only less than dozen CPUs support it (all server level Xeons): https://www.intel.com/content/www/us/en/communications/cache-monitoring-cache-allocation-technologies.html#xeoncmtcat Michal
Peter Krempa
2018-Mar-13 16:13 UTC
Re: [libvirt-users] Resource control is not supported on this host
On Tue, Mar 13, 2018 at 15:34:00 +0100, Michal Privoznik wrote:> On 03/13/2018 09:51 AM, Allence wrote: > > Libvirt release version V4.1.0 > > It add a element is cachetune > > After we add this, We can use host-cpu-cache > > But when i add it, my host get a error message: > > "Resource control is not supported on this host" > > Why? > > For Cache Allocation Technology you need support at CPU hardware level. > Currently, only less than dozen CPUs support it (all server level Xeons): > > https://www.intel.com/content/www/us/en/communications/cache-monitoring-cache-allocation-technologies.html#xeoncmtcatAlso besides that, the feature depends on a kernel feature which was broken upstream and deemed unusable and thus reverted. Until libvirt is rewritten to use the new resource control interface, the feature will not work with new kernels.