* [LARTC] Immediately drop packet for default class ini htb
@ 2005-04-25 3:57 Daniel Harold L.
2005-04-25 7:00 ` Andreas Klauer
2005-04-25 8:43 ` Daniel Harold L.
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Harold L. @ 2005-04-25 3:57 UTC (permalink / raw)
To: lartc
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 :(
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Immediately drop packet for default class ini htb
2005-04-25 3:57 [LARTC] Immediately drop packet for default class ini htb Daniel Harold L.
@ 2005-04-25 7:00 ` Andreas Klauer
2005-04-25 8:43 ` Daniel Harold L.
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Klauer @ 2005-04-25 7:00 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Immediately drop packet for default class ini htb
2005-04-25 3:57 [LARTC] Immediately drop packet for default class ini htb Daniel Harold L.
2005-04-25 7:00 ` Andreas Klauer
@ 2005-04-25 8:43 ` Daniel Harold L.
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Harold L. @ 2005-04-25 8:43 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-25 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25 3:57 [LARTC] Immediately drop packet for default class ini htb Daniel Harold L.
2005-04-25 7:00 ` Andreas Klauer
2005-04-25 8:43 ` Daniel Harold L.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.