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: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Vif rate limiting
From: <admin@xxxxxxxxxxx>
Date: Thu, 9 Sep 2010 14:16:51 -0500
Delivery-date: Thu, 09 Sep 2010 12:18:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <AANLkTikcjo0YwMf+B8YzS5hTXsvDp84He+AtKr47W=Yn@xxxxxxxxxxxxxx>
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: ActQJ8uZI1mip3BKQfuoDztnGzpwqQAK0oWA
Will that work with XCP if you migrate the VM to another node in the pool?
Or does that need to be set up in the dom0 of the physical node after the VM
is moved?

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dmitry Lohansky
Sent: Thursday, September 09, 2010 8:56 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Vif rate limiting

Trygve Sanne Hardersen wrote:

> Not really, limiting incoming traffic is much harder. With TCP/IP it's
> easy to control how much is sent, more difficult to control how much
> is received. However most web sites only care about the outgoing
> bandwidth so it's probably sufficient in most cases.

There is a way to limit the incoming traffic for domU in dom0 on vif with
tc.

For example:

dom0:~ # tc qdisc add dev vif1.0 root handle 1: htb default 1
dom0:~ # tc class add dev vif1.0 parent 1: classid 1:1 htb rate 5mbit

> Trygve

> On Mon, Apr 19, 2010 at 3:35 PM, Chris <tknchris@xxxxxxxxx> wrote:
>> Strange that it only works one direction
>>
>> Sent from my iPhone
>>

-- 
Dmitry Lohansky
CEO Oversun-Scalaxy
------------------------------------------------------------>>}>----------
d.lohansky@xxxxxxxxxx | www.scalaxy.ru
Mob: +7 985 724 15 42

_______________________________________________
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>