From owner-freebsd-net@freebsd.org Thu Mar 23 14:02:45 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9756CD19B69 for ; Thu, 23 Mar 2017 14:02:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward4p.cmail.yandex.net (forward4p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B19018E1; Thu, 23 Mar 2017 14:02:44 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward4p.cmail.yandex.net (Yandex) with ESMTP id A019720D12; Thu, 23 Mar 2017 17:02:31 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 9B9781A80092; Thu, 23 Mar 2017 17:02:23 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4VsbccFCUt-2JiKDvbh; Thu, 23 Mar 2017 17:02:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1490277739; bh=kGkGpoeDdidqv45pyL9v865QNOdWyge1IGfS0R2Nq6M=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=Gc/X0B7zNdJbEilYeYc4Ie72qWdHIUe8si1CWC+yCZrTBcZXLwE7msAcGUfzD4Qe3 IzEaHB5cBGKWOe0aM99pPQEguFSgGJH7yQ8PuXQSEPpytoxlZSpSsMpT3eh02djH0q EYrilZCbbhyVhFFAXxpHFVfFTkS+bqG6aWanyGx8= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0 Subject: Re: LLE reference leak in the L2 cache To: Mike Karels References: <201703140840.v2E8ecH2040827@mail.karels.net> <3a4c5d87-d42e-5615-5d2b-2a8801376600@yandex.ru> <70D2287B-664C-48E4-9E8B-68B574BE6CE6@karels.net> Cc: Eugene Grosbein , freebsd-net@FreeBSD.org, George Neville-Neil , "Alexander V. Chernikov" , karels@FreeBSD.org, =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <18768a71-3169-469a-f3c3-b9c9e544ff6b@yandex.ru> Date: Thu, 23 Mar 2017 17:02:07 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DCn7JwDqN4diIFwVbARFL3I5WvTEpTkx8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 14:02:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DCn7JwDqN4diIFwVbARFL3I5WvTEpTkx8 Content-Type: multipart/mixed; boundary="G7SoA0K46AlP3qxWoAJSncMEGO5PC5SqI"; protected-headers="v1" From: "Andrey V. Elsukov" To: Mike Karels Cc: Eugene Grosbein , freebsd-net@FreeBSD.org, George Neville-Neil , "Alexander V. Chernikov" , karels@FreeBSD.org, =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Message-ID: <18768a71-3169-469a-f3c3-b9c9e544ff6b@yandex.ru> Subject: Re: LLE reference leak in the L2 cache References: <201703140840.v2E8ecH2040827@mail.karels.net> <3a4c5d87-d42e-5615-5d2b-2a8801376600@yandex.ru> <70D2287B-664C-48E4-9E8B-68B574BE6CE6@karels.net> In-Reply-To: --G7SoA0K46AlP3qxWoAJSncMEGO5PC5SqI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 20.03.2017 03:46, Mike Karels wrote: > The context has gotten messy here, so I=E2=80=99m going to break down a= nd top-post. >=20 > I started review https://reviews.freebsd.org/D10059 with a fix for the > reference-count leak. > It changes the semantics so only routes within an in_pcb automatically > do L2 caching. >=20 > I=E2=80=99ll put the tcp_output change for V6 in a separate review when= this one > is done. >=20 > Andrey, could you try your iperf test again? Thanks, Hi Mike, The test with IPv6 works without reference leak now, as supposed, because it doesn't use LLE cache :) For IPv4 forwarding the problem seems also fixed, but I did only basic test. --=20 WBR, Andrey V. Elsukov --G7SoA0K46AlP3qxWoAJSncMEGO5PC5SqI-- --DCn7JwDqN4diIFwVbARFL3I5WvTEpTkx8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAljT1V8ACgkQAcXqBBDI oXpiRwgAiNCkhLpZ3UmqraduJ4AmlCUD4+AWzlVWf5BnYahI7hdhZwKsLvODqykm IHznT5XB9H2IFQr5dQsYoAuv7c1f5DceioLNhUMrsoBCiC8IO0DEiYpjNGdCrcjz uOa8z52U3ed1z2YobTzy5Y/uVag4ygoHj8fwMjGweg32aqHvcnWBLHo33oIcZpGL l4KbMiFTng1CNr2YtaCyuQcmKIuremBF7UNXUhkCyb3LiUIUVAy3JsysmdU8ky8J p0XN7bylo9eTwD8k4Cen7Af1Lb6+5H+aZUVhxxpradw1VByg8C+2heelbNMZDZxS SmJDx/fWitolP74k0cQJH0wgdleJBg== =M+Rl -----END PGP SIGNATURE----- --DCn7JwDqN4diIFwVbARFL3I5WvTEpTkx8--