Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] esfq testing !
@ 2003-10-25 22:00 ThE PhP_KiD
  0 siblings, 0 replies; only message in thread
From: ThE PhP_KiD @ 2003-10-25 22:00 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-25 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-25 22:00 [LARTC] esfq testing ! ThE PhP_KiD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox