From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 14:10:16 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 085B4106566B for ; Thu, 21 Jul 2011 14:10:16 +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 3CBA68FC0A for ; Thu, 21 Jul 2011 14:10:15 +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 p6LEAC3v047276; Thu, 21 Jul 2011 10:10:13 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.4/8.14.4/Submit) id p6LEABjt047275; Thu, 21 Jul 2011 10:10:11 -0400 (EDT) (envelope-from mwlucas) Date: Thu, 21 Jul 2011 10:10:11 -0400 From: "Michael W. Lucas" To: Eduardo Morras Message-ID: <20110721141011.GB47190@bewilderbeast.blackhelicopters.org> References: <20110720160432.GA41775@bewilderbeast.blackhelicopters.org> <4D6348DC01B1E406@> <20110720191640.GA42821@bewilderbeast.blackhelicopters.org> <4D301C9702145855@> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D301C9702145855@> 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]); Thu, 21 Jul 2011 10:10:13 -0400 (EDT) Cc: 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: Thu, 21 Jul 2011 14:10:16 -0000 On Wed, Jul 20, 2011 at 09:32:27PM +0200, Eduardo Morras wrote: > At 21:16 20/07/2011, Michael W. Lucas wrote: > > >It's at gigabit: > > > >em0: flags=8843 metric 0 mtu 1500 > > > >options=219b > > ether 00:15:17:31:c8:fe > > inet xxxxxxx > > media: Ethernet autoselect (1000baseT ) > > status: active > > All seems to be ok, try a netstat -I em0 -d (it's a capital 'i') to > get statistics. If too much packets are dropped recheck cables. > > Other options: > > a) 30 MB/s looks very strange, do you have pf or similar with a filter rule? > b) Have you checked your disk i/o performance? > c) If you generate the data dinamically, may be your producer app is > the problem. > > About the em specific problem under 8.2 you cite, others can guide > better than me. > > HTH No obvious errors on netstat: netstat -I em0 -d Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop em0 1500 00:15:17:31:c8:fe 11709782 0 0 6855755 0 0 0 em0 1500 139.171.199.0 data5-vm 9546994 - - 7584135 - - - PF is running, but disabling it makes no difference in throughput. Disk is mostly idle... not saying it can't be disk, mind you, but local disk-to-disk copies go much more quickly. I'm testing by copying an ISO. And as far as me knowing "many more things," well, if I knew what the problem was, I wouldn't be begging for help like any other user. :-) Thanks, ==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