From owner-freebsd-arm@FreeBSD.ORG Sat Mar 14 13:41:03 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 521F0309 for ; Sat, 14 Mar 2015 13:41:03 +0000 (UTC) Received: from relay.mailchannels.net (si-002-i69.relay.mailchannels.net [184.154.112.243]) by mx1.freebsd.org (Postfix) with ESMTP id 7F883214 for ; Sat, 14 Mar 2015 13:41:02 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp1.ore.mailhop.org (ip-10-229-11-165.us-west-2.compute.internal [10.229.11.165]) by relay.mailchannels.net (Postfix) with ESMTPA id A986B1D030A; Sat, 14 Mar 2015 13:23:22 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp1.ore.mailhop.org (smtp1.ore.mailhop.org [10.83.15.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Sat, 14 Mar 2015 13:23:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: duocircle|x-authuser|hippie X-MailChannels-Auth-Id: duocircle X-MC-Loop-Signature: 1426339403817:2605118784 X-MC-Ingress-Time: 1426339403817 Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp1.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YWm2D-0004Od-JF; Sat, 14 Mar 2015 13:23:21 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t2EDNK0T018769; Sat, 14 Mar 2015 07:23:20 -0600 (MDT) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX19x+yFBRXn4NvBgqYkzJSzZ Message-ID: <1426339400.52318.3.camel@freebsd.org> Subject: Re: BeagleBone slow inbound net I/O From: Ian Lepore To: Brett Wynkoop Date: Sat, 14 Mar 2015 07:23:20 -0600 In-Reply-To: <20150314031542.439cdee3@ivory.wynn.com> References: <20150311165115.32327c5a@ivory.wynn.com> <89CEBFCA-6B94-4F48-8DFD-790E4667632D@kientzle.com> <20150314031542.439cdee3@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthUser: hippie Cc: Tim Kientzle , freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2015 13:41:03 -0000 On Sat, 2015-03-14 at 03:15 -0400, Brett Wynkoop wrote: > On Fri, 13 Mar 2015 23:02:25 -0700 > Tim Kientzle wrote: > > > > > > On Mar 11, 2015, at 1:51 PM, Brett Wynkoop > > > wrote: > > > > > > Have I managed to find a network driver issue? Any ideas how to > > > gather more information to help get to the bottom of things? > > > > > > > $ sysctl dev.cpsw > > > > This will dump detailed statistics from the Ethernet hardware and > > driver. > > > > Tim > > > > After a short time while doing nfs i/o > > > [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error > dev.cpsw.0.stats.RxCrcErrors: 40 > dev.cpsw.0.stats.RxAlignErrors: 32 > dev.cpsw.0.stats.CarrierSenseErrors: 0 [...] > [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error > dev.cpsw.0.stats.RxCrcErrors: 262 > dev.cpsw.0.stats.RxAlignErrors: 231 > dev.cpsw.0.stats.CarrierSenseErrors: 0 > [wynkoop@beaglebone ~]$ > > So we can see climbing errors. I am not sure how this compares to the > results of others. The above was during the first few minutes of a > buildworld from an nfs share. > > At the same time on the console: > > Mar 14 03:07:47 beaglebone amd[1163]: mountd rpc failed: RPC: Can't > decode result Mar 14 03:11:48 beaglebone amd[1399]: mountd rpc failed: > RPC: Can't decode result > > which makes sense with the above errors I think. On mine: root@bb:/usr/ports/benchmarks/iperf # sysctl dev.cpsw | grep Err dev.cpsw.0.stats.RxCrcErrors: 0 dev.cpsw.0.stats.RxAlignErrors: 0 dev.cpsw.0.stats.CarrierSenseErrors: 0 That's after 3 days of uptime including doing builds over nfs, and all the iperf testing I was doing yesterday (no errors after megabytes of transfers). I wonder if your power supply is failing and injecting transient glitches under heavy load or something? -- Ian