|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Recommendation for traffic shaping
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
wshaper.sh
Description: Bourne shell script
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|