From owner-freebsd-performance@FreeBSD.ORG Fri Jan 12 10:32:53 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 A1C4C16A412 for ; Fri, 12 Jan 2007 10:32:53 +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 6284F13C448 for ; Fri, 12 Jan 2007 10:32:53 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from localhost (localhost [127.0.0.1]) by smtp.univ-lyon2.fr (Postfix) with ESMTP id 6167918680C2; Fri, 12 Jan 2007 11:32:52 +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 TGX+n9+JtKN3; Fri, 12 Jan 2007 11:32:51 +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 44C4618680B9; Fri, 12 Jan 2007 11:32:51 +0100 (CET) In-Reply-To: <20070112093512.83dd49fd.dom@helenmarks.co.uk> References: <20070112093512.83dd49fd.dom@helenmarks.co.uk> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Patrick Proniewski Date: Fri, 12 Jan 2007 11:32:50 +0100 To: Dominic Marks 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 10:32:53 -0000 Hi Dominic, On 12 janv. 07, at 10:35, Dominic Marks wrote: >> File transfert through em0 looks quite slow : at best 17 MB/s (scp >> gives better results than http, tested with a 120MB file) >> File copy, from one HDD to another or from one HDD to /dev/null, >> ranges from 30 to 48 MB/s on the FreeBSD side (SATA HD). > > Try testing FTP. SCP will be doing encryption which will slow > the process down. I can't say which HTTP would be slower than > that. I'm not sure encryption slows it down, the box has 4 CPU (2 dual core Xeon LV 1.66 GHz), and as I've said, non-encrypted HTTP was slower :/ > I have some Dell's with similar specification which will > happily FTP back and forth at around 40MB/s which is reasonable. 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. >> I would like to know if there is a good method to find the bottleneck >> and to get rid of it. How comes my GbE is so slow ? > > This is a dedicated network right? No other traffic? the Mac OS X box access the Internet via the FreeBSD gateway (mac<-- >em0(freebsd)fxp0<-->internet), so it's not absolutely dedicated to my network benchmarks. But internet related traffic was as low as possible during my tests (few imap sessions, one irc connexion). patpro