From owner-freebsd-performance@FreeBSD.ORG Fri Jan 12 17:56:33 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7559316A407 for ; Fri, 12 Jan 2007 17:56:33 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (smtp01.domeneshop.no [194.63.248.15]) by mx1.freebsd.org (Postfix) with ESMTP id 0FFC413C441 for ; Fri, 12 Jan 2007 17:56:32 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from [192.168.0.100] (225.0.33.65.cfl.res.rr.com [65.33.0.225]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.8/8.13.8) with ESMTP id l0CHajln003302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Jan 2007 18:36:47 +0100 Message-ID: <45A7C72C.6080404@wm-access.no> Date: Fri, 12 Jan 2007 12:36:44 -0500 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Patrick Proniewski References: <379658.99357.qm@web30309.mail.mud.yahoo.com> <9E3FD55C-FA00-4909-8A52-AA9F46F9BE65@patpro.net> In-Reply-To: <9E3FD55C-FA00-4909-8A52-AA9F46F9BE65@patpro.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-performance@freebsd.org, "R.B.Riddick" Subject: Re: network perf : em driver ? 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, 12 Jan 2007 17:56:33 -0000 Patrick Proniewski wrote: > On 12 janv. 07, at 11:45, R. B. Riddick wrote: >=20 >> --- Patrick Proniewski wrote: >>> I'll give FTP a try, but I would like the network to be fast for >>> every protocols. I'm planning to share data using NFS, WebDAV, or SMB= >>> (and scp occasionally), but I've still to choose and configure >>> appropriate servers. >>> >> We had that problem before: Some HTTP server implementations just dont= >> bring >> it... :-) thttpd is quite efficient, I have heard... >=20 > apache (2.2) is not supposed to be so inefficient :/ But you are right,= > I might need to try a lighter server. >=20 >> You can try >> 1. src/tools/tools/netrate/netblast >> 2. increase MTU (ifconfig em0 mtu 65536 or so; never tried that myself= ) >> 3. ports/benchmarks/tcpblast >> 4. build something with nc: >> server: nc -l 1234 > /dev/null >> client: dd if=3D/dev/zero bs=3D1m | nc serverIP 1234 >> which will eliminate disk latency... >=20 >=20 > I'll try this ASAP. > thank you for the tips. >=20 Maybe i misunderstood something but i think 6.2 has some changes done to how it identifies local networks and how that affects inflight. Try disabling tcp inflight for these tests. Also SACK seems to affect the local network performance. Also try: sysctl net.inet.tcp.delayedack=3D0 --=20 Sten Daniel S=F8rsdal