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

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


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Sat, 13 Jun 2009 21:53:59 +0700
  • Delivery-date: Sat, 13 Jun 2009 07:54:48 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Jun 13, 2009 at 9:16 PM, Thomas Goirand<thomas@xxxxxxxxxx> wrote:
> 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.

Thomas, I assume you're referring to using cbq to do rate limit
(providing similar functionality as Xen's rate limit)?

Or are you saying that cbq can limit daily transfer as per the
original requirement?

>
>>> 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.

Care to provide some reference/example on how this can be used on dom0
to limit domU's I/O usage?

-- 
Fajar

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


 


Rackspace

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