From owner-freebsd-performance@FreeBSD.ORG Fri Jan 12 12:53:58 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 53C0816A40F for ; Fri, 12 Jan 2007 12:53:58 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from smtp.univ-lyon2.fr (smtp.univ-lyon2.fr [159.84.143.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1427213C458 for ; Fri, 12 Jan 2007 12:53:58 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from localhost (localhost [127.0.0.1]) by smtp.univ-lyon2.fr (Postfix) with ESMTP id 1C6461871025; Fri, 12 Jan 2007 13:53:57 +0100 (CET) X-Virus-Scanned: amavisd-new at univ-lyon2.fr Received: from smtp.univ-lyon2.fr ([127.0.0.1]) by localhost (smtp.univ-lyon2.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z6CtoVbeEibv; Fri, 12 Jan 2007 13:53:55 +0100 (CET) Received: from [159.84.148.59] (patpro.univ-lyon2.fr [159.84.148.59]) by smtp.univ-lyon2.fr (Postfix) with ESMTP id D51971871013; Fri, 12 Jan 2007 13:53:55 +0100 (CET) In-Reply-To: <379658.99357.qm@web30309.mail.mud.yahoo.com> References: <379658.99357.qm@web30309.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9E3FD55C-FA00-4909-8A52-AA9F46F9BE65@patpro.net> Content-Transfer-Encoding: 7bit From: Patrick Proniewski Date: Fri, 12 Jan 2007 13:53:55 +0100 To: R.B.Riddick X-Mailer: Apple Mail (2.752.2) Cc: freebsd-performance@freebsd.org 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 12:53:58 -0000 On 12 janv. 07, at 11:45, R. B. Riddick wrote: > --- 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... apache (2.2) is not supposed to be so inefficient :/ But you are right, I might need to try a lighter server. > 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=/dev/zero bs=1m | nc serverIP 1234 > which will eliminate disk latency... I'll try this ASAP. thank you for the tips. patpro