From owner-freebsd-arm@FreeBSD.ORG Sun May 4 10:06:25 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED925B42 for ; Sun, 4 May 2014 10:06:24 +0000 (UTC) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [IPv6:2a02:6b8:0:1819::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA0A814C4 for ; Sun, 4 May 2014 10:06:24 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward6l.mail.yandex.net (Yandex) with ESMTP id 8A6A614E0CF6; Sun, 4 May 2014 14:06:20 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 31C347E0018; Sun, 4 May 2014 14:06:20 +0400 (MSK) Received: from 78.108.203.86.tel.ru (78.108.203.86.tel.ru [78.108.203.86]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id XAQ8Vf7vtX-6JwGk52w; Sun, 4 May 2014 14:06:19 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 12cf4796-80e1-4cce-bc9a-1bc2296188c7 Message-ID: <5366111B.5070503@passap.ru> Date: Sun, 04 May 2014 14:06:19 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: ticso@cicely.de Subject: Re: wandboard-quad: ffec performance (about 190 Mbits/sec) References: <53654A67.6030605@passap.ru> <20140503202441.GD64774@cicely7.cicely.de> In-Reply-To: <20140503202441.GD64774@cicely7.cicely.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 10:06:25 -0000 04.05.2014 00:24, Bernd Walter пишет: > On Sat, May 03, 2014 at 11:58:31PM +0400, Boris Samorodov wrote: >> Hi All, >> >> My home PC has max perfomance approx. 800 Mbit/sec (measured between >> two re adapters and a cheap d-link switch in between them). >> >> I've just test ffec performance (one of re's is the other side): >> ----- >> >> Is this an expected result? Assuming that the system was about 65% idle, >> there is a space for improvement. > > Freecale says that the ethernet interface has a 400Mbit/s memory > interface, so that's pretty much the physical limit and I think even > in summary of both directions. > The hardware also has some very fancy IP offloading stuff, of which I > don't know how much we already utilize. >From the Processor Reference Manual (IMX6DQRM, Rev. 1, 04/2013), Chapter 23 "10/100/1000-Mbps Ethernet MAC (ENET), Section 23.1.1 "Features": ----- The theoretical maximum performance of 1 Gbps ENET is limited to 470 Mbps (total for Tx and Rx)[...] The actual measured performance in an optimized environnment is up to 400 Mbps. ----- So, it seems that 400 Mbps is a real target. > As an interest off myself, when you already have such a setup running. > Can you do a ping test to see what latency you get during bulk traffic > and without? > Currently I can't easily do such tests myself, since I have a full > workbench with unrelated stuff. OK, here it is. Pining wandboard while it generates traffic to iperf server (wandboard runs "iperf -c "). Pinging time window is slightly broader then iperf one: ----- % ping wb2.bb.tel.ru PING wb2 (192.168.100.211): 56 data bytes 64 bytes from 192.168.100.211: icmp_seq=0 ttl=64 time=0.217 ms 64 bytes from 192.168.100.211: icmp_seq=1 ttl=64 time=0.193 ms 64 bytes from 192.168.100.211: icmp_seq=2 ttl=64 time=0.754 ms 64 bytes from 192.168.100.211: icmp_seq=4 ttl=64 time=2.709 ms 64 bytes from 192.168.100.211: icmp_seq=8 ttl=64 time=1.011 ms 64 bytes from 192.168.100.211: icmp_seq=9 ttl=64 time=2.456 ms 64 bytes from 192.168.100.211: icmp_seq=10 ttl=64 time=3.117 ms 64 bytes from 192.168.100.211: icmp_seq=11 ttl=64 time=2.871 ms 64 bytes from 192.168.100.211: icmp_seq=12 ttl=64 time=0.198 ms 64 bytes from 192.168.100.211: icmp_seq=13 ttl=64 time=0.205 ms 64 bytes from 192.168.100.211: icmp_seq=14 ttl=64 time=0.206 ms 64 bytes from 192.168.100.211: icmp_seq=15 ttl=64 time=0.173 ms ^C --- wb2 ping statistics --- 16 packets transmitted, 12 packets received, 25.0% packet loss round-trip min/avg/max/stddev = 0.173/1.176/3.117/1.175 ms ----- -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve