public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Marek Behun <marek.behun@nic•cz>
To: Florian Fainelli <f.fainelli@gmail•com>
Cc: Andrew Lunn <andrew@lunn•ch>,
	netdev@vger•kernel.org,
	Russell King <rmk+kernel@arm•linux.org.uk>
Subject: marvell 6190 NAT performance
Date: Thu, 24 Jan 2019 21:26:40 +0100	[thread overview]
Message-ID: <20190124212640.43813222@nic.cz> (raw)

Hello,

I am encountering strange performance issue when benchmarking NAT
performance on Armada 3720 with Marvell 88e6190 switch.

Download speed (from internet, via Armada 3720 NAT, via switch to LAN
device) is ~750mbps and the CPU running on 100% (mostly in ksoftirq).
Upload speed is ~250mbps.

When the LAN device is connected to A3720 directly (via SFP), the
speeds are both ~1000mbps.

I realize that packing/unpacking packets with Marvell header for the
switch takes some time, but is such a performance drop expected?

This was tested with 5.0.0-rc2 and also 4.14.

Thank you.

Marek

             reply	other threads:[~2019-01-24 20:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 20:26 Marek Behun [this message]
2019-01-24 21:31 ` marvell 6190 NAT performance Florian Fainelli
2019-01-25 12:09   ` Marek Behún
2019-01-29 14:27   ` Marek Behún
2019-01-29 14:56     ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190124212640.43813222@nic.cz \
    --to=marek.behun@nic$(echo .)cz \
    --cc=andrew@lunn$(echo .)ch \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=rmk+kernel@arm$(echo .)linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox