From owner-freebsd-net@freebsd.org Tue May 29 10:05:47 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 900DFF6EAD6 for ; Tue, 29 May 2018 10:05:47 +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 23A1381969 for ; Tue, 29 May 2018 10:05:46 +0000 (UTC) (envelope-from satan@ukr.net) Received: from satan by hell.ukr.net with local ID 1fNbVg-000FHK-9K ; Tue, 29 May 2018 13:05:44 +0300 Date: Tue, 29 May 2018 13:05:44 +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: <20180529100544.GA58705@hell.ukr.net> References: <20180529071733.GA18182@hell.ukr.net> <58deda3e-6eda-bade-0461-97014a64182e@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58deda3e-6eda-bade-0461-97014a64182e@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:05:47 -0000 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. AVE> AVE> -- AVE> WBR, Andrey V. Elsukov AVE>