GRE/gif/netgraph tunnel speed on 10Gbit channel

Andrey V. Elsukov bu7cher at yandex.ru
Tue May 29 10:36:59 UTC 2018


On 29.05.2018 13:05, Vitalij Satanivskij wrote:
> 
> Hello.
> 
> Looks like it's inposible to set as sysctl are readonly and through loader.conf it's also not setable.
> 
> 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.

-- 
WBR, Andrey V. Elsukov
-------------- next part --------------
# $FreeBSD$

KMOD=	linkhdr
SRCS=	main.c
MK_MAN=	no

.include <bsd.kmod.mk>
-------------- 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/2bbad635/attachment.sig>


More information about the freebsd-net mailing list