* [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
@ 2003-06-18 11:29 David Watson
2003-06-18 16:43 ` Stef Coene
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: David Watson @ 2003-06-18 11:29 UTC (permalink / raw)
To: lartc
Hello,
I delete and recreate my root HTB qdiscs every minute as part of my rdd
logging.
From archive this seems to have come up a couple of times before although
I dont see a resolution on the list, any advice on how I can find out what
the problem is?
Thanks
I get the following errors logged:
Jun 18 12:15:01 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:15:01 hostname kernel: KERNEL: assertion (cl &&
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:15:02 hostname last message repeated 14 times
Jun 18 12:15:02 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:15:02 hostname kernel: KERNEL: assertion (cl &&
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:15:02 hostname last message repeated 15 times
Jun 18 12:15:03 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:16:00 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:16:01 hostname last message repeated 3 times
Jun 18 12:16:06 hostname kernel: KERNEL: assertion (cl &&
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:16:06 hostname kernel: htb: class 10029 isn't work conserving ?!
Jun 18 12:16:06 hostname kernel: KERNEL: assertion (cl &&
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:16:37 hostname last message repeated 433 times
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
@ 2003-06-18 16:43 ` Stef Coene
2003-06-18 18:53 ` Giannis Stoilis
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stef Coene @ 2003-06-18 16:43 UTC (permalink / raw)
To: lartc
On Wednesday 18 June 2003 13:29, David Watson wrote:
> Hello,
> I delete and recreate my root HTB qdiscs every minute as part of my rdd
> logging.
Why????? That's not needed.
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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
2003-06-18 16:43 ` Stef Coene
@ 2003-06-18 18:53 ` Giannis Stoilis
2003-06-18 19:10 ` Stef Coene
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Giannis Stoilis @ 2003-06-18 18:53 UTC (permalink / raw)
To: lartc
Stef Coene wrote:
> On Wednesday 18 June 2003 13:29, David Watson wrote:
>> Çello,
>>I delete and recreate my root HTB qdiscs every minute as part of my rdd
>>logging.
>
> Why????? That's not needed.
Never mind that. The most important issue here is that when you delete
your queues, any packet that happens to pass through them at that time,
are LOST!
- Giannis Stoilis.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
2003-06-18 16:43 ` Stef Coene
2003-06-18 18:53 ` Giannis Stoilis
@ 2003-06-18 19:10 ` Stef Coene
2003-06-18 19:17 ` Giannis Stoilis
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stef Coene @ 2003-06-18 19:10 UTC (permalink / raw)
To: lartc
On Wednesday 18 June 2003 20:53, Giannis Stoilis wrote:
> Stef Coene wrote:
> > On Wednesday 18 June 2003 13:29, David Watson wrote:
> >> Çello,
> >>I delete and recreate my root HTB qdiscs every minute as part of my rdd
> >>logging.
> >
> > Why????? That's not needed.
>
> Never mind that. The most important issue here is that when you delete
> your queues, any packet that happens to pass through them at that time,
> are LOST!
Are you sure? I never tested it.
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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
` (2 preceding siblings ...)
2003-06-18 19:10 ` Stef Coene
@ 2003-06-18 19:17 ` Giannis Stoilis
2003-06-18 19:55 ` Stef Coene
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Giannis Stoilis @ 2003-06-18 19:17 UTC (permalink / raw)
To: lartc
Stef Coene wrote:
> On Wednesday 18 June 2003 20:53, Giannis Stoilis wrote:
>>Never mind that. The most important issue here is that when you delete
>>your queues, any packet that happens to pass through them at that time,
>>are LOST!
>
> Are you sure? I never tested it.
This is how I know it:
I constantly ping my linux server from another pc. At some poing I
delete and recreate my queues. From the pc that pings my linux server, I
can see the replies coming, and at the point of the restart I have
missed pinging replies and at the point after the qdisc creation, I can
see the icmp replies coming back again.
Either every packet is lost at qdisc removal, or something else, same as
nasty, is happening...
You should try it and see...
Also, if you have monitor_tc running at that time, you can see it dump
some nice negative values...
- Giannis
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
` (3 preceding siblings ...)
2003-06-18 19:17 ` Giannis Stoilis
@ 2003-06-18 19:55 ` Stef Coene
2003-06-20 15:20 ` David Watson
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stef Coene @ 2003-06-18 19:55 UTC (permalink / raw)
To: lartc
On Wednesday 18 June 2003 21:17, Giannis Stoilis wrote:
> Stef Coene wrote:
> > On Wednesday 18 June 2003 20:53, Giannis Stoilis wrote:
> >>Never mind that. The most important issue here is that when you delete
> >>your queues, any packet that happens to pass through them at that time,
> >>are LOST!
> >
> > Are you sure? I never tested it.
>
> This is how I know it:
> I constantly ping my linux server from another pc. At some poing I
> delete and recreate my queues. From the pc that pings my linux server, I
> can see the replies coming, and at the point of the restart I have
> missed pinging replies and at the point after the qdisc creation, I can
> see the icmp replies coming back again.
> Either every packet is lost at qdisc removal, or something else, same as
> nasty, is happening...
> You should try it and see...
> Also, if you have monitor_tc running at that time, you can see it dump
> some nice negative values...
:)
That's because the counters are resetten so the values are negative at that
time. But that will not say are packets are gone. However, your ping test
proves it.
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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
` (4 preceding siblings ...)
2003-06-18 19:55 ` Stef Coene
@ 2003-06-20 15:20 ` David Watson
2003-06-20 19:41 ` Giannis Stoilis
2003-07-03 12:06 ` Stef Coene
7 siblings, 0 replies; 9+ messages in thread
From: David Watson @ 2003-06-20 15:20 UTC (permalink / raw)
To: lartc
I was recreating the qdiscs so that changes would be picked up
automatically and not disturb the rrdtool generation, I've switched to a
counter and cut out the resets.
I did do a lot of ping tests and cannot replicate losing packets
however.
Thanks
At 21:55 18/06/2003 +0200, you wrote:
>On Wednesday 18 June 2003 21:17, Giannis Stoilis wrote:
> > Stef Coene wrote:
> > > On Wednesday 18 June 2003 20:53, Giannis Stoilis wrote:
> > >>Never mind that. The most important issue here is that when you delete
> > >>your queues, any packet that happens to pass through them at that time,
> > >>are LOST!
> > >
> > > Are you sure? I never tested it.
> >
> > This is how I know it:
> > I constantly ping my linux server from another pc. At some poing I
> > delete and recreate my queues. From the pc that pings my linux server, I
> > can see the replies coming, and at the point of the restart I have
> > missed pinging replies and at the point after the qdisc creation, I can
> > see the icmp replies coming back again.
> > Either every packet is lost at qdisc removal, or something else, same as
> > nasty, is happening...
> > You should try it and see...
> > Also, if you have monitor_tc running at that time, you can see it dump
> > some nice negative values...
>:)
>That's because the counters are resetten so the values are negative at that
>time. But that will not say are packets are gone. However, your ping test
>proves it.
>
>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/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
` (5 preceding siblings ...)
2003-06-20 15:20 ` David Watson
@ 2003-06-20 19:41 ` Giannis Stoilis
2003-07-03 12:06 ` Stef Coene
7 siblings, 0 replies; 9+ messages in thread
From: Giannis Stoilis @ 2003-06-20 19:41 UTC (permalink / raw)
To: lartc
David Watson wrote:
> I did do a lot of ping tests and cannot replicate losing packets
> however.
Hmmm, let me get back to you on this. I will test it again on Monday...
- Giannis
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen)
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
` (6 preceding siblings ...)
2003-06-20 19:41 ` Giannis Stoilis
@ 2003-07-03 12:06 ` Stef Coene
7 siblings, 0 replies; 9+ messages in thread
From: Stef Coene @ 2003-07-03 12:06 UTC (permalink / raw)
To: lartc
On Thursday 03 July 2003 13:14, lartc@go.ro wrote:
> yes I think it depends on traffic...
> but why this?
> PS
> 1) http://qos.dyndns.org:3389/cgi-bin/fom?file@ what should I use on my
> K6 ??? default it's PSCHED_JIFFIES, i think!!
I'm not sure but if you do cat /proc/cpuinfo, do you seetsc in the flags? I
think that means your cpu has a timestamp counter.
> 2) http://qos.dyndns.org:3389/cgi-bin/fom?fileV those filter destroy
> patches are applyed in 2.4.21 ??
Yes.
> 3) http://qos.dyndns.org:3389/cgi-bin/fom?file! What SFQ latency should I
> use?
> SFQ qdisc has a default queue length of 128 packets!!!!
Try the default sfq and see if that's enough. If not, you can try to change
the queue depth.
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/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-07-03 12:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 11:29 [LARTC] HTB Kernel log (cl && cl->un.leaf.q->q.qlen) David Watson
2003-06-18 16:43 ` Stef Coene
2003-06-18 18:53 ` Giannis Stoilis
2003-06-18 19:10 ` Stef Coene
2003-06-18 19:17 ` Giannis Stoilis
2003-06-18 19:55 ` Stef Coene
2003-06-20 15:20 ` David Watson
2003-06-20 19:41 ` Giannis Stoilis
2003-07-03 12:06 ` Stef Coene
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.