All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Creck <tom-xen@hotmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: How to Allocate Disk Bandwidth among VMs?
Date: Tue, 16 Jun 2009 05:18:00 -0700 (PDT)	[thread overview]
Message-ID: <24053119.post@talk.nabble.com> (raw)
In-Reply-To: <20090616.104538.189700018.ryov@valinux.co.jp>


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?


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@lists.xensource.com
> 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.

  parent reply	other threads:[~2009-06-16 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12  5:52 How to Allocate Disk Bandwidth among VMs? Tom Creck
2009-06-16  1:45 ` Ryo Tsuruta
2009-06-16  8:35   ` Tom Creck
2009-06-16  8:36   ` Tom Creck
2009-06-16 12:18   ` Tom Creck [this message]
2009-06-16 14:30     ` Ryo Tsuruta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24053119.post@talk.nabble.com \
    --to=tom-xen@hotmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.