From owner-freebsd-net@FreeBSD.ORG Fri Jul 11 10:09:21 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23F3D1065670 for ; Fri, 11 Jul 2008 10:09:20 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id AC2F58FC0C for ; Fri, 11 Jul 2008 10:09:20 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 51B661B10EE8; Fri, 11 Jul 2008 12:09:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on malcho.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 204561B10EE0; Fri, 11 Jul 2008 12:09:17 +0200 (CEST) Message-ID: <4877314C.5000106@moneybookers.com> Date: Fri, 11 Jul 2008 13:09:16 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.14 (X11/20080616) MIME-Version: 1.0 To: Paul References: <2d3001c8def1$f4309b90$020b000a@bartwrkstxp> <486FFF70.3090402@gtcomm.net> <48701921.7090107@gtcomm.net> <4871E618.1080500@freebsd.org> <20080708002228.G680@besplex.bde.org> <48724238.2020103@freebsd.org> <20080708034304.R21502@delplex.bde.org> <20080708045135.V1022@besplex.bde.org> <48727BA9.6020702@elischer.org> <20080707221257.GH62764@server.vk2pj.dyndns.org> <20080709142008.H26105@delplex.bde.org> <4876EC16.5070209@gtcomm.net> In-Reply-To: <4876EC16.5070209@gtcomm.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on blah.cmotd.com X-Virus-Status: Clean Cc: Peter Jeremy , Julian Elischer , FreeBSD Net Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] 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: Fri, 11 Jul 2008 10:09:21 -0000 Hi Paul, Paul wrote: > I tested Linux in bridge configuration with the same machine and it > CPUed out at about 600kpps through the bridge.. 600kpps incoming or 600kpps incoming+ outgoing ? > That's a bit low :/ Soft interrupt using all the cpu. Same opteron > 2222, 82571EB Pci express NIC. > Tried SMP/ non-smp , load balanced irqs, etc.. Does hwpmc work out of the box (FreeBSD) with those CPUs? > > Good news is using iptables only adds a few percentage onto the CPU > usage. But still, what's with that.. > So far FreeBSD got the highest pps rating for forwarding. I haven't > tried bridge mode. Ipfw probably takes a big hit in that too though. > > Looking for an 82575 to test.. P.S. It was a nice chat, but what we can expect from the future? Any plans, patches etc? Someone suggested to install 8-current and test with it as this is the "fast" way to have something included in FreeBSD. I can do this - I can install 8-current, patch it and put it under load and report results, but need patches :) I guess Paul is in the same situation .. -- Best Wishes, Stefan Lambrev ICQ# 24134177