Re: [PATCH] sched: QFQ - quick fair queue scheduler (v2)

Eric Dumazet
2011-03-03T15:25:46Z

Le jeudi 03 mars 2011 à 16:07 +0100, Fabio Checconi a écrit :

> A question on the data below:
>
> > After a stress (and no more trafic) I still have some packets in
> > backlog:
> >
> > (8 packets here)
> >
> ...
> > class qfq 11:10 root weight 1600 maxpkt 2048
> > Sent 200 bytes 1 pkt (dropped 18181, overlimits 0 requeues 0)
> > rate 0bit 0pps backlog 200b 0p requeues 0
>
> Any other reason, apart from a bug in QFQ, why there could be 200b and
> 0p of backlog? A packet count out of sync could explain also why you
> were experiencing problems with pfifo in presence of drops...

My packets are all 200 bytes (from my packet generator)

qfq_dump_class_stats() probably miss one line :

scl->bstats.qlen = cl->qdisc->q.qlen;