Date: Mon, 11 Jul 2011 14:02:22 +0200 From: Vlad Galu <dudu@dudu.ro> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: "net@freebsd.org" <net@freebsd.org> Subject: Re: Repeating kernel panic within dummynet Message-ID: <30BDDC28-275C-4DAA-9AC8-621F36A19D3B@dudu.ro> In-Reply-To: <4E1AE3C8.8030708@rdtc.ru> References: <4E1AE1AD.4020907@rdtc.ru> <833EECF8-245B-4085-B853-AC753DBE0D19@dudu.ro> <4E1AE3C8.8030708@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 11, 2011, at 1:51 PM, Eugene Grosbein wrote: > 11.07.2011 18:45, Vlad Galu пишет: >> >> On Jul 11, 2011, at 1:42 PM, Eugene Grosbein wrote: >> >>> Hi! >>> >>> My FreeBSD 8.2/amd64 routers use dummynet heavily >>> and keep panic with the *same* KDB backtrace: >>> >>> dummynet: bad switch -256! > > Forgot to mention that I use io_fast dummynet mode > and have increased pipe lengths: > > net.inet.ip.dummynet.pipe_slot_limit=1000 > net.inet.ip.dummynet.io_fast=1 > > Distinct pipes do really use long lengths. > >>> Sadly, I cannot add options INVARIANTS to the kernel because it makes my mpd-based >>> routers to panic very often (every 2-3 hours) due to famous 'dangling pointer' >>> problem - PPPoE user disconnects, its ngXXX interface got removed, then its traffic >>> goes out various system queues (netisr, dummynet etc.) and another kind of panic >>> occurs due to INVARIANTS' references to non-existent ifp. >> >> Hi Eugene, >> If your ISR threads aren't already bound to CPUs, you can bind them and try using INVARIANTS. > > Please explain how to bind them. I have 4-core boxes with 4 NICs grouped to 2 laggs, > one lagg(4) for uplink and another one for downlink. > net.isr.bindthreads=1 I'm not sure how and if that would help your particular setup, but it did so in Adrian Minta's recent netgraph/mpd experiments. According to an off-list chat I had with him, the machine would panic unless the ISRs were bound. > Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30BDDC28-275C-4DAA-9AC8-621F36A19D3B>
