From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 12:49:10 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D72BF759 for ; Sun, 8 Feb 2015 12:49:10 +0000 (UTC) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (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 604196BE for ; Sun, 8 Feb 2015 12:49:09 +0000 (UTC) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t18CmsL5056120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 8 Feb 2015 13:48:54 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.14.9/8.14.9) with ESMTP id t18D0ZP9081055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 8 Feb 2015 14:00:35 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.14.9/8.14.9/Submit) id t18D0Zpe081054 for freebsd-mips@freebsd.org; Sun, 8 Feb 2015 14:00:35 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Sun, 8 Feb 2015 14:00:34 +0100 From: Wolfgang Zenker To: freebsd-mips@freebsd.org Subject: IPv6 throughput only half of IPv4 on ERL Message-ID: <20150208130034.GA80972@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: private site User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Sun, 08 Feb 2015 13:48:54 +0100 (CET) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 12:49:10 -0000 Hi, I just started to experiment with FreeBSD MIPS, using an Edge Router Lite as testmachine, running a recent 10.1-STABLE. To test network throughput, I enabled the discard port in inetd and transfered a large file there, via both IPv4 and IPv6. Results: $ dd if=vc.tar bs=1m|nc -4 pomona.lyx 9 552+1 records in 552+1 records out 579002368 bytes transferred in 21.193134 secs (27320281 bytes/sec) $ dd if=vc.tar bs=1m|nc -6 pomona.lyx 9 552+1 records in 552+1 records out 579002368 bytes transferred in 38.638252 secs (14985211 bytes/sec) Testing the same against an Atom-based machine on the same switch took 8.725300 secs (v4) and 10.364100 secs (v6), so the difference between both protocol stacks is much smaller on the Atom target. Any ideas what is the cause of this huge difference on the MIPS platform? Just curious ... Wolfgang