Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2010 05:07:29 -0700 (PDT)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Ilya Zhuravlev <ilya@el-crane.net>, kmacy@freebsd.org
Cc:        freebsd-net@freebsd.org, Evgenii Davidov <dado@korolev-net.ru>
Subject:   Re: kern/144917: Flowtable crashes system
Message-ID:  <31285.63437.qm@web63906.mail.re1.yahoo.com>
In-Reply-To: <n2s82c4140e1004022007s2e131268t25f7a7c2238a7586@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Fri, 4/2/10, K. Macy <kmacy@freebsd.org> wrote:=0A=0A> From: K=
. Macy <kmacy@freebsd.org>=0A> Subject: Re: kern/144917: Flowtable crashes =
system=0A> To: "Ilya Zhuravlev" <ilya@el-crane.net>=0A> Cc: freebsd-net@fre=
ebsd.org, "Evgenii Davidov" <dado@korolev-net.ru>=0A> Date: Friday, April 2=
, 2010, 11:07 PM=0A> Please try with the latest 8-STABLE=0A> and tell me if=
 recent changes fix it.=0A> =0A> Thanks,=0A> Kip=0A> =0A> On Thu, Mar 25, 2=
010 at 8:32 AM, Ilya Zhuravlev <ilya@el-crane.net>=0A> wrote:=0A> > On 21.0=
3.2010 17:04, Evgenii Davidov wrote:=0A> >>=0A> >> =D0=97=D0=B4=D1=80=D0=B0=
=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5,=0A> >>=0A> >> On Sat, Mar=
 20, 2010 at 11:06:35PM +0000, Doychin=0A> Dokov =D0=BF=D0=B8=D1=88=D0=B5=
=D1=82:=0A> >>=0A> >>>> Description:=0A> >>>=0A> >>> It seems like flowtabl=
e has been merged and=0A> enabled by default in 8.0....=0A> >>> which is a =
really really bad idea.=0A> >>> On a system which handles two full BGP tabl=
es=0A> it makes one of the CPU=0A> >>> cores run at 100% right after most o=
f the=0A> prefixes get installed in the=0A> >>> routing table.=0A> >>=0A> >=
> i saw the same effect with ospf=0A> >>=0A> >=0A> > 8.0-p2, 2 full-view wi=
th openbgpd=0A> > "tuning":=0A> > net.inet.tcp.blackhole=3D2=0A> > net.inet=
.udp.blackhole=3D1=0A> > net.inet.icmp.icmplim_output=3D0=0A> > net.inet.ic=
mp.drop_redirect=3D1=0A> > net.inet.flowtable.nmbflows=3D32768=0A> >=0A> > =
1 week uptime.Now I think only about increasing tx/rx=0A> descriptors to re=
duce=0A> > interrupts (default values was not changed)=0A> >=0A> >=0A> > ne=
tstat -w1 -Iigb0=0A> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0input =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 (igb0) =C2=A0 =C2=A0 =C2=A0 =C2=A0=0A> =C2=A0 outp=
ut=0A> > =C2=A0 packets =C2=A0errs =C2=A0 =C2=A0 =C2=A0bytes =C2=A0 =C2=A0p=
ackets =C2=A0errs =C2=A0=0A> =C2=A0 =C2=A0bytes colls=0A> > =C2=A0 =C2=A0 4=
9100 =C2=A0 =C2=A0 0 =C2=A0 12290513 =C2=A0 =C2=A0 =C2=A023693 =C2=A0 =C2=
=A0 0=0A> =C2=A0 27268884 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 48322 =C2=A0 =
=C2=A0 0 =C2=A0 12688283 =C2=A0 =C2=A0 =C2=A024332 =C2=A0 =C2=A0 0=0A> =C2=
=A0 28099404 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 50602 =C2=A0 =C2=A0 0 =C2=
=A0 12759620 =C2=A0 =C2=A0 =C2=A024437 =C2=A0 =C2=A0 0=0A> =C2=A0 27698341 =
=C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 47857 =C2=A0 =C2=A0 0 =C2=A0 11354124 =
=C2=A0 =C2=A0 =C2=A021410 =C2=A0 =C2=A0 0=0A> =C2=A0 23845155 =C2=A0 =C2=A0=
 0=0A> >=0A> > netstat -w1 -Iigb1=0A> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0input =C2=A0 =C2=A0 =C2=A0 =C2=A0 (igb1) =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=0A> =C2=A0 output=0A> > =C2=A0 packets =C2=A0errs =C2=A0 =C2=A0 =C2=A0byte=
s =C2=A0 =C2=A0packets =C2=A0errs =C2=A0=0A> =C2=A0 =C2=A0bytes colls=0A> >=
 =C2=A0 =C2=A0 32428 =C2=A0 =C2=A0 0 =C2=A0 35027019 =C2=A0 =C2=A0 =C2=A024=
562 =C2=A0 =C2=A0 0=0A> =C2=A0 =C2=A05624934 =C2=A0 =C2=A0 0=0A> > =C2=A0 =
=C2=A0 30621 =C2=A0 =C2=A0 0 =C2=A0 33384339 =C2=A0 =C2=A0 =C2=A023569 =C2=
=A0 =C2=A0 0=0A> =C2=A0 =C2=A04456944 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 2=
8419 =C2=A0 =C2=A0 0 =C2=A0 31014269 =C2=A0 =C2=A0 =C2=A021571 =C2=A0 =C2=
=A0 0=0A> =C2=A0 =C2=A03638083 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 29409 =
=C2=A0 =C2=A0 0 =C2=A0 32524760 =C2=A0 =C2=A0 =C2=A022137 =C2=A0 =C2=A0 0=
=0A> =C2=A0 =C2=A03503600 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 30965 =C2=A0 =
=C2=A0 0 =C2=A0 33532742 =C2=A0 =C2=A0 =C2=A023973 =C2=A0 =C2=A0 0=0A> =C2=
=A0 =C2=A05089231 =C2=A0 =C2=A0 0=0A> >=0A> > netstat -w1 -Iem0=0A> > =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0input =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0(em0) =C2=A0 =C2=A0 =C2=A0 =C2=A0=0A> =C2=A0 output=0A> > =C2=A0 packets=
 =C2=A0errs =C2=A0 =C2=A0 =C2=A0bytes =C2=A0 =C2=A0packets =C2=A0errs =C2=
=A0=0A> =C2=A0 =C2=A0bytes colls=0A> > =C2=A0 =C2=A0 17217 =C2=A0 =C2=A0 0 =
=C2=A0 =C2=A03929366 =C2=A0 =C2=A0 =C2=A072741 =C2=A0 =C2=A0 0=0A> =C2=A0 4=
6377762 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 17412 =C2=A0 =C2=A0 0 =C2=A0 =
=C2=A03745112 =C2=A0 =C2=A0 =C2=A075522 =C2=A0 =C2=A0 0=0A> =C2=A0 49338883=
 =C2=A0 =C2=A0 0=0A> > =C2=A0 =C2=A0 18385 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0401=
4568 =C2=A0 =C2=A0 =C2=A077444 =C2=A0 =C2=A0 0=0A> =C2=A0 50532101 =C2=A0 =
=C2=A0 0=0A> > =C2=A0 =C2=A0 17142 =C2=A0 =C2=A0 0 =C2=A0 =C2=A03875518 =C2=
=A0 =C2=A0 =C2=A077125 =C2=A0 =C2=A0 0=0A> =C2=A0 47646681 =C2=A0 =C2=A0 0=
=0A> > =C2=A0 =C2=A0 16870 =C2=A0 =C2=A0 0 =C2=A0 =C2=A03528316 =C2=A0 =C2=
=A0 =C2=A073188 =C2=A0 =C2=A0 0=0A> =C2=A0 47940959 =C2=A0 =C2=A0 0=0A> > =
=C2=A0 =C2=A0 17069 =C2=A0 =C2=A0 0 =C2=A0 =C2=A03682891 =C2=A0 =C2=A0 =C2=
=A080268 =C2=A0 =C2=A0 0=0A> =C2=A0 52904747 =C2=A0 =C2=A0 0=0A> > =C2=A0 =
=C2=A0 17313 =C2=A0 =C2=A0 0 =C2=A0 =C2=A04101576 =C2=A0 =C2=A0 =C2=A075586=
 =C2=A0 =C2=A0 0=0A> =C2=A0 51933330 =C2=A0 =C2=A0 0=0A> > ________________=
_______________________________=0A> > freebsd-net@freebsd.org=0A=0A=0AHow a=
bout telling us how to turn it off; or better yet how to not=0Acompile it i=
nto the kernel at all. Thats the best solution.=0A=0AAs my Dad used to say =
on a regular basis, we need this like we =0Aneed a hole in our head. Is 8.0=
 the Kip Macy personal test bed?=0A=0AWhy is something that virtually no-on=
e needs enabled by default?=0A=0ABarney=0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31285.63437.qm>