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/
Home Products Support Community News


RE: [Xen-devel] Vif rate limiting

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Vif rate limiting
From: "Padala, Pradeep" <pradeep.padala@xxxxxx>
Date: Mon, 5 Mar 2007 17:43:37 -0000
Delivery-date: Mon, 05 Mar 2007 09:42:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2120319.A9E1%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <08CA2245AFCF444DB3AC415E47CC40AF8525B5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C2120319.A9E1%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-topic: [Xen-devel] Vif rate limiting
> > This is what I get
> > 
> > [root@acts-02 xen]# xenstore-ls /local/domain/0 | grep rate
> >     rate = "500000,50000"
> > 
> > I am not sure what those numbers mean.
> It means 500000 bytes may be sent every 50000 microseconds. 
> This corresponds to 10MB/s. 
> Actually I think I see the problem: our traffic limiting is 
> only on the transmit side, not on the receive side. We don't 
> do receive-side limiting at all (at least, not right now).

You mean, receive from the perspective of dom0 ? AFAIK, there's no point
in rate-limiting the data that is bound to a VM, as the data already
traversed the network using up the bandwidth, and it's just a matter of
processing it.

Do you know why tc is not working as expected ? I also tried to setup tc
rules for the vifs, but tc doesn't seem to recognize the interfaces.

What's the best way to setup traffic shaping on a Xen system ?


Xen-devel mailing list

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