From owner-freebsd-net@FreeBSD.ORG Tue Jul 17 07:32:40 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 3556D106564A; Tue, 17 Jul 2012 07:32:40 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from dhcp170-36-red.yandex.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with ESMTP id 0DDA8152273; Tue, 17 Jul 2012 07:32:37 +0000 (UTC) Message-ID: <500514AB.2090701@FreeBSD.org> Date: Tue, 17 Jul 2012 11:30:51 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120511 Thunderbird/12.0.1 MIME-Version: 1.0 To: Hooman Fazaeli References: <4FF361CA.4000506@FreeBSD.org> <20120703214419.GC92445@onelab2.iet.unipi.it> <4FF36438.2030902@FreeBSD.org> <4FF3E2C4.7050701@FreeBSD.org> <4FF3FB14.8020006@FreeBSD.org> <4FF402D1.4000505@FreeBSD.org> <20120704091241.GA99164@onelab2.iet.unipi.it> <4FF412B9.3000406@FreeBSD.org> <20120704154856.GC3680@onelab2.iet.unipi.it> <4FF59955.5090406@FreeBSD.org> <20120706061126.GA65432@onelab2.iet.unipi.it> <500452A5.3070501@FreeBSD.org> <500511A6.9010808@gmail.com> In-Reply-To: <500511A6.9010808@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Doug Barton , Luigi Rizzo , net@freebsd.org Subject: Re: FreeBSD 10G forwarding performance @Intel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Jul 2012 07:32:40 -0000 On 17.07.2012 11:17, Hooman Fazaeli wrote: > May be slightly off-topic, but do you have tested (or have plans to test ) > with bidirectional traffic? Situation with bi-directional traffic is better (not sure how much). I'm intentionally not testing this case to discover rough cases (like contested interface counters) faster. Here is statistics from one of the machines running in production * E5645 * Intel 82599 * HT turned on (so 16 out of 24 cores are used) * Modified Intel drivers * 8.3-S kernel with interface rlock patch * ipfw counters eliminated * global forwarding counters not eliminated (-another 100-200 kpps) * route locking eliminated (modified version of original patch in the first message) * 8 vlans * IPv4 traffic * 4-8 firewall rules to pass http://static.ipfw.ru/images/degas_pps.png http://static.ipfw.ru/images/degas_traffic.png http://static.ipfw.ru/images/degas_cpu.png -- WBR, Alexander