Date: Fri, 13 Mar 2015 08:34:59 -0400 From: Paul Mather <paul@gromit.dlib.vt.edu> To: Brett Wynkoop <freebsd-arm@wynn.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Bernd Walter <ticso@cicely7.cicely.de> Subject: Re: BeagleBone slow inbound net I/O Message-ID: <E5292790-BAE2-41BC-BC76-A31C3C7ED76B@gromit.dlib.vt.edu> In-Reply-To: <20150312232641.4365263d@ivory.wynn.com> References: <20150311165115.32327c5a@ivory.wynn.com> <20150312133433.GB28385@cicely7.cicely.de> <20150312232641.4365263d@ivory.wynn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 12, 2015, at 11:26 PM, Brett Wynkoop <freebsd-arm@wynn.com> = wrote: > 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. The Beaglebone uses a USB NIC so any I/O to/from SD card will be = competing for resources and potentially slowing things down. 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? I just tried transferring a big file from another system to my = Beaglebone Black via "nc", piping the output to /dev/null on the = Beaglebone Black, and I am maxing out the 100 Mbit connection: pmather@beaglebone:~ % netstat -w 1 -I cpsw0 input cpsw0 output packets errs idrops bytes packets errs bytes colls 0 0 0 12325666 0 0 269572 0 0 0 0 12302830 0 0 268372 0 0 0 0 12343768 0 0 291730 0 0 0 0 12281634 0 0 267910 0 0 0 0 12284722 0 0 267976 0 0 0 0 12320998 0 0 268768 0 0 0 0 12299862 0 0 268306 0 0 0 0 12290778 0 0 268150 0 0 0 0 12315002 0 0 268636 0 0 0 0 12269522 0 0 267646 0 0 0 0 12322572 0 0 268834 0 0 0 0 12328568 0 0 268900 0 0 0 0 12311974 0 0 268570 0 0 0 0 12281634 0 0 267910 0 0 0 0 12302890 0 0 268372 0 0 0 0 12304344 0 0 268438 0 0 0 0 12289264 0 0 268042 0 0 0 0 12311914 0 0 268570 0 0 0 0 12302890 0 0 268372 0 0 0 0 11554466 0 0 252070 0 0 0 0 12315002 0 0 268636 0 input cpsw0 output packets errs idrops bytes packets errs bytes colls 0 0 0 12307372 0 0 268616 0 0 0 0 12289264 0 0 268042 0 0 0 0 12314942 0 0 268636 0 0 0 0 12299862 0 0 268306 0 ^C So, from my experience, inbound network I/O is as good as can be = expected, at least on the Beaglebone Black. Cheers, Paul.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5292790-BAE2-41BC-BC76-A31C3C7ED76B>