Re: Creating an equivalent to ESFQ using flow classifier

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

 



Nikolay S. Rybaloff wrote:

>>
>> It is the last part that I am unsure about. I do not get any errors with
>> the commands, but they do not seem to make any difference to the shaping.

You are fortunate. Every time that I've tried to use the 'flow'
classifier with SFQ, the SFQ qdisc eventually drops 100% of the packets
presented to it.

Example:

tc qdisc add dev wlan0 root handle 1: sfq quantum 1514 limit 127
tc filter add dev wlan0 protocol ip pref 1 parent 1: handle 1 flow \
   hash keys src,dst,proto-src divisor 1024

ursa:~ # tc -s  qdisc ls dev wlan0
qdisc sfq 1: root limit 127p quantum 1514b
 Sent 161724244 bytes 107284 pkt (dropped 200, overlimits 0 requeues 21313)
 rate 0bit 0pps backlog 0b 0p requeues 21313
ursa:~ # tc -s  qdisc ls dev wlan0
qdisc sfq 1: root limit 127p quantum 1514b
 Sent 161724320 bytes 107285 pkt (dropped 205, overlimits 0 requeues 21313)
 rate 0bit 0pps backlog 0b 0p requeues 21313
ursa:~ #

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux