From owner-freebsd-stable@freebsd.org Mon Feb 8 14:32:48 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F1885351B1 for ; Mon, 8 Feb 2021 14:32:48 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZ7lz4tBxz3qPW for ; Mon, 8 Feb 2021 14:32:47 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:cc6c:dcdc:37a9:3083]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 118EWb8h052635 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 8 Feb 2021 15:32:38 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1612794758; bh=nTZpgLvLm/0AosHRzgbHTwa4psKSI+m2X5TO5mpLGv0=; h=To:References:From:Subject:Date:In-Reply-To; b=AUqyD7UV4tTtZtHtgsDb/kDBDMDX9QSLwxnbcb1MgqrUEk4hl/1n90D2HUK/l6+Y3 qarETu9TwknrNYSPqt9mcwjlpcUWj4wDN4MKCVLRwYAt96R9JTGbnMDy5wsNsV9Qma TcEfpe2SKajB3rbjhdw/aBFDDRqAdBdyylu3zSMBwdMebb+Vo4vjEq0rxZQZoPllR8 DexlhVFlsFCNB0JsPUgDi/NcpgVltLBu1njlEwC3frs94Hmo6HPepwMIfhzpGkEgL6 HIdJNTGX2K0a+yaSPJZXF2N/J4JvcE1LJn0XGZP/RTDZ4ofYrBjVc3iNfDgmB133UF p9Opk1XiSsLog== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:cc6c:dcdc:37a9:3083] claimed to be fomalhaut.potoki.eu To: mike tancsa , FreeBSD-STABLE Mailing List References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> From: Marek Zarychta Subject: Re: option FIB_ALGO and dpdk_lpm4 Message-ID: <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> Date: Mon, 8 Feb 2021 15:32:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr" X-Rspamd-Queue-Id: 4DZ7lz4tBxz3qPW X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=AUqyD7UV; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-7.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:678:618::40:from]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; SPAMHAUS_ZRD(0.00)[2001:678:618::40:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 14:32:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr Content-Type: multipart/mixed; boundary="VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe"; protected-headers="v1" From: Marek Zarychta To: mike tancsa , FreeBSD-STABLE Mailing List Message-ID: <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> Subject: Re: option FIB_ALGO and dpdk_lpm4 References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> In-Reply-To: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> --VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable W dniu 08.02.2021 o=C2=A013:10, mike tancsa pisze: > I have been setting up some tests to see if >=20 > option FIB_ALGO and dpdk_lpm4.ko >=20 > will help with my pkt forwarding needs and large routing tables. So far= so good. But one thing I noticed, is that its very chatty to dmesg.=20 > eg > alloc_nhgrp: new mpath group: num_nhops: 2 > compile_nhgrp: O: 2/2 > compile_nhgrp: OO[0]: 1/1 curr=3D1 slot_idx=3D0 > compile_nhgrp: OO[1]: 0/0 curr=3D1 slot_idx=3D1 > alloc_nhgrp: new mpath group: num_nhops: 2 > compile_nhgrp: O: 2/2 > compile_nhgrp: OO[0]: 1/1 curr=3D1 slot_idx=3D0 > compile_nhgrp: OO[1]: 0/0 curr=3D1 slot_idx=3D1 > alloc_nhgrp: new mpath group: num_nhops: 2 > compile_nhgrp: O: 2/2 > compile_nhgrp: OO[0]: 1/1 curr=3D1 slot_idx=3D0 > compile_nhgrp: OO[1]: 0/0 curr=3D1 slot_idx=3D1 >=20 > are these debugging messages that forgot to be turned off ? What do th= ey mean ? > Thanks for this work! >=20 > 13.0-STABLE #11 stable/13-cc1352c1f-dirty >=20 Thank you for sharing this Mike. Could you please reveal us how do you feed your routing tables? Is net/bird{,2} or net/frr7 involved? Any problems or hints to make the routing daemon working with new routing sta= ck? The new routing stack looks very promising, please let me also give this way some appreciations to melifaro@ and other people who worked on it. I was also trying to test it with legacy net/bird and multiple fib tables, but I was early hit by: "KRT: Error sending route x.x.x.x/y to kernel: Operation not supported" Setting net.add_net.add_addr_allfibs=3D1addr_allfibs=3D1 changed it a bit= , but still some blackhole /32 routes seem to get rejected. --=20 Marek Zarychta --VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe-- --QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmAhS4UFAwAAAAAACgkQdZ/s//1SjSxP bQf8CQPdbii01Ww9r+tjAUTgPZB94WEcKiGgtpiuc5m9t3QsLQ7JAi3PZ/1r6zU2tdo5xDs6s0Ii /MkmHxadjeXFB4I0Dgre3G5soOBao+s6aKciqXcIFvxUJnKNOQzv02ws5XPZiRfxjhqjQ2GCmbtv jKPAR1ga5McIzmDa5BvaMhFVlcjJfvt97tcMQLtH5R60TuyM/0A7qml08Dp7hl/eH0cOGD4kjCyR iIqlxjrSLt3a8EfcCnVIUArKI5gLH7sxEVBS/CyfLFN5GsVcfiqwAD8VOpakXhf/5MaAo+yIfFkH 2SqN97qYdJli8ihzbcq0hQ4zaiwWgFRMWI3e+i7mEg== =8A8M -----END PGP SIGNATURE----- --QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr--