GRE/gif/netgraph tunnel speed on 10Gbit channel

Andrey V. Elsukov bu7cher at yandex.ru
Tue May 29 09:06:47 UTC 2018


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
> 
> Kernel GENERIC and CUSTOM (mostly cut off not used drivers from kernel) 
> 
> 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 different ports)
> 
> 
> So question are - Is it normal speed for tunnel's. 
> Which tuning I can try to speed up it. 

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.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180529/36a77ac1/attachment.sig>


More information about the freebsd-net mailing list