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

RE: [Xen-users] Vif rate limiting


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: <admin@xxxxxxxxxxx>
  • Date: Thu, 9 Sep 2010 14:16:51 -0500
  • Delivery-date: Thu, 09 Sep 2010 12:18:23 -0700
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

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