On 07/13/2015 03:23 AM, Chris Ridd wrote:
Is there any way to reduce the impact of a KVM virtual machine on other VMs
running on the same host, i.e. the noisy neighbour problem?
Chris
Look in the vmadm(1m) man page for the following properties that you can
set on a VM:
cpu_shares, zfs_io_priority, and cpu_cap
Tuning those properly for all of your VMs and zones should help you
share the resources the way you'd like.
cpu_shares lets you set appropriate weights to different VMs to let the
scheduler know which zones are more important to you when the whole
system is under heavy CPU load (and the scheduler must make some threads
wait before scheduling them.)
zfs_io_priority does something similar when there's a heavy disk I/O load
cpu_cap is probably not totally relevant to you as it enforces caps on
cpu usage when there are spare cycles (it can prevent a zone from
bursting onto *all* of the CPUs when they are free if you don't want it
to... helps manage expectation around CPU usage.)
The man page should be very helpful and there may also be some web pages
floating with some additional helpful examples.
-Nahum
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com