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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] I/O and Network control on VM
From: Thomas Goirand <thomas@xxxxxxxxxx>
Date: Sat, 13 Jun 2009 22:16:21 +0800
Delivery-date: Sat, 13 Jun 2009 07:17:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0906130450w1a85de94rbd43c88462fdd39f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=98EF9A49
Organization: GPLHost
References: <b66ddc900906130301w7532bad6w88847c809a58b836@xxxxxxxxxxxxxx> <7207d96f0906130450w1a85de94rbd43c88462fdd39f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
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.

Thomas


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

<Prev in Thread] Current Thread [Next in Thread>