From owner-freebsd-net@FreeBSD.ORG Sat Apr 3 03:30:28 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5360A106564A for ; Sat, 3 Apr 2010 03:30:28 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 010E18FC0C for ; Sat, 3 Apr 2010 03:30:27 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so882964qwe.7 for ; Fri, 02 Apr 2010 20:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:received :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rqcaCrXbz6B/1QmM8+wfixD3o+FE0wPbYXTEw0/Y2lg=; b=FCbVGx459hREeHYGxghiX20Ddu4ePnzMSshfMJ9EyRYTXSt2aM5usoDn6yanG/FkCu fL3K07dA1Zz8ASt02uZIcPf5e94yLPT4EJ9ZuojIBgL1AgY9qQeL4X8n9jfmffg/nUt0 dWUsxkwN9N2uq5RoohcGzcb5O8Uj2lRBfqoHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=dqwENnQacgTxyTCQfGPL8z03VzSjlc85HGuq4kuTTbf6XUMW/C/51F1Bf3/ZHbaEXl oeCI/ge4El0RaX0jLfxjwc9aMcYEuDt5prbXYk7TQdtaJGQWrUYhP/hyBu0o49Nj/IvF xt9rvedyLPKgnLXTCY5KUXg4GG3x44z0uUyfA= MIME-Version: 1.0 Sender: kmatthew.macy@gmail.com Received: by 10.229.214.136 with HTTP; Fri, 2 Apr 2010 20:07:35 -0700 (PDT) In-Reply-To: <4BAB821D.6070403@el-crane.net> References: <201003202306.o2KN6Z55038744@www.freebsd.org> <20100321090455.GA36897@korolev-net.ru> <4BAB821D.6070403@el-crane.net> Date: Fri, 2 Apr 2010 20:07:35 -0700 X-Google-Sender-Auth: 7a6b9b8ebdc5b549 Received: by 10.229.224.149 with SMTP id io21mr4313157qcb.64.1270264055119; Fri, 02 Apr 2010 20:07:35 -0700 (PDT) Message-ID: From: "K. Macy" To: Ilya Zhuravlev Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Evgenii Davidov Subject: Re: kern/144917: Flowtable crashes system X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 03:30:28 -0000 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 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" >