From owner-freebsd-net@freebsd.org Tue May 29 10:58:56 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 9F808F722B8 for ; Tue, 29 May 2018 10:58:56 +0000 (UTC) (envelope-from satan@ukr.net) Received: from hell.ukr.net (hell.ukr.net [212.42.67.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32D8D8385C for ; Tue, 29 May 2018 10:58:55 +0000 (UTC) (envelope-from satan@ukr.net) Received: from satan by hell.ukr.net with local ID 1fNcL7-000FPN-EA ; Tue, 29 May 2018 13:58:53 +0300 Date: Tue, 29 May 2018 13:58:53 +0300 From: Vitalij Satanivskij To: "Andrey V. Elsukov" Cc: Vitalij Satanivskij , freebsd-net@freebsd.org Subject: Re: GRE/gif/netgraph tunnel speed on 10Gbit channel Message-ID: <20180529105853.GA59230@hell.ukr.net> References: <20180529071733.GA18182@hell.ukr.net> <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru> <20180529100544.GA58705@hell.ukr.net> <347581ff-1f32-c8c4-dce8-9c4632f4cd84@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <347581ff-1f32-c8c4-dce8-9c4632f4cd84@yandex.ru> User-Agent: Mutt/1.10.0 (2018-05-17) 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:58:56 -0000 Thank you Andrey. I'm test with value of 62 without any success ^( Andrey V. Elsukov wrote: AVE> On 29.05.2018 13:05, Vitalij Satanivskij wrote: AVE> > AVE> > Hello. AVE> > AVE> > Looks like it's inposible to set as sysctl are readonly and through loader.conf it's also not setable. AVE> > AVE> > AVE> You can try to increase kern.ipc.max_linkhdr up to 60-80 bytes. AVE> > AVE> I think this can increase throughput a bit, since this can reduce the AVE> > AVE> need to allocate extra mbuf when new IP header is encapsulated. AVE> AVE> Hm, yes it is readonly. Probably I thought about my local patches... AVE> You can try this kernel module to change this value in run time. AVE> AVE> -- AVE> WBR, Andrey V. Elsukov AVE> # $FreeBSD$ AVE> AVE> KMOD= linkhdr AVE> SRCS= main.c AVE> MK_MAN= no AVE> AVE> .include