prio queue not working as expected?

Linux Advanced Routing and Traffic Control

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

 



hi tc folks, 

I'm trying to set up a bridged traffic shaper, and I am experimenting with the prio qdisc. 
I've take the example from www.lartc.org: 

tc qdisc add dev wan0 root handle 1: prio 
tc qdisc add dev wan0 parent 1:1 handle 10: sfq
tc qdisc add dev wan0 parent 1:2 handle 20: tbf rate 20kbit buffer 1600 limit 3000
tc qdisc add dev wan0 parent 1:3 handle 30: sfq             

unfortunately, it seems as if it doesn't detect the TOS of my scp traffic. when I do a scp from a box behind the bridge, only qdisc 20: increases it's counters, I can't create counter values in 10: or 30: by issuing telnet or ssh commands or whatever. 

tc -s qdisc show dev wan0 | grep qdisc -A1
qdisc prio 1: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 Sent 69328 bytes 457 pkt (dropped 0, overlimits 0 requeues 0) 
--
qdisc sfq 10: parent 1:1 limit 127p quantum 1514b depth 127 divisor 1024 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
--
qdisc tbf 20: parent 1:2 rate 20000bit burst 1600b lat 560.0ms 
 Sent 69328 bytes 457 pkt (dropped 0, overlimits 76 requeues 0) 
--
qdisc sfq 30: parent 1:3 limit 127p quantum 1514b depth 127 divisor 1024 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 

The system is running within a VM on linux kernel 3.7.10. 
I can't figure out what's wrong here. Any help is really appreciated. 

Wolfgang
-- 
http://www.wogri.at

--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux