Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2010 20:07:35 -0700
From:      "K. Macy" <kmacy@freebsd.org>
To:        Ilya Zhuravlev <ilya@el-crane.net>
Cc:        freebsd-net@freebsd.org, Evgenii Davidov <dado@korolev-net.ru>
Subject:   Re: kern/144917: Flowtable crashes system
Message-ID:  <n2s82c4140e1004022007s2e131268t25f7a7c2238a7586@mail.gmail.com>
In-Reply-To: <4BAB821D.6070403@el-crane.net>
References:  <201003202306.o2KN6Z55038744@www.freebsd.org> <20100321090455.GA36897@korolev-net.ru> <4BAB821D.6070403@el-crane.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Please try with the latest 8-STABLE and tell me if recent changes fix it.

Thanks,
Kip

On Thu, Mar 25, 2010 at 8:32 AM, Ilya Zhuravlev <ilya@el-crane.net> wrote:
> On 21.03.2010 17:04, Evgenii Davidov wrote:
>>
>> =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5,
>>
>> On Sat, Mar 20, 2010 at 11:06:35PM +0000, Doychin Dokov =D0=C9=DB=C5=D4:
>>
>>>> Description:
>>>
>>> It seems like flowtable has been merged and enabled by default in 8.0..=
..
>>> which is a really really bad idea.
>>> On a system which handles two full BGP tables it makes one of the CPU
>>> cores run at 100% right after most of the prefixes get installed in the
>>> routing table.
>>
>> i saw the same effect with ospf
>>
>
> 8.0-p2, 2 full-view with openbgpd
> "tuning":
> net.inet.tcp.blackhole=3D2
> net.inet.udp.blackhole=3D1
> net.inet.icmp.icmplim_output=3D0
> net.inet.icmp.drop_redirect=3D1
> net.inet.flowtable.nmbflows=3D32768
>
> 1 week uptime.Now I think only about increasing tx/rx descriptors to redu=
ce
> interrupts (default values was not changed)
>
>
> netstat -w1 -Iigb0
> =9A =9A =9A =9A =9A =9Ainput =9A =9A =9A =9A (igb0) =9A =9A =9A =9A =9A o=
utput
> =9A packets =9Aerrs =9A =9A =9Abytes =9A =9Apackets =9Aerrs =9A =9A =9Aby=
tes colls
> =9A =9A 49100 =9A =9A 0 =9A 12290513 =9A =9A =9A23693 =9A =9A 0 =9A 27268=
884 =9A =9A 0
> =9A =9A 48322 =9A =9A 0 =9A 12688283 =9A =9A =9A24332 =9A =9A 0 =9A 28099=
404 =9A =9A 0
> =9A =9A 50602 =9A =9A 0 =9A 12759620 =9A =9A =9A24437 =9A =9A 0 =9A 27698=
341 =9A =9A 0
> =9A =9A 47857 =9A =9A 0 =9A 11354124 =9A =9A =9A21410 =9A =9A 0 =9A 23845=
155 =9A =9A 0
>
> netstat -w1 -Iigb1
> =9A =9A =9A =9A =9A =9Ainput =9A =9A =9A =9A (igb1) =9A =9A =9A =9A =9A o=
utput
> =9A packets =9Aerrs =9A =9A =9Abytes =9A =9Apackets =9Aerrs =9A =9A =9Aby=
tes colls
> =9A =9A 32428 =9A =9A 0 =9A 35027019 =9A =9A =9A24562 =9A =9A 0 =9A =9A56=
24934 =9A =9A 0
> =9A =9A 30621 =9A =9A 0 =9A 33384339 =9A =9A =9A23569 =9A =9A 0 =9A =9A44=
56944 =9A =9A 0
> =9A =9A 28419 =9A =9A 0 =9A 31014269 =9A =9A =9A21571 =9A =9A 0 =9A =9A36=
38083 =9A =9A 0
> =9A =9A 29409 =9A =9A 0 =9A 32524760 =9A =9A =9A22137 =9A =9A 0 =9A =9A35=
03600 =9A =9A 0
> =9A =9A 30965 =9A =9A 0 =9A 33532742 =9A =9A =9A23973 =9A =9A 0 =9A =9A50=
89231 =9A =9A 0
>
> netstat -w1 -Iem0
> =9A =9A =9A =9A =9A =9Ainput =9A =9A =9A =9A =9A(em0) =9A =9A =9A =9A =9A=
 output
> =9A packets =9Aerrs =9A =9A =9Abytes =9A =9Apackets =9Aerrs =9A =9A =9Aby=
tes colls
> =9A =9A 17217 =9A =9A 0 =9A =9A3929366 =9A =9A =9A72741 =9A =9A 0 =9A 463=
77762 =9A =9A 0
> =9A =9A 17412 =9A =9A 0 =9A =9A3745112 =9A =9A =9A75522 =9A =9A 0 =9A 493=
38883 =9A =9A 0
> =9A =9A 18385 =9A =9A 0 =9A =9A4014568 =9A =9A =9A77444 =9A =9A 0 =9A 505=
32101 =9A =9A 0
> =9A =9A 17142 =9A =9A 0 =9A =9A3875518 =9A =9A =9A77125 =9A =9A 0 =9A 476=
46681 =9A =9A 0
> =9A =9A 16870 =9A =9A 0 =9A =9A3528316 =9A =9A =9A73188 =9A =9A 0 =9A 479=
40959 =9A =9A 0
> =9A =9A 17069 =9A =9A 0 =9A =9A3682891 =9A =9A =9A80268 =9A =9A 0 =9A 529=
04747 =9A =9A 0
> =9A =9A 17313 =9A =9A 0 =9A =9A4101576 =9A =9A =9A75586 =9A =9A 0 =9A 519=
33330 =9A =9A 0
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



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