WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: tom-xen@xxxxxxxxxxx
Subject: Re: [Xen-devel] How to Allocate Disk Bandwidth among VMs?
From: Ryo Tsuruta <ryov@xxxxxxxxxxxxx>
Date: Tue, 16 Jun 2009 23:30:07 +0900 (JST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Jun 2009 07:30:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <24053119.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <23993255.post@xxxxxxxxxxxxxxx> <20090616.104538.189700018.ryov@xxxxxxxxxxxxx> <24053119.post@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tom,

Tom Creck <tom-xen@xxxxxxxxxxx> wrote:
> 
> The example at
> "http://sourceforge.net/apps/trac/ioband/wiki/dm-ioband/man/examples"; uses
> host partition-backed VBD for domainUs.
> 
> However, I use file-backed VBD for domainU. Does dm-ioband work for
> file-backed VBD? Is there any example how to configure for this case?

Of course, dm-ioband can work for file-backed VBD.
Please see "Example #5: Bandwidth control for Xen blktap devices" on
that page. That example shows configurations for file-backed VBD.

Thanks,
Ryo Tsuruta

> Ryo Tsuruta wrote:
> > 
> > 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
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-Allocate-Disk-Bandwidth-among-VMs--tp23993255p24053119.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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