Skip to contentSkip to conversation

HTB latency

LARTC [email protected] 2 participants 3 messages Jun 1, 2004 – Jun 9, 2004

lore
Share & tools
lore
#0 lore raw

Hi list,

playing around with HTB showed that it may introduces pretty much latency for our setup. Docum.org says the following:

"The default qdisc added to a htb class is pfifo_fast qdisc. The size of the qdisc is the device queue length and this is 100 packets for an ethernet device. So if you want to have a shorter queue, you have to add a shorter qdisc to the htb qdisc."

Can someone point me how to reduce this queue length or wich else qdisc I can use to improve latency? All I need is a short queue in addition to the shaping accuracy of HTB. Things like SFQ don't help. CBQ is a bit faster but
far more inaccurate.

Thanks for any help!

Regards

Signature · 6 lines
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Quoted 4 lines

Can someone point me how to reduce this queue length or wich else qdisc I can use to improve latency? All I need is a short queue in addition to the shaping accuracy of HTB. Things like SFQ don't help. CBQ is a bit faster but
far more inaccurate.

tc qdisc add dev ethX parent HTBCLASS handle QDISC pfifo limit 10 HTBCLASS - parent class (like 1:10)
QDISC - id of the new qdisc (like 10:0 )

will add the 10: pfifo qdisc with a queue length of 10 packets.

- --
Marton Sandor - [email protected]
GPG id: 0x32825B5A , www.keyserver.net
Ne kapkodjunk, mert meg leverunk valamit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAvTKLKiUXNzKCW1oRAktmAJ4zbpzjGFi670Oie8bt+BQC8dn+JwCgiSKw E0rborpXewFfX7eoWQB7E6cšjQ
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to [email protected]
Quoted 1 line

tc qdisc add dev ethX parent HTBCLASS handle QDISC pfifo limit 10

Thanks guys, reducing the queue length to 10 packets the delay decreased from about 2600ms (2.6 seconds) to 80ms. That helps a lot!

Regards

Signature · 6 lines
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/