From owner-freebsd-performance@FreeBSD.ORG Fri Jul 4 18:30:37 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CA531065679 for ; Fri, 4 Jul 2008 18:30:37 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 863288FC1E; Fri, 4 Jul 2008 18:30:35 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <486E6C4B.6060902@FreeBSD.org> Date: Fri, 04 Jul 2008 20:30:35 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Hwa Hing References: <486AE678.8050206@smartteam.net> In-Reply-To: <486AE678.8050206@smartteam.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, David Kwan Subject: Re: TCP stack in FreeBSD poor performance in 100MB to Gigabit environment. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2008 18:30:37 -0000 Hwa Hing wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I also had such problem with FreeBSD-7 Stable-SMP with 4 port Intel > 1GBit NIC em Driver and with Packet Filter, ALTQ enabled. But it doesn't sound like you are testing the same thing at all. > I tested with iperf from network a to network b. I found freebsd droping > packets and the transfer speed in routed mode is only 2 mbit/s compare > to linux router which able to forward the traffic at almost full speed. Check that the software isn't making invalid Linux-specific assumptions about e.g. socket buffer sizes. Kris