tek@sinergis.fr
2002-Oct-15 11:26 UTC
Réf. : Re: [LARTC] trying to use wondershaper on a dedicated line (not adsl)
here''s the output : # tc -s -d class show dev eth0 class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 10Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 23us Sent 294 bytes 7 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 605 undertime 0 class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight 100Kbit allot 1600b level 0 ewma 5 avpkt 1000b maxidle 23us Sent 12274 bytes 203 pkts (dropped 0, overlimits 19) borrowed 0 overactions 7 avgidle 624 undertime 0 class cbq 1:1 parent 1: rate 100Kbit cell 8b (bounded,isolated) prio 5/5 weight 100Kbit allot 1500b level 1 ewma 5 avpkt 1000b maxidle 23us Sent 38320 bytes 242 pkts (dropped 0, overlimits 0) borrowed 1 overactions 0 avgidle 624 undertime 0 class cbq 1:20 parent 1:1 leaf 20: rate 90Kbit cell 8b prio 2/2 weight 90Kbit allot 1600b level 0 ewma 5 avpkt 1000b maxidle 23us Sent 26046 bytes 39 pkts (dropped 0, overlimits 3) borrowed 1 overactions 2 avgidle -12928 undertime -211540 class cbq 1:30 parent 1:1 leaf 30: rate 80Kbit cell 8b prio 2/2 weight 80Kbit allot 1600b level 0 ewma 5 avpkt 1000b maxidle 23us Sent 0 bytes 0 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 624 undertime 0> I''ve changed the speed in the top of the script, it effectively reducethe> download speed, but no luck with response time ...The reduce in download speed means that you have everything you need and the script is working. But the ping should also go down. Can you send me/post the output of tc -s -d class show dev eth0 ?? Pascal. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Stef Coene
2002-Oct-15 18:42 UTC
Re: Réf. :Re: [LARTC]trying to use wondershaper on a dedicated line (not adsl)
On Tuesday 15 October 2002 13:26, tek@sinergis.fr wrote:> here''s the output : > > # tc -s -d class show dev eth0 > > class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio > no-transmit/8 weight 10Mbit allot 1514b > level 2 ewma 5 avpkt 1000b maxidle 23us > Sent 294 bytes 7 pkts (dropped 0, overlimits 0) > borrowed 0 overactions 0 avgidle 605 undertime 0 > class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight > 100Kbit allot 1600b > level 0 ewma 5 avpkt 1000b maxidle 23us > Sent 12274 bytes 203 pkts (dropped 0, overlimits 19) > borrowed 0 overactions 7 avgidle 624 undertime 0 > class cbq 1:1 parent 1: rate 100Kbit cell 8b (bounded,isolated) prio 5/5 > weight 100Kbit allot 1500b > level 1 ewma 5 avpkt 1000b maxidle 23us > Sent 38320 bytes 242 pkts (dropped 0, overlimits 0) > borrowed 1 overactions 0 avgidle 624 undertime 0 > class cbq 1:20 parent 1:1 leaf 20: rate 90Kbit cell 8b prio 2/2 weight > 90Kbit allot 1600b > level 0 ewma 5 avpkt 1000b maxidle 23us > Sent 26046 bytes 39 pkts (dropped 0, overlimits 3) > borrowed 1 overactions 2 avgidle -12928 undertime -211540 > class cbq 1:30 parent 1:1 leaf 30: rate 80Kbit cell 8b prio 2/2 weight > 80Kbit allot 1600b > level 0 ewma 5 avpkt 1000b maxidle 23us > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > borrowed 0 overactions 0 avgidle 624 undertime 0The filters are working because each class has send something. I don''t think there s a problem with the script:setup. The ping times should be lower. Strange. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/