From owner-freebsd-net@FreeBSD.ORG Wed Nov 5 15:52:19 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6934CD68; Wed, 5 Nov 2014 15:52:19 +0000 (UTC) Received: from forward7l.mail.yandex.net (forward7l.mail.yandex.net [IPv6:2a02:6b8:0:1819::7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21A17E53; Wed, 5 Nov 2014 15:52:19 +0000 (UTC) Received: from smtp1m.mail.yandex.net (smtp1m.mail.yandex.net [77.88.61.132]) by forward7l.mail.yandex.net (Yandex) with ESMTP id 4EBE7BC1260; Wed, 5 Nov 2014 18:52:16 +0300 (MSK) Received: from smtp1m.mail.yandex.net (localhost [127.0.0.1]) by smtp1m.mail.yandex.net (Yandex) with ESMTP id C06CB6740158; Wed, 5 Nov 2014 18:52:15 +0300 (MSK) Received: from unknown (unknown [2a02:6b8:0:c33::1e7]) by smtp1m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id qAVJk08r1g-qD24hm62; Wed, 5 Nov 2014 18:52:15 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 3247e923-0854-482b-8366-7bb58d04efcb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1415202735; bh=ILiuQShVak/I8fHAFttliXResUFWNs4u+98she8ow34=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jfguAZseuQr5G7WNZOXbjo1KlXClU23sdV1qaeZIdV+qKyoXFRyAMVB1WO56mG5ad 4sxMpwGLSTjeRQNe+PCQrvoArcdbi3xyW8Rxl9+BF4FDjZ9zGfjAjjkI+4duPSLPZv qZRZM1BW48yWLFl3PNfuBO9DK914qZhxAn3hemdc= Authentication-Results: smtp1m.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <545A47A5.4010601@yandex.ru> Date: Wed, 05 Nov 2014 18:52:05 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: George Neville-Neil , net@freebsd.org Subject: Re: netmap in GENERIC, by default, on HEAD References: <92D22BEA-DDE5-4C6E-855C-B8CACB0319AC@neville-neil.com> In-Reply-To: <92D22BEA-DDE5-4C6E-855C-B8CACB0319AC@neville-neil.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: "Alexander V. Chernikov" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2014 15:52:19 -0000 On 05.11.2014 18:39, George Neville-Neil wrote: > Howdy, > > Last night (Pacific Time) I committed a change so that GENERIC, on HEAD > has the netmap > device enabled. This is to increase the breadth of our testing of that > feature prior > to the release of FreeBSD 11. > > In two weeks I will enable IPSec by default, again in preparation for 11. Hi, recently we did some IP forwarding tests and the GENERIC kernel is several times faster than GENERIC+IPSEC. Even when IPSEC has no SA. I didn't do test on vanilla kernel, but our kernel is able forward IPv4/IPv6 on rate close to 8.6 Mpps. The same kernel compiled with IPSEC can forward only 180 kpps. I think this problem should be solved before enabling it in GENERIC. -- WBR, Andrey V. Elsukov