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

Re: [Xen-users] Recommendation for traffic shaping


  • To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Sam <xen@xxxxxxxxxx>
  • Date: Fri, 23 Oct 2009 23:05:47 -0500
  • Delivery-date: Fri, 23 Oct 2009 21:06:42 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Paras pradhan wrote:
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?

Any recommendation in this issue?

Thanks in adv
Paras.

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


Are we talking upload bandwidth or download bandwidth? For very simple stuff you can try one of the many "wondershaper" scripts out there (attached). It will only mess with the upload bandwidth though. I actually have my lan gateway installed in xen like this: http://www.shorewall.net/XenMyWay.html using shorewall. All of my wan traffic then goes through shorewall and I use its traffic shaper ( it is about the same as wondershaper) to control everything. You could look for a centos shorewall package and install it and only configure the traffic control side of it and not any firewall rules:
http://www.shorewall.net/traffic_shaping.htm

Have you ever read up on htb?
http://lartc.org/howto/lartc.qdisc.classful.html
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

Unfortunately I don't know how to cut someone's bandwidth to a low amount after they go over a set traffic limit.

Sam

Attachment: wshaper.sh
Description: Bourne shell script

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