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: "Olivier B." <xen.list@xxxxxxxxx>
Subject: Re: [Xen-users] Vif rate limiting
From: Chris <tknchris@xxxxxxxxx>
Date: Mon, 19 Apr 2010 09:35:08 -0400
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 Apr 2010 06:40:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=dFQ5/UD8SJK8ewQN4JgpezrZWW/IX2DpOCOyT636e4U=; b=a+KgGOqhfDl9b1sKi9zaXu+PJzP7ydRNHwh5xgQg2ky2SfYO3hCuOFQpTTE6FmKthZ oN7ii5NpYE0Kfc9xdG9J++MKzic/qqutoyFkuafYqY997wmD+n0HcXm/elA6jjKD8mKG OwETfLdgUuwmsDJnW+5o6Oh3IVVKw73NiwyNs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=JY3azlHYf2gWyig/TP/a4TZr+o5MU/ZJpjnqMqjnrTtQlDyR64nsVjOIz8zBQYOx0L QXLzeER13xTKRzvLyk/dDoHA2W3a4uSiFy083E+87dsrd/2W8ESowqnnjq8AqUWdSJae aLh6eDPqTBzzBNlh002EdYfpTQsfgcXJYRs6k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BCC596C.7050206@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> <4BCC596C.7050206@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Strange that it only works one direction

Sent from my iPhone

On Apr 19, 2010, at 9:23 AM, "Olivier B." <xen.list@xxxxxxxxx> wrote:

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

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

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