[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <478D9222.7030603@trash.net>
Date: Wed, 16 Jan 2008 06:12:02 +0100
From: Patrick McHardy <kaber@...sh.net>
To: slavon@...telecom.ru
CC: Jarek Poplawski <jarkao2@...il.com>, netdev@...r.kernel.org
Subject: Re: Packetlost when "tc qdisc del dev eth0 root"
slavon@...telecom.ru wrote:
> Good night! =)
>
> Sorry... i was wrong...
> I see that problem more serious....
>
> Lets see to scheme
>
> Class 1
> ---qdisc
> ------- 10k classes
> Class 2
> ---qdisc
> ------- 10k classes
>
> All traffic go to class 2... class 1 qdisc not have packets and if we
> delete it - packets not lost... in theory... lets try delete class 1
> qdisc (all childrens delete too)...
> PC freeze on 2-5 seconds... its not forward any traffic at this
> moment... its great tree lock?
>
> Its normal or code need to more accurate lock?
htb class destruction can be quite expansive if one of the rb trees
needs to be rebalanced. Doing that for 10000 classes would explain
the delay.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists