[libvirt-users] libvirt and cgroups/blkio

Eric Blake eblake at redhat.com
Mon Oct 29 20:28:25 UTC 2012


On 10/29/2012 02:32 AM, erkan yanar wrote:
> 
> Hi,
> 
> is there a way to configure blkio via libvirt (xml)?

Yes, via <blkiotune> in the XML, or 'virsh blkiotune':
http://libvirt.org/formatdomain.html#elementsBlockTuning

But note that <blkiotune> is not necessarily the best way to tune I/O;
if you have new enough qemu, you might find better results with
per-device tuning by using <iotune>, or 'virsh 'blkdeviotune':
http://libvirt.org/formatdomain.html#elementsDisks

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121029/b07de69e/attachment.sig>


More information about the libvirt-users mailing list