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

Re: [Xen-users] I/O and Network control on VM

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Thomas Goirand <thomas@xxxxxxxxxx>
  • Date: Sat, 13 Jun 2009 22:16:21 +0800
  • Delivery-date: Sat, 13 Jun 2009 07:17:02 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Openpgp: id=98EF9A49

Fajar A. Nugraha wrote:
> On Sat, Jun 13, 2009 at 5:01 PM, howard chen<howachen@xxxxxxxxx> wrote:
>> Hello,
>> 1. Is it possible to limit bandwidth of user, e.g. say limit a VM to
>> use at most 10GB of bandwidth each day?
> No. You'd need to use whatever method you use for managing normal
> pyhysical machines for that (usually involves snmp).
> Newer Xen can do rate limiting though, similar to that on
> routers/switches. Run "xm create --help_config", look for vif.

cbq is your friend.

>> 2. How about I/O limit? Seem xen currently has no way to limit user I/O 
>> usage?
> Your best bet (for now) is probably something like
> http://people.valinux.co.jp/~ryov/dm-ioband/

There's no need to apply any patch to acheive I/O scheduling, it has
been in the kernel for YEARS.


Xen-users mailing list



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