Re: Running all my virtual machines with a low priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 01, 2019 at 11:41:17AM +0200, R. Diez wrote:
> 
> > > I have an Ubuntu 18.04 system. What is the easiest way to run all of my virtual machines with a low priority? Say a "nice" level of 15.
> > 
> > You can use the  <vcpusched>  (and related elements) to control
> > the schedular nice level up or down
> > 
> >    https://libvirt.org/formatdomain.html#elementsCPUTuning
> 
> Thanks for your quick answer.
> 
> I took at look at that documentation, but I did not quite understand it. It
> talks about vCPUs and how they are scheduled. My guess is that it is all
> about how those virtual CPUs are scheduled against each other.
> 
> However, I wanted to lower the priority of all virtual machines against other processes on the host system.

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).

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux