This is the output I get from tc -s -d class show dev eth0 and eth1: serv:~# tc -s -d class show dev eth0 class htb 1:99 parent 1:1 leaf 990: prio 7 quantum 2560 rate 20Kbit ceil 90Kbit burst 1624b/8 mpu 0b cburst 1714b/8 mpu 0b level 0 Sent 4693480 bytes 28021 pkts (dropped 0, overlimits 0) rate 470bps 2pps lended: 26883 borrowed: 1138 giants: 0 tokens: 502079 ctokens: 117973 class htb 1:1 root rate 100Kbit ceil 100Kbit burst 1727b/8 mpu 0b cburst 1727b/8 mpu 0b level 7 Sent 38956319 bytes 489172 pkts (dropped 0, overlimits 0) rate 1771bps 18pps lended: 2994 borrowed: 0 giants: 0 tokens: 101376 ctokens: 101376 class htb 1:2 parent 1:1 prio 1 quantum 2560 rate 20Kbit ceil 20Kbit burst 1624b/8 mpu 0b cburst 1624b/8 mpu 0b level 0 Sent 33941 bytes 221 pkts (dropped 0, overlimits 0) lended: 221 borrowed: 0 giants: 0 tokens: 333119 ctokens: 333119 class htb 1:3 parent 1:1 leaf 30: prio 3 quantum 7680 rate 60Kbit ceil 90Kbit burst 1675b/8 mpu 0b cburst 1714b/8 mpu 0b level 0 Sent 34228898 bytes 460930 pkts (dropped 0, overlimits 0) rate 1362bps 17pps lended: 459074 borrowed: 1856 giants: 0 tokens: 163413 ctokens: 111717 serv:~# tc -s -d class show dev eth1 class htb 2:99 parent 2:1 leaf 299: prio 5 quantum 3840 rate 30Kbit ceil 90Kbit burst 1637b/8 mpu 0b cburst 1714b/8 mpu 0b level 0 Sent 109217144 bytes 335470 pkts (dropped 0, overlimits 0) rate 1927bps 13pps lended: 277195 borrowed: 58275 giants: 0 tokens: 244309 ctokens: 103297 class htb 2:1 root rate 100Kbit ceil 100Kbit burst 1727b/8 mpu 0b cburst 1727b/8 mpu 0b level 7 Sent 172060944 bytes 480526 pkts (dropped 0, overlimits 0) rate 2186bps 14pps lended: 68187 borrowed: 0 giants: 0 tokens: 96257 ctokens: 96257 class htb 2:2 parent 2:1 prio 1 quantum 8960 rate 70Kbit ceil 90Kbit burst 1688b/8 mpu 0b cburst 1714b/8 mpu 0b level 0 Sent 62843800 bytes 145056 pkts (dropped 18, overlimits 0) rate 259bps lended: 135144 borrowed: 9912 giants: 0 tokens: 150034 ctokens: 118543 > On Monday 27 October 2003 23:37, Mihai Tanasescu wrote: > > I currently have a 128kbps cable link to the internet..and I'm sharing > > this connection with others. > > I've made the following script(for alocating bandwidth depending on the > > services used: browsing, squid, games like counter-strike, icmp, ssh), > > which unfortunately isn't working very well as the response times I'm > > getting upon pinging the server are almost the same I get without the > > htb script being loaded. > > Any ideas ? > > > > 2. > > > > I have the same problem with a htb script on an adsl connection (with > > the htb script I get ping response times of 80-90..without it I get > > 200-300 ms...but these response times aren't very stable..it's > > something > > like I'm getting 40 ms..then 100 ms..then 50 ms..) > > > > Sorry about the size of this message. > No problem. > I don't see a problem with your script, but can you also post the output of tc > -s -d class show dev eth0. And for eth1? > > Stef > > -- > stef.coene@xxxxxxxxx > "Using Linux as bandwidth manager" > http://www.docum.org/ > #lartc @ irc.openprojects.net > > _______________________________________________ > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/