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] Recommendation for traffic shaping

To: Paras pradhan <pradhanparas@xxxxxxxxx>
Subject: Re: [Xen-users] Recommendation for traffic shaping
From: Luke S Crawford <lsc@xxxxxxxxx>
Date: 23 Oct 2009 23:11:16 -0400
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 23 Oct 2009 20:11:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8b711df40910211413t5df1422ai3216545522c7f1a2@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>
References: <8b711df40910211413t5df1422ai3216545522c7f1a2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
Paras pradhan <pradhanparas@xxxxxxxxx> writes:

> I have a centos 5.3 server connected to fibre based SAN with 4Gbps
> HBA. Xen domUs are installed in the SAN disks.
> 
> This server is connected to my datacenter using 1Gig Ethernet. I will
> be having say around 10 domUs in this server and one of them might be
> consuming a lot of traffic. So to avoid traffic congestion problem,
> where do I shape/cap the bandwidth for this particular domU? Inside
> domU or in dom0's bridge interface? which tools are better? tc. cbq ,
> htb or any others?

We do it on the Dom0.  

Here's something Chris wrote up about it when I had the same problem:

http://wiki.xen.prgmr.com/xenophilia/2008/06/traffic-shaping-with-tc-and-xe.html

http://wiki.xen.prgmr.com/xenophilia/2008/06/traffic-shaping-yet-again.html

This was from back when I was trying to give people 'first month free'
(don't do that.)   so I had some crazy users.  But it's useful 'cause
you can limit users who are over their allocation to 128K or something 
that doesn't cost you money, and you look like a really nice guy compared
to just shutting them off.  

(I think we cleaned this up and put it in chapt. 7 of the book of xen.)


-- 
Luke S. Crawford
http://prgmr.com/xen/         -   Hosting for the technically adept
http://nostarch.com/xen.htm   -   We don't assume you are stupid.  

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

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