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

2019-05-02 Thread Martin Kletzander
On Thu, May 02, 2019 at 12:10:54PM +0200, R. Diez wrote: You could perhaps set 'cpu.shares' cgroup setting on /machine.slice. This isn't really a nice level in the traditional sense, rather it is a relative weighting evaluated against other cgroups at the same level. So if you change it from 1

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

2019-05-02 Thread R. Diez
You could perhaps set 'cpu.shares' cgroup setting on /machine.slice. This isn't really a nice level in the traditional sense, rather it is a relative weighting evaluated against other cgroups at the same level. So if you change it from 1024 to 512, then processes under /machine.slice will get

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

2019-05-02 Thread Daniel P . Berrangé
On Thu, May 02, 2019 at 11:33:06AM +0200, Martin Kletzander wrote: > 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

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

2019-05-02 Thread Martin Kletzander
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

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

2019-05-01 Thread R. Diez
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 a

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

2019-05-01 Thread Daniel P . Berrangé
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(and related elements) to control > > the schedular nice level

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

2019-05-01 Thread R. Diez
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(and related elements) to control the schedular nice level up or down https://libvirt.org/formatdomain.html#elementsCPUTuning Thank

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

2019-04-30 Thread Daniel P . Berrangé
On Tue, Apr 30, 2019 at 04:24:08PM +0200, R. Diez wrote: > Hi all: > > 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(and related elements) to control the schedular nice level up or dow

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

2019-04-30 Thread R. Diez
Hi all: 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. I just do not want my virtual machines to have too much of an impact in any other processes on the system. Thanks in advance, rdiez __