From owner-freebsd-current@FreeBSD.ORG Fri Oct 8 15:49:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2681D16A4CF for ; Fri, 8 Oct 2004 15:49:30 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A6A643D1F for ; Fri, 8 Oct 2004 15:49:29 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 3317 invoked from network); 8 Oct 2004 15:40:37 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 8 Oct 2004 15:40:37 -0000 Message-ID: <4166B73C.6030209@freebsd.org> Date: Fri, 08 Oct 2004 17:50:20 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Gilbert References: <16742.40802.187425.402461@canoe.dclg.ca> In-Reply-To: <16742.40802.187425.402461@canoe.dclg.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Packet passing performance study on exotic hardware. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 15:49:30 -0000 David Gilbert wrote: > During the next week, I will continue testing with full simulated > routing tables, random packets and packets between 350 and 550 bytes > (average ISP out/in packet sizes). I will add to this report then. > If anyone has tuning advice for FreeBSD 5.3, I'd like to hear it. Three things: sysctl net.inet.ip.fastforwarding=1 Don't use SMP for packet forwarding. It doesn't help anything and introduces only locking overhead. Upgrade to the latest RELENG_5, there are a couple of fixes for things that may hurt you here. Especially there is a fix for the transmit queues on the em() driver. -- Andre