All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc class show problem with HTB ?
@ 2002-01-03  7:19 Tommy Wu
  2002-01-03 11:48 ` devik
  0 siblings, 1 reply; 2+ messages in thread
From: Tommy Wu @ 2002-01-03  7:19 UTC (permalink / raw)
  To: lartc

Hi!

   I'm using 2.4.17 + htb2_2.4.16.diff now.
   But I found the tc class show command won't show the correct infomation like before...
   I got something like:
   
# tc -s -d class show dev eth0
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
   
# tc -s qdisc
qdisc ingress ffff: dev eth0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc sfq 99: dev eth0 quantum 1514b perturb 10sec
 Sent 209435 bytes 1201 pkts (dropped 0, overlimits 0)

 qdisc sfq 32: dev eth0 quantum 1514b perturb 10sec
 Sent 8533 bytes 79 pkts (dropped 0, overlimits 0)

 qdisc sfq 31: dev eth0 quantum 1514b perturb 10sec
 Sent 664840 bytes 874 pkts (dropped 0, overlimits 0)

 qdisc sfq 20: dev eth0 quantum 1514b perturb 10sec
 Sent 16200 bytes 288 pkts (dropped 0, overlimits 0)

 qdisc sfq 10: dev eth0 quantum 1514b perturb 10sec
 Sent 32727 bytes 327 pkts (dropped 0, overlimits 0)

 qdisc htb 1: dev eth0
 Sent 931735 bytes 2769 pkts (dropped 0, overlimits 912)

  Is there any patch I miss ?
  The old HTB patch for 2.4.14 show correct infomation here, but it'll got 
  message like HTB timer > 5 sec...
   
-- 

    Tommy Wu
    mailto:tommy@teatime.com.tw
    http://www.teatime.com.tw/~tommy
    ICQ: 22766091
    Mobile Phone: +886 936 909490
    TeaTime BBS +886 2 31515964 24Hrs V.Everything




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] tc class show problem with HTB ?
  2002-01-03  7:19 [LARTC] tc class show problem with HTB ? Tommy Wu
@ 2002-01-03 11:48 ` devik
  0 siblings, 0 replies; 2+ messages in thread
From: devik @ 2002-01-03 11:48 UTC (permalink / raw)
  To: lartc

Hello. Rolf Fokkens already send me patch to this. In 2.4.17 there is
change in kernel which causes this bug. As quick repair add line:
#define CONFIG_RTNETLINK 1

just before line:
#define HTB_HSIZE 16

it should help. I'll produce new patch for 2.4.17 but time
is my enemy just now.

devik

On Thu, 3 Jan 2002, Tommy Wu wrote:

> Hi!
>
>    I'm using 2.4.17 + htb2_2.4.16.diff now.
>    But I found the tc class show command won't show the correct infomation like before...
>    I got something like:
>
> # tc -s -d class show dev eth0
> class htb 1: parent 1:
> class htb 1: parent 1:
> class htb 1: parent 1:
> class htb 1: parent 1:
> class htb 1: parent 1:
> class htb 1: parent 1:
> class htb 1: parent 1:
>
> # tc -s qdisc
> qdisc ingress ffff: dev eth0
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 99: dev eth0 quantum 1514b perturb 10sec
>  Sent 209435 bytes 1201 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 32: dev eth0 quantum 1514b perturb 10sec
>  Sent 8533 bytes 79 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 31: dev eth0 quantum 1514b perturb 10sec
>  Sent 664840 bytes 874 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 20: dev eth0 quantum 1514b perturb 10sec
>  Sent 16200 bytes 288 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 10: dev eth0 quantum 1514b perturb 10sec
>  Sent 32727 bytes 327 pkts (dropped 0, overlimits 0)
>
>  qdisc htb 1: dev eth0
>  Sent 931735 bytes 2769 pkts (dropped 0, overlimits 912)
>
>   Is there any patch I miss ?
>   The old HTB patch for 2.4.14 show correct infomation here, but it'll got
>   message like HTB timer > 5 sec...
>
> --
>
>     Tommy Wu
>     mailto:tommy@teatime.com.tw
>     http://www.teatime.com.tw/~tommy
>     ICQ: 22766091
>     Mobile Phone: +886 936 909490
>     TeaTime BBS +886 2 31515964 24Hrs V.Everything
>
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
>



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-03 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-03  7:19 [LARTC] tc class show problem with HTB ? Tommy Wu
2002-01-03 11:48 ` devik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.