From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: [PATCH 0/3]: net: dsa: mt7530: support MT7530 in the MT7621 SoC Date: Tue, 11 Dec 2018 09:28:05 +0100 Message-ID: <87y38wo4bu.fsf@miraculix.mork.no> References: <20181130075737.8041-1-gerg@kernel.org> <87r2f2pxpa.fsf@miraculix.mork.no> <87pnu8vepj.fsf@notabene.neil.brown.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: gerg@kernel.org, sean.wang@mediatek.com, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, blogic@openwrt.org, =?utf-8?Q?Ren=C3=A9?= van Dorst To: NeilBrown Return-path: Received: from canardo.mork.no ([148.122.252.1]:44997 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbeLKI3k (ORCPT ); Tue, 11 Dec 2018 03:29:40 -0500 In-Reply-To: <87pnu8vepj.fsf@notabene.neil.brown.name> (NeilBrown's message of "Tue, 11 Dec 2018 16:02:00 +1100") Sender: netdev-owner@vger.kernel.org List-ID: NeilBrown writes: > I got your patch working on 4.20-rc5 and did a performance comparison. > With the staging driver (using iperf3) I get > 220 MBit/sec in > 680 MBit/sec out > > with the patched mainline driver I get > 190 MBit/sec in > 93 MBit/sec out > > (numbers are a bit rubbery, but within 10%) > > I haven't looked into why this might be, but thought I would mention it. > > Strangely when I test with scp, I get about 10MB/sec in both directions > with both drivers. Maybe the CPU limits encryption speed. > > I have a 4.4-based kernel where I get 940MBit/sec both ways - using a > precursor of the current staging driver. Yes, thanks for bringing this up. I should have mentioned that I haven't considered performance at all yet. Bj=C3=B8rn