From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?Micha=B3_Margula?= Date: Wed, 12 Apr 2006 19:26:01 +0000 Subject: [LARTC] ESFQ not so fair? Message-Id: <443D5449.20706@uznam.net.pl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello! I am using since yesterday ESFQ instead of N HTB queues. It mostly=20 works OK, but when somebody is using one single sesion (for example=20 downloading file via FTP), it gets weird speed. For example it is 20=20 kilobytes pres second, then drops down to 9, then 20 again, and then=20 slowly to 0 and stops. But when using download accelererator of some=20 kind or bittorrent client which uses many connections, speed seems to be=20 stable. I am using esfq that way: qdisc add dev eth0 parent 1:4 handle 4:0 esfq perturb 600 hash fwmark=20 divisor 13 qdisc add dev eth1 parent 1:2 handle 2:0 esfq perturb 600 hash dst=20 divisor 13 On eth0 every IP is marked with different value by IPMARK module. On=20 eth1 it is not necessary so I use dst hash. I have more values than 2^13=20 so I can't use direct hash. Any ideas? Is it possible to use bigger divisor or algorithm is not=20 designed to deal with bigger hash? Any ideas will be appreciated! --=20 Micha=B3 Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/ "W =BFyciu pi=EAkne s=B1 tylko chwile" [Ryszard Riedel] _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc