Wind River Support Network

HomeDefectsLIN1019-3821
Fixed

LIN1019-3821 : stmmac: UDP performance degraded in LTS 19 - Stratix10

Created: Dec 19, 2019    Updated: Jan 10, 2020
Resolved Date: Jan 7, 2020
Found In Version: 10.19.45.2
Fix Version: 10.19.45.3
Severity: Severe
Applicable for: Wind River Linux LTS 19
Component/s: Kernel

Description

LTS19 introduces a performance penalty for UDP traffic for the Stratix10 platform of about 20%.
This is reproducible on a Stratix10 reference board.

The issue is also found in the mainline kernel (inherited by Yocto/LTS19) and was fixed in mainline 5.5 by the following commit:

commit 43da44c87678612f301d6ef6314064a6b52aad60
Merge: 983db6198f0d 8d07a7930434
Author: David S. Miller <davem@davemloft.net>
Date: Fri Nov 15 12:25:42 2019 -0800

Merge branch 'net-stmmac-CPU-Performance-Improvements' 

Steps to Reproduce

Two machine configuration:
- Stratix 10 booted with LTS17 and LTS19 acting as a client, IP: 192.168.1.10
- Server (any linux machine with Gigabit ethernet card), IP: 192.168.1.11

1. deploy a standard LTS17 project on a reference Stratix 10 platform, with the iperf3 tool included in the userspace and use it as a client and run on it: 
iperf3 -c 192.168.1.11 -p 5201 -u -b 1000M -i5 -t 
Default 1500 MTU.
2. for the server part, use any Linux running machine with a Gigabit ethernet card and iperf3 installed.
Run on the sever machine the following command: 
sudo iperf3 -s -i 50

Repeat the same scenario but for point 1 use LTS19

Compare the results.
Live chat
Online