Re: clogging qdisc
Grzegorz Gwóźdź <[email protected]> Thu, 27 Dec 2018 22:26:07 +0000
| Newsgroups | org.kernel.vger.lartc |
|---|---|
| Message-ID | <[email protected]> |
> Are there any "hacks" in TC allowing to look in the guts? > > It looks like it's changing state to "clogged" but > > tc -s class ls dev eth0 > > looks completely normal (only grows number of sfq queues created > dynamically for every connection since more and more connections are > created but not closed) In fact i've noticed something interesting during "clugged" state... a few runs of: tc -s class ls dev eth0 shows that filters sort packets well but packets that goes into suitable classes are dropped: class hfsc 1:1012 parent 1: leaf 1012: sc m1 6144Kbit d 10.0s m2 4096Kbit ul m1 6144Kbit d 10.0s m2 4096Kbit Sent 103306048 bytes 75008 pkt (dropped 12, overlimits 0 requeues 0) backlog 39Kb 127p requeues 0 period 13718 work 103306048 bytes rtwork 103306048 bytes level 0 and after a while: class hfsc 1:1012 parent 1: leaf 1012: sc m1 6144Kbit d 10.0s m2 4096Kbit ul m1 6144Kbit d 10.0s m2 4096Kbit Sent 103306048 bytes 75008 pkt (dropped 116, overlimits 0 requeues 0) backlog 39160b 127p requeues 0 period 13718 work 103306048 bytes rtwork 103306048 bytes level 0 "Sent" stands still and all packets are "dropped" Some classes passes packets but as time goes by more and more classes stops passing and starts dropping. GG