From owner-freebsd-arm@FreeBSD.ORG Sat Mar 14 07:15:46 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 5232F6DC for ; Sat, 14 Mar 2015 07:15:46 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1457EA68 for ; Sat, 14 Mar 2015 07:15:45 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t2E7FhDB093561; Sat, 14 Mar 2015 03:15:43 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Sat, 14 Mar 2015 03:15:42 -0400 From: Brett Wynkoop To: Tim Kientzle Subject: Re: BeagleBone slow inbound net I/O Message-ID: <20150314031542.439cdee3@ivory.wynn.com> In-Reply-To: <89CEBFCA-6B94-4F48-8DFD-790E4667632D@kientzle.com> References: <20150311165115.32327c5a@ivory.wynn.com> <89CEBFCA-6B94-4F48-8DFD-790E4667632D@kientzle.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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 07:15:46 -0000 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: 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: 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: 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: 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: 43 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: 43 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: 54 dev.cpsw.0.stats.RxAlignErrors: 36 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 59 dev.cpsw.0.stats.RxAlignErrors: 40 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 64 dev.cpsw.0.stats.RxAlignErrors: 48 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 66 dev.cpsw.0.stats.RxAlignErrors: 50 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 67 dev.cpsw.0.stats.RxAlignErrors: 53 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 67 dev.cpsw.0.stats.RxAlignErrors: 53 dev.cpsw.0.stats.CarrierSenseErrors: 0 .... [wynkoop@beaglebone ~]$ sysctl dev.cpsw | grep -i error dev.cpsw.0.stats.RxCrcErrors: 172 dev.cpsw.0.stats.RxAlignErrors: 141 dev.cpsw.0.stats.CarrierSenseErrors: 0 [wynkoop@beaglebone ~]$ ..... [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. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment VIII Excessive bail shall not be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted.