From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Samad Date: Thu, 21 Oct 2004 09:59:42 +0000 Subject: [LARTC] how to read the stats Message-Id: <20041021095942.GP27259@samad.com.au> MIME-Version: 1 Content-Type: multipart/mixed; boundary="5tiY7shzwSGI9p6W" List-Id: To: lartc@vger.kernel.org --5tiY7shzwSGI9p6W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi I have setup iproute2 and need a bit of help reading the stats from it =3D=3D=3D=3D=3D output qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17 Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572 requeues 0)=20 backlog 46p=20 qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec=20 Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)=20 qdisc sfq 20: limit 128p quantum 1514b flows 128/1024 perturb 10sec=20 Sent 10136008 bytes 69886 pkts (dropped 0, overlimits 0 requeues 0)=20 qdisc sfq 30: limit 128p quantum 1514b flows 128/1024 perturb 10sec=20 Sent 495316458 bytes 541852 pkts (dropped 9303, overlimits 0 requeues 0)=20 backlog 46p=20 >>>> This I belive is my parent class is has access to the whole 64Kbit class htb 1:1 root rate 64Kbit ceil 64Kbit burst 80b/8 mpu 0b overhead 0b cburst 1507b/8 mpu 0b overhead 0b level 7=20 Sent 542500093 bytes 1342581 pkts (dropped 0, overlimits 0 requeues 0)=20 rate 7201bit 20pps=20 lended: 322826 borrowed: 0 giants: 0 tokens: -228224 ctokens: -45568 class htb 1:10 parent 1:1 leaf 10: prio 1 quantum 8 rate 57Kbit ceil 64Kbit burst 80b/8 mpu 0b overhead 0b cburst 1507b/8 mpu 0b overhead 0b level 0=20 Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)=20 rate 681bit 12pps=20 lended: 730878 borrowed: 11 giants: 0 tokens: 2966 ctokens: 185856 class htb 1:20 parent 1:1 leaf 20: prio 2 quantum 8 rate 32Kbit ceil 57Kbit burst 80b/8 mpu 0b overhead 0b cburst 71b/8 mpu 0b overhead 0b level 0=20 Sent 10136008 bytes 69886 pkts (dropped 0, overlimits 0 requeues 0)=20 rate 302bit 1pps=20 lended: 68718 borrowed: 1168 giants: 0 tokens: -149248 ctokens: -73584 >>>> this is the low bandwidth class (bittorrent etc) class htb 1:30 parent 1:1 leaf 30: prio 3 quantum 8 rate 25Kbit ceil 51Kbit burst 63b/8 mpu 0b overhead 0b cburst 47b/8 mpu 0b overhead 0b level 0=20 Sent 495316458 bytes 541852 pkts (dropped 9303, overlimits 0 requeues 0)=20 >>> THIS is the line I have problems understanding >>> I read it as 6190bit/sec which seems to be way lower than the 25Kbit >>> set for the rate and much lower than the ceil >>> so why do I have a backlog rate 6190bit 7pps backlog 46p=20 lended: 220159 borrowed: 321647 giants: 0 tokens: -493609 ctokens: -242500 Having said all that it does seem to be limiting to 25Kbit, with burst upto 51 ! This is on a patched debian 2.6.8 kernel (pom-ng patch'ed) and iproute2-ss0= 40831 Thanks Alex --5tiY7shzwSGI9p6W Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBd4iOkZz88chpJ2MRAoBzAJ4rjIW96+psFo/HN8Nata9Mnnpm1QCeMyYS cJUTPXy8UHT2L+FNxv5a6kQ= =EVD6 -----END PGP SIGNATURE----- --5tiY7shzwSGI9p6W-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/