NethServer Version: 7.6.1810
Module: Traffic shaping
Hi,
I use traffic shaping to give our VOIP phones priority over the rest of the traffic. As far as I can tell the traffic is correctly tagged into the right category but If I saturate the bandwidth the sound quality becomes really unacceptable.
Should the traffic shaper be able to handle such situation ? I tried various ways to get it working correctly, including specifying a lower than real available bandwidth in the ppp; fiddling with the TCLinklayer parameter (which looks not taken into account) but didn’t succeed, it just don’t work.
Anybody has had better success than me ?
db networks show
EDPNT=provider
interface=ppp0
weight=100
br0=bridge
FwInBandwidth=
FwOutBandwidth=
bootproto=none
gateway=
ipaddr=10.10.1.1
netmask=255.255.248.0
role=green
enp3s4f0=ethernet
FwInBandwidth=
FwOutBandwidth=
bridge=br0
role=bridged
enp3s4f1=ethernet
FwInBandwidth=1000
FwOutBandwidth=1000
bootproto=none
ipaddr=10.10.9.1
netmask=255.255.255.0
role=blue
enp3s6f0=ethernet
FwInBandwidth=50000
FwOutBandwidth=10000
role=pppoe
enp3s6f1=ethernet
FwInBandwidth=50000
FwOutBandwidth=10000
bootproto=none
gateway=10.10.1.1
ipaddr=10.10.8.1
netmask=255.255.255.0
role=blue
ppp0=xdsl
AuthType=auto
FwInBandwidth=45000
FwOutBandwidth=8000
Password=wzXmxT
TCLinklayer=adsl local
name=PPPoE
provider=EDPNET
role=red
user=xxxxx@EDPNETFIX
cat /etc/firehol/fireqos.conf
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
FIREQOS_CONNMARK_RESTORE=""
modinfo act_connmark &>/dev/null
if [ $? -eq 0 ]; then
FIREQOS_CONNMARK_RESTORE="act_connmark"
fi
interface ppp0 EDPNT bidirectional input rate 45000kbit output rate 8000kbit balanced ethernet
class high input commit 10% output commit 10%
match connmark 0x4
class low input ceil 90% output ceil 90%
match connmark 0x3
class voip input commit 10% ceil 10% output commit 10% ceil 10%
match connmark 0x2
# db tc show
high=class
Description=
Mark=4
MaxInputRate=
MaxOutputRate=
MinInputRate=10
MinOutputRate=10
low=class
Description=
Mark=3
MaxInputRate=90
MaxOutputRate=90
MinInputRate=
MinOutputRate=
voip=class
Description=voip
Mark=2
MaxInputRate=10
MaxOutputRate=10
MinInputRate=10
MinOutputRate=10
# fireqos status EDPNT-in
FireQOS 3.1.5
(C) 2013-2014 Costa Tsaousis, GPL
EDPNT-in: ppp0 input => ppp0-ifb, type: ethernet, overhead:
Rate: 45000Kbit/s, min: 450Kbit/s
Values in Kbit/s
CLASS high low voip defaul
CLASSI 1:11 1:12 1:13 1:8000
COMMIT 4500 450 4500 450
MAX 45000 40500 4500 45000
PRIORI 4 4 4 4
QDISC fq_cod fq_cod fq_cod fq_cod
color code (packets): backlog | dropped | delayed | requeued
Class Utilization on EDPNT-in (ppp0 input => ppp0-ifb) - values in Kbit/s
TOTAL high low voip defaul
74 - - 3 72
369 - - - 369
170 - - - 170
62 - - - 62
454 - - - 454
195 - - 12 182 # call initiated, traffic goes in the right class
4437 - - 3 4435
224 - - 96 128
413 - - 86 327
441 - - 80 361
442 - - 89 353
289 - - 82 207
220 - - 28 192
675 - - 7 667
199 - - - 199
252 - - - 252
165 - - - 165
243 - - - 243