From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Pesin Date: Wed, 17 Dec 2003 08:40:06 +0000 Subject: [LARTC] imq crash investigation Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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: RATE7 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/