Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: soprom on November 07, 2009, 05:12:18 PM
-
Here is a good contrib from VIP-Hire for QoS. It has a configuration panel. Very cool! I've adopted it. Many thanks to VIP-Hire.
Check here for details http://forums.contribs.org/index.php/topic,45037.0.html (http://forums.contribs.org/index.php/topic,45037.0.html).
mkdir /root/qos
cd /root/qos
wget http://repo.firewall-services.com/sme/noarch/smeserver-qos-1.0-4.noarch.rpm
yum localinstall smeserver-qos-1.0-4.noarch.rpm
# config show qos
qos=service
DownLink=10000
HostsPrio=
TCPPrio=5060,4569
UDPPrio=5060,10000-20000,4569
UpLink=800
status=enabled
Hi. The contrib smeserver-qos guaranties minimum bandwidth, but does not reserve it:
- the traffic is separated in 4 classes (and a 5th special class)
- every class can use all the bandwidth if it's not used by some other classes
- the first class (highest priority) will have 70% of the available bandwidth guarantied
This class includes:
- packets with TOS set to Low-Delay
- packets matching the destination port or destination host you've configured in the server-manager as High Priority
- the second class will have 15% of the available bandwidth guarantied (but can use all the available bandwidth if class 1 doesn't use it)
This class include:
- icmp echo requests and replay
- TCP ACK packets
- DNS requests/responses
- NTP requests/responses
- the third class has 10% of the bandwidth reserved (but can use all the available bandwidth if class 1 and 2 don't use it)
This class include all the traffic not included in other classes, it's the default one.
- the fourth class will only have 5% of the bandwidth guarantied (and can use all the bandwidth if class 1, 2 and 3 don't use it). It's the lowest priority.
This class includes SMTP(S) traffic (TCP port 465 and 25)
- the fifth class is a bit special and won't be useful in most cases: packets in this class won't be shaped at all. You can define hosts to which traffic will use this class with the "excludes" DB property:
-
Does anybody know if this contrib works smoothly with SME 7.x
-
I do use it on several servers with no problems.
-
# sme7
http://repo.firewall-services.com/centos/4/noarch/smeserver-qos-1.0-4.noarch.rpm
# sme8
http://repo.firewall-services.com/centos/5/noarch/smeserver-qos-1.0-4.noarch.rpm