From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 19:08:29 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC0E2106564A for ; Fri, 22 Jul 2011 19:08:29 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) by mx1.freebsd.org (Postfix) with ESMTP id 604C28FC15 for ; Fri, 22 Jul 2011 19:08:29 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.4/8.14.4) with ESMTP id p6MJ8MTo055214; Fri, 22 Jul 2011 15:08:25 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.4/8.14.4/Submit) id p6MJ8MDr055213; Fri, 22 Jul 2011 15:08:22 -0400 (EDT) (envelope-from mwlucas) Date: Fri, 22 Jul 2011 15:08:21 -0400 From: "Michael W. Lucas" To: Mike Tancsa Message-ID: <20110722190821.GA55040@bewilderbeast.blackhelicopters.org> References: <20110720160432.GA41775@bewilderbeast.blackhelicopters.org> <4D6348DC01B1E406@> <20110720191640.GA42821@bewilderbeast.blackhelicopters.org> <4D301C9702145855@> <20110721141011.GB47190@bewilderbeast.blackhelicopters.org> <4D7F86D5017EB3D8@> <20110721151210.GA47663@bewilderbeast.blackhelicopters.org> <4D301C9702253683@> <4E29BC1F.6060103@sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E29BC1F.6060103@sentex.net> User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Fri, 22 Jul 2011 15:08:27 -0400 (EDT) Cc: Eduardo Morras , questions@freebsd.org Subject: Re: em0 NIC slow on 8.2-p1 amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 19:08:30 -0000 On Fri, Jul 22, 2011 at 02:06:23PM -0400, Mike Tancsa wrote: > On 7/22/2011 1:50 PM, Eduardo Morras wrote: > > At 17:12 21/07/2011, Michael W. Lucas wrote: > >> On Thu, Jul 21, 2011 at 05:01:57PM +0200, Eduardo Morras wrote: > >> > > >> > Have you tried other protocols? Http, rsync... It maybe a problem at > >> > client side, some ftp clients can set a maximun ftp transfer, like > >> > filezilla, winscp, > >> > >> FTP and NFSv3 both have similar results. > >> > >> ==ml > > > > Perhaps you have reached the maximum disk speed. Sorry not more ideas, > > but it doesn't look like a nic problem. Put the file in cache before > > sending it. If it's faster the problem is a bottleneck on hard disk or > > sata/ata/usb bus. > > What if you do a fetch -o /dev/null {http|ftp}://remotesite/file > > and see what speeds you get. That would get rid of the disk as an io issue Good idea. fetch -o /dev/null ftp://xxx/ftp/FreeBSD-9.0-CURRENT-201011-amd64-dvd1.iso /dev/null 100% of 1027 MB 29 MBps 00m00s Basically the same. I don't think it's disk. There's kern/152828 claiming a performance regression with em under 8.2, but I'm not sure if that is applicable to my system. I'd upgrade the kernel to test, but I'm not brave enough to downgrade the kernel to 8.0 for comparison. (I've never had good luck running an old kernel on a new userland.) ==ml -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: Network Flow Analysis http://www.networkflowanalysis.com/ mwlucas@BlackHelicopters.org, Twitter @mwlauthor