]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'aquantia-rx-perf'
authorDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2019 02:16:54 +0000 (22:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2019 02:16:54 +0000 (22:16 -0400)
commita7061ceb8b84851d0b4394f48189d226b3a728bf
treeb206d0ecd8f544f66b6067d3fe25c29d515e9e16
parent6c1dc520147d157b7ea5db316389ece0646df25e
parentc3dbb0dbd95e8206fcd8d3b9ae2b1ab188d967b0
Merge branch 'aquantia-rx-perf'

Igor Russkikh says:

====================
net: aquantia: RX performance optimization patches

Here is a set of patches targeting for performance improvement
on various platforms and protocols.

Our main target was rx performance on iommu systems, notably
NVIDIA Jetson TX2 and NVIDIA Xavier platforms.

We introduce page reuse strategy to better deal with iommu dma mapping costs.
With it we see 80-90% of page reuse under some test configurations on UDP traffic.

This shows good improvements on other systems with IOMMU hardware, like
AMD Ryzen.

We've also improved TCP LRO configuration parameters, allowing packets to better
coalesce.

Page reuse tests were carried out using iperf3, iperf2, netperf and pktgen.
Mainly on UDP traffic, with various packet lengths.

Jetson TX2, UDP, Default MTU:
RX Lost Datagrams
  Before: Max: 69%  Min: 68% Avg: 68.5%
  After:  Max: 41%  Min: 38% Avg: 39.2%
Maximum throughput
  Before: 1.27 Gbits/sec
  After:  2.41 Gbits/sec

AMD Ryzen 5 2400G, UDP, Default MTU:
RX Lost Datagrams
  Before:  Max: 12%  Min: 4.5% Avg: 7.17%
  After:   Max: 6.2% Min: 2.3% Avg: 4.26%
====================

Signed-off-by: David S. Miller <davem@davemloft.net>