From owner-freebsd-net@freebsd.org Tue May 29 10:36:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A06CF70C86 for ; Tue, 29 May 2018 10:36:59 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::101]) (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 DAC2D82CBE for ; Tue, 29 May 2018 10:36:58 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 6B1A912440EE; Tue, 29 May 2018 13:36:55 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 0d4SBoHfGJ-atO8qjxu; Tue, 29 May 2018 13:36:55 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1527590215; bh=PSG0kdslIT8qo6HsrzYh+WYczGaM/gQRQvinEj9cvgI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=J96YTZ0yokw3QDrrouvn4PXR/7B3V1SJGubAspKiJx0QzeRGWecxMVXQRhF/GeYIz LM42ERsyXliiMk1hylvNxBEyJlwsQGB+U0XDJTQRjjLqtrW2Nx6favf7Eu/E7qFpVP pYirSeA4lan4DbfdrLrYvuMa4PoGxL3J6CtBl7Rg= Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id CQIlzwAbD5-asa8GiV4; Tue, 29 May 2018 13:36:54 +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=1527590214; bh=PSG0kdslIT8qo6HsrzYh+WYczGaM/gQRQvinEj9cvgI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=XK7AfHDf0CkpqKJAnO4XO69CdjYwMKOd5J2dXHuMEJW8lydhdIqunrE78X8O4xx+w iLo70M9I4oEiVFr+K3YlhuzJ8UMI6tZlVGynPc66BmSf+on/PF47YQMHK07LDsieoO Yn/pyBZZ7VJS3riYMp9pFdlEpomOUUMlfj1PNTnQ= Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: GRE/gif/netgraph tunnel speed on 10Gbit channel To: Vitalij Satanivskij Cc: freebsd-net@freebsd.org References: <20180529071733.GA18182@hell.ukr.net> <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru> <20180529100544.GA58705@hell.ukr.net> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleSBWLiBFbHN1a292IDxh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02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <347581ff-1f32-c8c4-dce8-9c4632f4cd84@yandex.ru> Date: Tue, 29 May 2018 13:33:50 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180529100544.GA58705@hell.ukr.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="St4qEviF0XCB61W3EtdnLwJ1oCfb5gLQx" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 10:36:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --St4qEviF0XCB61W3EtdnLwJ1oCfb5gLQx Content-Type: multipart/mixed; boundary="II9YIzixqjPr19Vhd7wZ1SHXoLRW3ateh"; protected-headers="v1" From: "Andrey V. Elsukov" To: Vitalij Satanivskij Cc: freebsd-net@freebsd.org Message-ID: <347581ff-1f32-c8c4-dce8-9c4632f4cd84@yandex.ru> Subject: Re: GRE/gif/netgraph tunnel speed on 10Gbit channel References: <20180529071733.GA18182@hell.ukr.net> <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru> <20180529100544.GA58705@hell.ukr.net> In-Reply-To: <20180529100544.GA58705@hell.ukr.net> --II9YIzixqjPr19Vhd7wZ1SHXoLRW3ateh Content-Type: multipart/mixed; boundary="------------B14F0E626B9188A11C12E187" Content-Language: en-US This is a multi-part message in MIME format. --------------B14F0E626B9188A11C12E187 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 29.05.2018 13:05, Vitalij Satanivskij wrote: >=20 > Hello. >=20 > Looks like it's inposible to set as sysctl are readonly and through loa= der.conf it's also not setable. >=20 > AVE> You can try to increase kern.ipc.max_linkhdr up to 60-80 bytes. > AVE> I think this can increase throughput a bit, since this can reduce = the > AVE> need to allocate extra mbuf when new IP header is encapsulated. Hm, yes it is readonly. Probably I thought about my local patches... You can try this kernel module to change this value in run time. --=20 WBR, Andrey V. Elsukov --------------B14F0E626B9188A11C12E187 Content-Type: text/plain; charset=UTF-8; name="Makefile" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Makefile" IyAkRnJlZUJTRCQKCktNT0Q9CWxpbmtoZHIKU1JDUz0JbWFpbi5jCk1LX01BTj0Jbm8KCi5p bmNsdWRlIDxic2Qua21vZC5taz4K --------------B14F0E626B9188A11C12E187-- --II9YIzixqjPr19Vhd7wZ1SHXoLRW3ateh-- --St4qEviF0XCB61W3EtdnLwJ1oCfb5gLQx 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/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlsNLI4ACgkQAcXqBBDI oXqK8QgAr0J+IScYaqYDUEZNvIrBgZUeBS61m2BOOW2Nwy56fuACOcfBJw2sqWHk q7JB3kOcqDMaJsL7X0gHOTReRYcqXxRqXEDZDDnl8gvtoTrmUrcjSNQP/5RXRy3H QJSmx9cmYxJaRENmoOHzwXjn7eEijLQqNdClGJuHjaOHyfBS6zbgyEFuhDw65bfn gQ0veqiFxX+p6dTyOo6WKej0Z6HwGnLFyg2biCHNW+Vn+onb7q1RENX35QlmE3HO AOiYuv7mI0bN1vCecf3KoXfoShIUYSBcNUOSVE4hzweN5ZjeAv9OOM7tgpGHQgmv YU5Unme5glgAJbteC9LwlaWvt2bS/g== =xE+I -----END PGP SIGNATURE----- --St4qEviF0XCB61W3EtdnLwJ1oCfb5gLQx--