From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 02:17:46 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 0D33D106566C for ; Sun, 20 Jul 2008 02:17:46 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id CDE8E8FC08 for ; Sun, 20 Jul 2008 02:17:45 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so528599wfg.7 for ; Sat, 19 Jul 2008 19:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8UKJ2+vEdA5F1ZZ9+jKiGIRA3/VIfEpzVtgGrElg8/Y=; b=DzG3H78a5/Ae+T5kg6Ndi42BoAJu//zPziVQpzemr1f3OG/H5KSoZXc6lJ79cX4I88 Tf3KiYU1CsFKOopxwL94p3Aqkd3SpjkM2ZHWLF8WH+jvrHAfdOpp6+80NsdiXYU6iL0E JlpiRFHHnkhnuZubVe7tTMB+xnnaOSA3tfj8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dEq5puBokT1nGU7VVSDX+Q5OQmquKhyDF4/9Evit236AaP4gqDtyFey0QcMtZdTfQa icaJ4hZag+b0U7A2HEbOkuIxL+0lzmDa6YNborlFAECUqL77Maz7pKR8aLg4eCe7Ibmz 12ZJQrXQRlxuB5wpoyR1vwZGvyLER52XU4wqE= Received: by 10.142.187.8 with SMTP id k8mr707451wff.226.1216520265283; Sat, 19 Jul 2008 19:17:45 -0700 (PDT) Received: by 10.142.199.4 with HTTP; Sat, 19 Jul 2008 19:17:45 -0700 (PDT) Message-ID: <601bffc40807191917g131bacao6485376365304f55@mail.gmail.com> Date: Sat, 19 Jul 2008 19:17:45 -0700 From: "Brian McGinty" To: "Kip Macy" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4867420D.7090406@gtcomm.net> <486B41D5.3060609@gtcomm.net> <4871E85C.8090907@freebsd.org> <48726422.7050703@gtcomm.net> <200807080107.m6817XxO021966@lava.sentex.ca> <601bffc40807081346q454c1f40td47a0f54806d8a8c@mail.gmail.com> <601bffc40807112344n7a683f81y516f540e24d87389@mail.gmail.com> Cc: FreeBSD Net , Paul 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: Sun, 20 Jul 2008 02:17:46 -0000 G'day Kip, > I'm hoping to get to it some time in August. I'm a bit behind in my > contracts at the moment. A few weeks ago, I did a quick comparison of the driver between FreeBSD and Linux, and found quite a few differences that's worth pulling over. The guy from Intel working on FreeBSD, Jack?, is he the one that does this sort of sync-up of the drivers between the two distribution, or you? There's been a lot of changes recently, including full support for multiple Rx/Tx queues that significantly ups the ante on performance. FreeBSD doesn't support multiple Rx/Tx, or does something half arsed. > FYI: I'm actually able to forward 2.3Mpps between 2 10Gig interfaces > on an 8-core system. I'm hoping to push it up to 3Mpps. Is this no-loss number, and how did you test it? I don't have throughput numbers for the Oplin. I'm waiting to get some time on the Ixia at work to generate performance numbers for 1G and 10G for all packet sizes, on FreeBSD and Linux, on a 16 core system, and blast it to the list. I expect Linux to do 2-3 times better :-) Later, Brian