]> git.ipfire.org Git - thirdparty/libvirt.git/commit
resctrl: Do not calculate free bandwidth for MBA
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 11 Mar 2019 09:23:10 +0000 (10:23 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 12 Mar 2019 08:06:06 +0000 (09:06 +0100)
commit408aeebcef1e81e55bebb4f2d47403d04ee16c0f
treea91175ff7f07a3fd7f01bdd8876d355ff37860ce
parent60a0d32e64f578a3bd76b9ed5c6cde4b89f5a3b7
resctrl: Do not calculate free bandwidth for MBA

For CAT we calculate unallocated parts of the cache, however with MBA this does
not make sense as the purpose of that is to limit the bandwidth and the setting
is only proportional relative to bandwidth settings for other groups.

This means it makes sense to set the values to 100% even if there are other
groups with some allocations and that we don't need to find the available
(unallocated) bandwidth in all the groups.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virresctrl.c