Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 12:01:26 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Vitalij Satanivskij <satan@ukr.net>, freebsd-net@freebsd.org
Subject:   Re: GRE/gif/netgraph tunnel speed on 10Gbit channel
Message-ID:  <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru>
In-Reply-To: <20180529071733.GA18182@hell.ukr.net>
References:  <20180529071733.GA18182@hell.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--G3wnvM0QPZuUqwrdYfel3EzlhQ5ZooPYg
Content-Type: multipart/mixed; boundary="Er7UO6HeDj15ftTG9exODo99J6QAY7ewu";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: Vitalij Satanivskij <satan@ukr.net>, freebsd-net@freebsd.org
Message-ID: <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru>
Subject: Re: GRE/gif/netgraph tunnel speed on 10Gbit channel
References: <20180529071733.GA18182@hell.ukr.net>
In-Reply-To: <20180529071733.GA18182@hell.ukr.net>

--Er7UO6HeDj15ftTG9exODo99J6QAY7ewu
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 29.05.2018 10:17, Vitalij Satanivskij wrote:
> Version of system - 11.2-BETA2 FreeBSD 11.2-BETA2 #0 r334027
> Also I'm test FreeBSD 11.1-PRERELEASE #6 r320593
>=20
> Kernel GENERIC and CUSTOM (mostly cut off not used drivers from kernel)=
=20
>=20
> For testing I'm use iperf on pure 10Gbit chanel easy get 9.8-9.9Gbit's =

> For tunnel's even try to check multiply instance of iperf (eg on differ=
ent ports)
>=20
>=20
> So question are - Is it normal speed for tunnel's.=20
> Which tuning I can try to speed up it.=20

You can try to increase kern.ipc.max_linkhdr up to 60-80 bytes.
I think this can increase throughput a bit, since this can reduce the
need to allocate extra mbuf when new IP header is encapsulated.

--=20
WBR, Andrey V. Elsukov


--Er7UO6HeDj15ftTG9exODo99J6QAY7ewu--

--G3wnvM0QPZuUqwrdYfel3EzlhQ5ZooPYg
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/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlsNFuYACgkQAcXqBBDI
oXqZ/gf/XweV1NhYZmA6l694F+zDS1KEeXhbrYyBrznRwCJa4BcornykGujhGC8D
feHMArP3GTn7YVS6KMUkvUT5NeigVEj9IDq+KJ6oBQR0m0Sl+ronKZzsIYGfw8Od
zuM/2TRjxCtu1EbeRNshZLnI7TQGdvYWAiqp6VMQ28IgU7Glhfqt2J0YfKFoRrUL
QFiRgWkV3u8RYrOjHwUgTzlYkOUVX9Kv+k/s8lE6m5hTDJtBaF3hdmeyLOayACOz
jaopYIx7sgyGQjL8lPhqgVejhH+OmJg5M2FFJP4zthYioSk85jwhP4uArLpmZ+e0
mPkjmvww+WG1H+uARr/THTEU/vIiqg==
=zGs+
-----END PGP SIGNATURE-----

--G3wnvM0QPZuUqwrdYfel3EzlhQ5ZooPYg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58deda3e-6eda-bade-0461-97014a64182e>