On Mon, 10/14 02:18, Wangshen (Peter) wrote:
> 
> 
> on Sunday, October 13, 2013 9:27 PM, Paolo Bonzini wrote:
> > Il 12/10/2013 08:09, Soumendu Satapathy (sosatapa) ha scritto:
> > > Do we have an equivalent of vmware SIOC like feature in KVM?
> > 
> > Yes, you have two choices:
> > 
> > 1) use cgroups to throttle I/O at the level of the host disk (i.e.
> > multiple virtual disks stored on the same disk share the limit).  If you're
> > using libvirt, add the <blkiotune> element to the definition of the virtual
> > machine.
> > 
> > 2) enable I/O throttling in QEMU, to apply limits at the level of the guest
> > disk.  If you're using libvirt, add the "iotune" element within the <disk>
> > element in the definition of the virtual machine.
> > 
> > Both are documented at http://libvirt.org/formatdomain.html (search for
> > blkiotune and iotune).
> 
> Both "blkiotune" and "iotune" are only take effect on one same host.
> How to throttle I/O across multiple host with shared storage devices?
> 

Depending on how you use the shared storage, I think you could:

1) Throttle disk/network IO on the shared device with cgroups.

2) Set throttle limit (iotune) on each domain.

Thanks,

Fam
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to