From owner-freebsd-arm@FreeBSD.ORG Fri Mar 13 13:01:04 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 78C89C5B for ; Fri, 13 Mar 2015 13:01:04 +0000 (UTC) Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B056402 for ; Fri, 13 Mar 2015 13:01:03 +0000 (UTC) Received: from [172.16.10.140] (gw.mountain2sea.com [71.70.135.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id C45A41B85; Fri, 13 Mar 2015 08:48:44 -0400 (EDT) Subject: Re: BeagleBone slow inbound net I/O Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_0BC6C9EC-6A10-49F8-B933-10BB1F383E63"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Tom Pusateri In-Reply-To: Date: Fri, 13 Mar 2015 08:52:37 -0400 Message-Id: References: <20150311165115.32327c5a@ivory.wynn.com> <20150312133433.GB28385@cicely7.cicely.de> <20150312232641.4365263d@ivory.wynn.com> To: Paul Mather X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@freebsd.org" , Bernd Walter 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: Fri, 13 Mar 2015 13:01:04 -0000 --Apple-Mail=_0BC6C9EC-6A10-49F8-B933-10BB1F383E63 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Mar 13, 2015, at 8:34 AM, Paul Mather = wrote: >=20 > On Mar 12, 2015, at 11:26 PM, Brett Wynkoop = wrote: >=20 >> Greeting- >>=20 >> It is confirmed, the net I/O is much slower than reading from the SD >> card. Here is another run of tar - pipe - tar, but this time the >> source is the sd card and the destination is still the USB zfs. >=20 >=20 > The Beaglebone uses a USB NIC so any I/O to/from SD card will be = competing for resources and potentially slowing things down. >=20 > Have you tried outputting to /dev/null to get a more accurate sense of = how performant the network I/O alone is? Alternatively, how about using = something like benchmarks/netperf? benchmarks/iperf is a good one too. It will figure out the maximum = bandwidth you can sustain. It's available on Linux and Mac OSX too for = the other end of the test. # run this on one side of the connection and it will start listening as = a server: % iperf -s # on the client side, pick an IP address on the server % iperf -c There's a pretty nice article here about other features of iperf too: = http://crok-linkblog.homelinux.com/links-cisco/how-to-use-iperf-properly-a= dditions-to-the-tcp-throughput-post/ Tom --Apple-Mail=_0BC6C9EC-6A10-49F8-B933-10BB1F383E63 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVAt2VAAoJEPk0GMVmUuYM/fUH/RCGFwhAQftuxgM/M5XTts/G GkDatDMmiUtE7g2K9hWj5sXdl6SduDglnseDEYF/iIgzttah9FqvkWuA8BO1mi5L tlJzfXKv/M3Wcmjxj4Kug/duDJUdTUaiXU1U6DPVgeI7FLy4C+sEoKsXkZ7M0fXi V+QEQI1xeOY3iXJ2MAPrwuyv8GqhmG1TvhJp925A1I5esXbtn4gIczKhQA+MS8Q1 OovRMO6ov3BO+SgsRpdo91e6Ox5ZHfgrjL+dt1I9T3er3TLzSbqFh85vw3g9Tbo8 DDpGMYsR5HJ9Ji9d5rA5jfusSByaYLLfEwL+CyG8vQJK/5dPQKA5uRUbkE3IKYg= =8aFb -----END PGP SIGNATURE----- --Apple-Mail=_0BC6C9EC-6A10-49F8-B933-10BB1F383E63--