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] can xen partition physical network bandwidth for guest V

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] can xen partition physical network bandwidth for guest VMs
From: Alexandre Chapellon <a.chapellon@xxxxxxxxx>
Date: Thu, 09 Jun 2011 13:58:48 +0200
Delivery-date: Thu, 09 Jun 2011 05:03:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DF0AAC1.2010003@xxxxxxxxxxxxxxxxxx>
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: <BANLkTimHWBPBFDVfsZ1B59q3tcPLNQ4v_g@xxxxxxxxxxxxxx> <4DF0AAC1.2010003@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
Le 09/06/2011 13:13, Steve Allison a écrit :
On 09/06/2011 12:07, xc l wrote:
Hello

Can xen partition physical network bandwidth for guest VMs.
For example,a physical server`s network bandwidth is 1G,can I allocate 200M to domain1 and 300M to domain2.......?

Many thanks/lists.xensource.com/xen-users

I don't think Xen can do this. However this shouldn't be hard to implement using the standard linux tc filter.

If you label your virtual interface names so they remain static ( vifname=xxxx ) then you can use tc to create a QoS on the interface resulting in what you requested.

Even better, using a vif-network wrapper script in /etc/xen/xen-config.sxp would allow you to set up correct tc filter with dynamic vif names... to be tried.

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