|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] I/O and Network control on VM
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
|
|
|
|
|