From owner-freebsd-arm@freebsd.org Wed Jul 29 15:17:10 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08DD89AEA43 for ; Wed, 29 Jul 2015 15:17:10 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 C4CD41ACD for ; Wed, 29 Jul 2015 15:17:09 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by igk11 with SMTP id 11so138673725igk.1 for ; Wed, 29 Jul 2015 08:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Xrf9XxpkZnmZdYz05TF7x9wabUcebDyqBB2E86wqXXQ=; b=zQm+EV1eAUR96tNRWcji8e2ze1oY6+0aXKndpPjU7KjC06tXVSK0vqgcQA1RaYL6aS U6LbghhQooSBmE03dd35ngqSLKT41Ua3NBExRUuz+PuKuQuYYKKDvXmEuphfX7RHKyG4 wTqeXESqApwB0T90VtDxj8pZRhwCi5Wtpd1jxx7fImX1WFX62AWnPdVJ7PxP5huJNqUh E3zmXOQ8CbxJ0tLgdWRISi7cT+Gb5Qxyps0eSQapVBXvilf/HQonYoLHTBGu+aWEqvsV SfUe1o3+eZqRDExSpcUpk7LStO7A6OFA35ltRBkj4/zgcSt4mN4bcHpODGHa94dF1CbQ CKzQ== X-Received: by 10.50.117.70 with SMTP id kc6mr6498804igb.6.1438183029143; Wed, 29 Jul 2015 08:17:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.143.4 with HTTP; Wed, 29 Jul 2015 08:16:39 -0700 (PDT) In-Reply-To: References: <55A7D8CE.4020809@selasky.org> <55B23276.8090703@selasky.org> <55B73113.2020308@selasky.org> From: Jia-Shiun Li Date: Wed, 29 Jul 2015 23:16:39 +0800 Message-ID: Subject: Re: [RPI-B] [HEADS UP] DWC OTG TX path optimisation for 11-current To: Hans Petter Selasky Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 15:17:10 -0000 On Tue, Jul 28, 2015 at 10:28 PM, Jia-Shiun Li wrote: > On Tue, Jul 28, 2015 at 3:36 PM, Hans Petter Selasky > wrote: > >> Hi, >> >> Can you test this: >> >> https://svnweb.freebsd.org/changeset/base/285935 >> > > > jsli@rpi2:~ % uname -a > FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #15 r285958: Tue Jul 28 > 22:03:33 CST 2015 jsli@4cbsd:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm > > > TX: > [ 3] 0.0-10.0 sec 93.1 MBytes 78.1 Mbits/sec > > RX: > [ 3] 0.0-10.0 sec 73.6 MBytes 61.6 Mbits/sec > jsli@4cbsd:~ % > > Meanwhile the same revision on rpi-b are not as fast.. TX: jsli@raspberry-pi:~ % iperf -c 192.168.111.192 ------------------------------------------------------------ Client connecting to 192.168.111.192, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.111.9 port 25106 connected with 192.168.111.192 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 40.8 MBytes 34.1 Mbits/sec jsli@raspberry-pi:~ % RX: jsli@4cbsd:~ % iperf -c 192.168.111.9 ------------------------------------------------------------ Client connecting to 192.168.111.9, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.111.192 port 16768 connected with 192.168.111.9 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 31.2 MBytes 26.2 Mbits/sec jsli@4cbsd:~ % -Jia-Shiun