[libvirt-users] Running all my virtual machines with a low priority

Martin Kletzander mkletzan at redhat.com
Thu May 2 09:33:06 UTC 2019


On Wed, May 01, 2019 at 11:58:23AM +0200, R. Diez wrote:
>
>> You would have to set the priority of all vCPUs in each guest, as well
>> as emulator threads in each guest (the latter needs very new libvirt).
>
>This does not seem a viable option then with Ubuntu 18.04. And changing XML on all guest VMs is extra work.
>
>Is there no other way? For example, are all such virtual machines not some daemon or systemd unit or set of units? Would it be feasible to lower the
>priority on all of those? Or is that not easy to do either?
>

I'm not sure if we're resetting all the cgroup values, so it should be possible
by setting this for the machine.slice cgroup (or somewhere around there) which
would make it effective for all the VMs, right?  I have not tested it, though,
sorry.

>Thanks again,
>   rdiez
>
>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190502/1e2f41ca/attachment.sig>


More information about the libvirt-users mailing list