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-users] XCP bandwidth management

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] XCP bandwidth management
From: <admin@xxxxxxxxxxx>
Date: Mon, 23 May 2011 07:43:34 -0500
Delivery-date: Mon, 23 May 2011 05:44:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <4DD97482.80400@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>
Reply-to: admin@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwZMziRqFiUmOJTTNOxWHvET20B1QAE7BIg
I have tested the bandwidth limiting in XCP and it does work, but only on
outbound traffic.

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alexandre
Sent: Sunday, May 22, 2011 3:40 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XCP bandwidth management

> 1 - Limit the interface using the XenCenter GUI..
I believe in free version of XenServer bandwidth limiting does not work 
(it silently does nothing), I doubt this feature is enabled in XCP, have 
you tried?

I have patched /etc/xensource/scripts/vif script to (among other things) 
call ovs-vsctl to set ingress policy rate. I imagine commercial edition 
of XenServer do pretty much the same. Downside is that this approach 
only limits traffic from VM. If you are billed for traffic your VMs 
download from the Internet (like I am), this is not enough.

I've tried to play with 'tc' to limit traffic in another direction, but 
it never worked properly -- I want to cap the rate to 10Mbps, but it 
always gave me below 1Mbps whatever I do.

> 2 - Use sFlow in XCP to capture the data. Well this works for looking 
> at how much bandwidth they are using, but I haven't found any existing 
> tool that
> will act on that data to do traffic shaping.
I have tried this path too, but didn't go very far. What sFlow collector 
are you using?

Best regards,
Alex Bezroutchko

Xen-users mailing list

Xen-users mailing list

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