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 -- "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,> 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 - sanyi@sigmasoft.ro 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=9AjQ -----END PGP SIGNATURE----- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> tc qdisc add dev ethX parent HTBCLASS handle QDISC pfifo limit 10Thanks guys, reducing the queue length to 10 packets the delay decreased from about 2600ms (2.6 seconds) to 80ms. That helps a lot! Regards -- "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/