> Ok, now I see the code where htb creates a default pfifo queue > for its leaves. And I can't see what limits the pfifo queue size... > Got to read more code... And finally I understand. pfifo_fast has a queue length, but it is taken from the device's queue length, which in the case of ethernet devices is 100 packets. I bet there is a way to either change that, or use a different qdisc so the length can be configured. I guess I answered my own question.
> And finally I understand. pfifo_fast has a queue length, but it > is taken from the device's queue length, which in the case of > ethernet devices is 100 packets. > > I bet there is a way to either change that, or use a different > qdisc so the length can be configured. :) you got it. The correct way is to attach fifo with your own limit to a class. devik