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

Re: [Xen-devel] How to Allocate Disk Bandwidth among VMs?



Hi Tom,

# I'm sorry, I sent an empty e-mail a while ago.

>       I want to do disk I/O rate control over VMs. Therefore, I want to
> allocate different disk I/O bandwidth for different Xen VMs on my host
> machine. All domainUs use file-backed VBDs stored in domain0's file system.
>       Do you have any idea to do that? Hopefully it can be done by modifying
> Xend in domain0.

You can use dm-ioband for this purpose. dm-ioband is an I/O bandwidth
controller implemented as a device-mapper driver and can control
bandwidth on per partition, per user, per process basis.

In this case, install dm-ioband to the host OS, create a
dm-ioband device on the disk which stores domainU's VBD files,
and then assign bandwidth(determined proportional to the weight of
each disk) to each virtual machine.

There is an example configuration available at:
"Example #5: Bandwidth control for Xen blktap devices"
http://sourceforge.net/apps/trac/ioband/wiki/dm-ioband/man/examples

Please see the following URL for more information, kernel patch files
and binary packages for RHEL5 and CentOS5 are availble.
http://sourceforge.net/apps/trac/ioband/wiki/dm-ioband

Please feel free to ask me if you have any questions.

Thanks,
Ryo Tsuruta

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.