ESFQ debugging

Linux Advanced Routing and Traffic Control

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

 



Is there any way to see the whole hash table of esfq to debug wheter the
chosen hash table type is working correctly?
This is my situation:
### ROOT
tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit avpkt 1000 cell 8
### CLASS PARENT
tc class add dev eth1 parent 1: classid 1:1 cbq bandwidth 10Mbit \
    rate 2Mbit weight 200Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt
1000 \
    isolated
### CLASS PRIORITIES
tc class add dev eth1 parent 1:1 classid 1:10 cbq bandwidth 10Mbit \
    rate 200Kbit weigth 20Kbit prio 1 allot 1514 cell 8 maxburst 10 avpkt
100 \
    isolated
tc class add dev eth1 parent 1:1 classid 1:20 cbq bandwidth 10Mbit \
    rate 1800Kbit weigth 180Kbit prio 2 allot 1514 cell 8 maxburst 10 avpkt
1500 \
    bounded
### SFQ
tc qdisc add dev eth1 parent 1:10 handle 10: esfq perturb 10 hash dst
tc qdisc add dev eth1 parent 1:20 handle 20: esfq perturb 10 hash dst

Plus some iptables -t mangle -A OUTPUT filters that divide traffic to 0:500
(marking as 3 and flowing to 1:10) and 500:1500 (marking as 4 and flowing to
1:20)

I have another 2 linux stations. On the first (A) a ran 2 scp's and on the
second (B) only 1 scp. The result isn't so definite. The scp on B ended
first but in that time the first scp on A had 80% and the second somthing
about 70%. In my opinion it should be something like A-100%, B1-50%, B2-50%.
Any ideas? ;-)

Thank you for any hint :-)

--
Vladimir Trebicky

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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