All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] imq crash investigation
@ 2003-12-17  8:40 Ivan Pesin
  2003-12-17 15:16 ` Roy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ivan Pesin @ 2003-12-17  8:40 UTC (permalink / raw)
  To: lartc

Hello.

As you know Patrick McHardy stopped to support IMQ. As for now, this 
stuff has an annoying problem and I've made a little investigation of 
it. So, maybe it will be useful for someone.

First, pass all traffic of the interface (as in, as out) though imq 
device. Something like:

iptables -t mangle -I PREROUTING -i $DEV -j IMQ
iptables -t mangle -I POSTROUTING -o $DEV -j IMQ

This works ok. At least, after a day of running this setup seems to be 
stable. Now, lets attach a qdisc to imq:

RATE\x187
tc qdisc add dev imq0 handle 1: root tbf rate ${RATE}kbit \
     burst 15kb/8 limit 15kb

Ok, here it is. After some time (minutes,hours) I get a kernel panic.

As far as I know, IMQ is the _only_ way for now in Linux to limit the 
total bandwidth of the link (in+out). It would be excellent if somebody, 
  enough expirenced in kernel hacking, will be so kind to fix that problem.

Best regards,
   Ivan Pesin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-17 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17  8:40 [LARTC] imq crash investigation Ivan Pesin
2003-12-17 15:16 ` Roy
2003-12-17 16:43 ` Ivan Pesin
2003-12-17 21:32 ` Roy

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.