From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 16:17:57 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 F389C957 for ; Sun, 8 Feb 2015 16:17:56 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9D6BAE8 for ; Sun, 8 Feb 2015 16:17:56 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id h15so11936758igd.4 for ; Sun, 08 Feb 2015 08:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OVbyDXgSmvnRnZ03rqjqozkAhwfDXzXY39qk4QKW8I4=; b=JoP0908PiZL674iP8IBQdeh0hclCdPmoeFRa6+pUhOKFY4jdEfHVSUqDuZA+TAQe4h h7mMHgKXxG0zPOPYaLpzkLHVkPU0IBZzv1aR97Z2eEAnQQ3QWYbGLeubUBdXqZtsOdAm CbMRfSlXM45/p7UeIdzZ9h4IWMOF3rVANYJsfy8brxrudaR7Yrr5K9KgtSP/YXgQW6iy /Mfw0YNETKaHMkbZY5TTz4sQqrbMWMiVSR/gRv8LFLnCzyzRrz5pbScgVDrNrVbm+mE3 u8y8RG7JCVT1D6NXQQ4KRb9el9BxwHtqHZhq+u2m4isZvUph/hAUM0RnLRBwQ9YkXiKF 20aA== MIME-Version: 1.0 X-Received: by 10.50.66.170 with SMTP id g10mr7238251igt.49.1423412275356; Sun, 08 Feb 2015 08:17:55 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.7 with HTTP; Sun, 8 Feb 2015 08:17:55 -0800 (PST) In-Reply-To: <20150208130034.GA80972@lyxys.ka.sub.org> References: <20150208130034.GA80972@lyxys.ka.sub.org> Date: Sun, 8 Feb 2015 08:17:55 -0800 X-Google-Sender-Auth: W-XkXG3IoVgJI5-AnZ8qHcNoj0k Message-ID: Subject: Re: IPv6 throughput only half of IPv4 on ERL From: Adrian Chadd To: Wolfgang Zenker Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mips@freebsd.org" 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 16:17:57 -0000 everything's bigger in ipv6? Well, try kldload hwpmc and see if pmcstat works for you. I haven't tried it on the Octeon hardware. That'll be useful for chasing down why it's chewing CPU. -adrian On 8 February 2015 at 05:00, Wolfgang Zenker wrote: > 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 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"