Page 1 of 1

QoS do not perform properly on RSPro

Posted: Fri Nov 23, 2012 10:47 am
by mems
Dear All

I have been trying Gargoyle QoS on RS Pro, but it seems it shows NO EFFECTS?!!!.

1. My network is very simple:
GW (Mikrotik BWtest server, IP 10.50.0.42) - switch - AP (gargoyle, 10.50.0.56)- STA (WDS bridge, IP 10.50.0.55) - PC (BWtest client, IP: 10.50.0.102)
All are Fast Ethernet 100Mbps, test on my table, so no issue of SNR, interference.
I use Gargoyle 1.4.7 for testing.
2. I set QOS for STA (10.50.0.55), set VoIP with: source IP 10.50.0.102 (PC), packet size: max packet length 120 bytes.

I use 2 streams BW test: one is 64 bytes TCP BW test, another is 1500 bytes UDP (or TCP) packets from PC (10.50.0.102) to GW (10.50.0.42).'

I EXPECTED that due to VoIP QoS set limitation source 10.50.0.102, packet size < 120 bytes, the BW test for 64 bytes TCP stream should be stable, but in fact the performance is not stable.

I have tried all scenarios (e.g. order of VoIP, percentage bandwidth, minimum bandwidth, max BW, ACC) on both download and upload pages, but it seems the bandwidth for 64 bytes packets are very unstable, can drop very low (< 100 kbps) .

This is BTtest for 65 bytes stream (which show unstable):
This is BTtest for 1500 bytes stream:
Download and Upload QoS setup on STA:

3. This is on STA:
root@Gargoyle:/etc/init.d# ifconfig
br-lan Link encap:Ethernet HWaddr 00:15:6D:C5:FC:CE
inet addr:10.50.0.55 Bcast:10.50.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88715 errors:0 dropped:0 overruns:0 frame:0
TX packets:67300 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14014382 (13.3 MiB) TX bytes:10215620 (9.7 MiB)

eth1 Link encap:Ethernet HWaddr 00:15:6D:C5:FC:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34085117 errors:0 dropped:0 overruns:0 frame:0
TX packets:37123036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2314580660 (2.1 GiB) TX bytes:3185699918 (2.9 GiB)
Interrupt:5

imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16000 Metric:1
RX packets:19088 errors:0 dropped:0 overruns:0 frame:0
TX packets:19088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:3600839 (3.4 MiB) TX bytes:3600839 (3.4 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:264 (264.0 B) TX bytes:264 (264.0 B)

wlan0 Link encap:Ethernet HWaddr 00:80:48:6C:8C:27
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37188915 errors:0 dropped:0 overruns:0 frame:0
TX packets:29229707 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:3199429017 (2.9 GiB) TX bytes:4244588574 (3.9 GiB)

root@Gargoyle:/etc/init.d# brctl show
bridge name bridge id STP enabled interfaces
br-lan 8000.00156dc5fcce no eth1
wlan0
root@Gargoyle:/etc/init.d# tc -s qdisc show dev br-lan
qdisc hfsc 1: root refcnt 2 default 2
Sent 2807419 bytes 20435 pkt (dropped 0, overlimits 96 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc red 8029: parent 1:2 limit 750000b min 50000b max 150000b
Sent 2806474 bytes 20423 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
marked 0 early 0 pdrop 0 other 0
qdisc red 802a: parent 1:3 limit 1250000b min 83333b max 250000b
Sent 945 bytes 12 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
marked 0 early 0 pdrop 0 other 0
qdisc red 802b: parent 1:4 limit 1250000b min 83333b max 250000b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
marked 0 early 0 pdrop 0 other 0
qdisc red 802c: parent 1:5 limit 1250000b min 83333b max 250000b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
marked 0 early 0 pdrop 0 other 0
qdisc pfifo 8031: parent 1:127 limit 1p
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
root@Gargoyle:/etc/init.d#

4. To get qos_garogoyle in /etc/init.d and /etc/hotplug/iface working, I have changed wan ->lan, but the result still showing the VoIP BW for 64 bytes packets are unstable when there is another concurent (e.g UDP 1500 bytes packets) stream.

Can anyone make similar test and check whether the BW should be unstable when there is another concurent stream, no matter QoS is set ?

I have not tried to test for latest version of Gargoyle (1.5.8), but from the source code comparision, I suppose to be the same problem.

Thanks a lot in advance

mems

Re: QoS do not perform properly on RSPro

Posted: Mon Nov 26, 2012 6:40 am
by mems
I have installed the latest version (1.5.8) and as expected, the QoS seems not working, at least to bandwidth test.

I do not have other boards to test, but I believe in case the other boars, the results are still the same: the QoS seems not working, at least to bandwidth test.

Anyone can check by setting up simple scenario:
- GW-Gargoyle AP - Gargoyle Station - PC (use fast ethernet)
- Bandwidth test from PC to GW
- Use simple graphic BW test
- In QoS on Gargoyle Station, set VoIP, source IP is IP address of PC, Destination is IP address of GW, set max packet size is for example 120 bytes, min bandwidth for example 1000 kbps.
- Run BW test on PC with TCP (or UDP) packet, packet size 64 bytes
- Run another BW test on PC with UDP packet, packet size 1500 bytes
- If QoS works, then it is expected that BW test for 64 bytes packet flow should maintain high than min QoS bandwidth (1000 kbps)
- But the result shows that the the bandwidth for 64 bytes packet flow is unstable and can reduce to less 100kbps.

-> Conclusion: QoS seems not working of no effective

Thanks in advance