esfq testing !

Linux Advanced Routing and Traffic Control

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

 



Hi, 

I'm have a linux router like this:

ADSL modem-->(eth0) Linux Router (eth1)<--->LAN (6 hosts)

Since I want to apply fairness to 6 hosts LAN, 
I have compiled kernel 2.4.20-8 with patch esfq 0.2
(and iproute2 with patch esfq too.)

Next, I run folow script:

--------------------------------------------
#!/usr/bin

TC="/sbin/tc"

$TC qdisc del dev eth1 root 2> /dev/null > /dev/null

$TC qdisc add dev eth1 root handle 1:0 esfq perturb 0 hash dst

$TC class show dev eth1
$TC qdisc show dev eth1
$TC filter show dev eth1
--------------------------------------------
And it shows me:

qdisc esfq 1: quantum 1514b hash: dst


Next, I make test from server to LAN hosts,
and put iptraf in order to make measures.

when I do:

# nohup ping 192.168.1.3 -f &   (a LAN HOST)
# nohup ping 192.168.1.6 -f &   (other LAN HOST)

iptraf shows me equal bandwidth to that hosts.

but if I repeat pings for one of that hosts:

# nohup ping 192.168.1.6 -f &   (other LAN HOST)
# nohup ping 192.168.1.6 -f &   (other LAN HOST)
# nohup ping 192.168.1.6 -f &   (other LAN HOST)

iptraf shows me that 192.168.1.6 get more bandwidth
that 192.168.1.3

Then seems ESFQ behaviour is like SFQ... 

what is wrong ????

I have ESFQ compiled like module.
Also I've tried put ESFQ inside a HTB class but
ESFQ behaviour is equal like above example.

Where is the problem ?

Thank you !!!
Mac














_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
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