From owner-freebsd-net@FreeBSD.ORG Mon Feb 25 13:34:30 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 34F0316A405 for ; Mon, 25 Feb 2008 13:34:30 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: from mail.mastercabo.com.br (mail.mastercabo.com.br [200.179.179.14]) by mx1.freebsd.org (Postfix) with SMTP id 315B113C461 for ; Mon, 25 Feb 2008 13:34:28 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 78733 invoked by uid 1008); 25 Feb 2008 13:34:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6-unknown (2006-10-03) on srvmail2 X-Spam-Level: X-Spam-Status: No, score=-1.7 required=4.7 tests=AWL,BAYES_00 autolearn=ham version=3.1.6-unknown Received: from unknown (HELO ?10.0.0.10?) (daniel@dgnetwork.com.br@200.243.216.34) by mail.mastercabo.com.br with SMTP; 25 Feb 2008 13:34:20 -0000 Message-ID: <47C2C215.3040802@dgnetwork.com.br> Date: Mon, 25 Feb 2008 10:26:45 -0300 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= Organization: DGNET Network Solutions User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-performance@freebsd.org References: <107794589.20080205140018@starnet.cz> <5f67a8c40802051205t74a38663xd692e2a754d3788b@mail.gmail.com> <338145956.20080224190429@starnet.cz> In-Reply-To: <338145956.20080224190429@starnet.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: FBSD 1GBit router? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 13:34:30 -0000 Bc. Radek Krejca escreveu: > Hi, > > ZB> - upgrade at least to 6.3. upgrading to 7.0 might also be better, depending > ZB> on hardware choices > ZB> - ensure your ethernet cards are on fast enough busses. 'em' (Intel Ether > ZB> Express 1000) flavor ports are my personal favorite > ZB> - enable polling (this will make a _huge_ difference by itself) > ZB> - your hardware is (likely) dual core. Make sure every piece of hardware in > ZB> use doesn't involve any giant locks. Under 6.x consider the mpsafenet > ZB> sysctl. This is also a point on which 7.0 will shine. > > I upgrade to 7.0RC3 but still the same. 418Mbit is the roof. > > Is recommendable set MPSAFENET to 1 in versions 6.x to improve the performance? and POLLING in the following system with 8 interfaces IF_EM ?? CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU) Logical CPUs per core: 2 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs SMP: AP CPU #1 Launched! Interfaces if_em: vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller' -- Daniel