Andreas Klauer
2005-Apr-25 07:00 UTC
Re: Immediately drop packet for default class ini htb
On Monday 25 April 2005 15:19, Daniel Harold L. wrote:> How to immediately drop packet for default class in htb ? I`m using > kernel 2.6.5+htb+imq ... > I have to immediately drop packet that flow in default class because > that class have queue length 1000 packets before dropping packet ... :((Well, it all depends on how a packet ends up in your default class. For example, if you use iptables for packet marking, you could let iptables drop all packages that were not marked. This would be the best way to go. If that''s not possible, you could probably try to attach another qdisc to your default HTB class (leaf classes can be parents for qdiscs), which then just drops all the packets flowing into it (any rate limiter set to a very low rate should do). However, that''s not a very clean solution, and might cause other problems, I''m not sure ;-) HTH Andreas
Hello, How to immediately drop packet for default class in htb ? I`m using kernel 2.6.5+htb+imq ... I have to immediately drop packet that flow in default class because that class have queue length 1000 packets before dropping packet ... :(( If queue packets in this class is raised to 100 packets or more then traffic out from the interface is slowing down (sometimes can be zero !) for a moment (about 5-10 seconds). Thank you for any help from all .. Regards, Daniel ps. sorry for my bad English :(
Daniel Harold L.
2005-Apr-25 17:16 UTC
Re: Immediately drop packet for default class ini htb
On Monday April 25 2005 09:02, you wrote:> Thanks for Andreas Klauer, I have workaround for this problem. > By default..default class in htb has 1000 packets length queue, so I just > attach an sfq qdisc to solve this problem. > > Best regards, > > Daniel