From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brian J. Murrell" Date: Sun, 04 Dec 2005 16:05:07 +0000 Subject: Re: [LARTC] HTB - prio and rate Message-Id: <1133712309.15937.19.camel@pc.local> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0021440027==" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --===============0021440027== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4rPOqNxJMwa3C88H56at" --=-4rPOqNxJMwa3C88H56at Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-12-04 at 10:14 -0500, Jeffrey B. Ferland wrote: > To prioritize, you must classify. HTB allows prioritization and > classification... and limitation as well. Seems the combination of TBF and PRIO does too. > Attaching something like this: Root --> TBF --> Prio would be nice, > but I haven't succeeded in ever attaching anything to a TBF.. or any > other "classless" qdisc. Hrm. I *think* that is what I have done with the help of http://edseek.com/~jasonb/articles/traffic_shaping/scenarios.html#guarprio qdisc tbf 1: rate 120000bit burst 1199b lat 4294.9s Sent 26658509 bytes 511623 pkt (dropped 176, overlimits 8118 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 qdisc prio 2: parent 1:1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 26658509 bytes 511623 pkt (dropped 0, overlimits 0 requeues 8118) rate 0bit 0pps backlog 0b 0p requeues 8118 qdisc sfq 10: parent 2:1 limit 128p quantum 1452b perturb 20sec Sent 3525247 bytes 56520 pkt (dropped 0, overlimits 0 requeues 88) rate 0bit 0pps backlog 0b 0p requeues 88 qdisc sfq 20: parent 2:2 limit 128p quantum 1452b perturb 20sec Sent 1939846 bytes 19450 pkt (dropped 0, overlimits 0 requeues 5457) rate 0bit 0pps backlog 0b 0p requeues 5457 qdisc sfq 30: parent 2:3 limit 128p quantum 1452b perturb 20sec Sent 21193416 bytes 435653 pkt (dropped 0, overlimits 0 requeues 2573) rate 0bit 0pps backlog 0b 0p requeues 2573 I'm using iptables/pp2p to classify bittorrent into 2:3 and it seems to be working just fine (even classifying the outgoing ACKs from the bittorrent download there) while I have classified "ping" into 2:1 and it seems to be working there. b. --=20 My other computer is your Microsoft Windows server. Brian J. Murrell --=-4rPOqNxJMwa3C88H56at Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDkxOzl3EQlGLyuXARAsG5AJ9c8AFFHKTu9Z6H5BHgqWE5lMsWSgCguUz2 ZBtqnizVA5s7tSKwVxAHM5g= =fjkd -----END PGP SIGNATURE----- --=-4rPOqNxJMwa3C88H56at-- --===============0021440027== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0021440027==--