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] Vif rate limiting

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Vif rate limiting
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Mon, 19 Apr 2010 15:23:56 +0200
Delivery-date: Mon, 19 Apr 2010 06:28:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BBECB42.2070802@xxxxxxxxx>
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>
References: <4BBDF8D7.9010807@xxxxxxxxx> <y2m7207d96f1004082008o1d01f300g832122c12af46445@xxxxxxxxxxxxxx> <4BBECB42.2070802@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100307 Icedove/3.0.3
On 09/04/2010 08:37, Olivier B. wrote:
On 09/04/2010 05:08, Fajar A. Nugraha wrote:
On Thu, Apr 8, 2010 at 10:40 PM, Olivier B.<xen.list@xxxxxxxxx>  wrote:
Hi,

I see some docs about rate limiting VIF by adding "rate=" in vif parameters.

For example : vif = ['mac=02:00:00:00:06:82,ip=187.32.65.86,rate=128KB/s']

But it doesn't work.
How do you determine that it doesn't work?
Last time I check the rate limit is only one way (upload or download,
forgot which one). And it doesn't exactly limit it to that amount, but
close enough. Try using iperf, alternating between using domU and an
outside host as server.

Well, I only try to download a big iso thought http, with wget.

I will try to upload some data.

Olivier


So the rate limit is working when I upload data from the VM to an other server ; but I'm not able to limit incoming transfers.

Olivier


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

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