[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] XCP bandwidth management

  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: <admin@xxxxxxxxxxx>
  • Date: Mon, 23 May 2011 07:43:34 -0500
  • Delivery-date: Mon, 23 May 2011 05:44:43 -0700
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.