All of lore.kernel.org
 help / color / mirror / Atom feed
* prio queue not working as expected?
@ 2013-06-19 13:15 Wolfgang Hennerbichler
  2013-06-20  7:25 ` Andrew Beverley
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Wolfgang Hennerbichler @ 2013-06-19 13:15 UTC (permalink / raw)
  To: lartc

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-06-24 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 13:15 prio queue not working as expected? Wolfgang Hennerbichler
2013-06-20  7:25 ` Andrew Beverley
2013-06-20 18:35 ` Wolfgang Hennerbichler
2013-06-21  5:42 ` Wolfgang Hennerbichler
2013-06-21  9:09 ` Wolfgang Hennerbichler
2013-06-21 11:46 ` Remy Mudingay
2013-06-24  7:47 ` Wolfgang Hennerbichler
2013-06-24 10:15 ` Remy Mudingay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.