TCP (Mbps) | UDP(Mbps) | |||||||
---|---|---|---|---|---|---|---|---|
MTU | TX | CPU(%) | RX | CPU(%) | TX | CPU(%) | RX | CPU(%) |
1500 | 728.76 | 97.29 | 548.70 | 95.96 | 565.6 | 65.00 | 444.8 | 99.55 |
Linux version: 5.4 and above
NOTE - There is ~10% drop in performance (compared to 2019.2) for 1500 MTU. The drop is due to this commit enabling CONFIG_OPTIMIZE_INLINING forcibly in linux kernel. It is observed on GEM and Xilinx Axi Ethernet drivers on Zynq.
Kernel and networking stack has a large number of inline functions and it could be some unoptimized inline function (could also be dependent on gcc version) leading to performance drop.
The plan is to document this performance drop on Zynq and initiate a discussion with mainline community so that it is analyzed by respective kernel maintainers.
TCP (Mbps) | UDP(Mbps) | |||||||
---|---|---|---|---|---|---|---|---|
MTU | TX | CPU(%) | RX | CPU(%) | TX | CPU(%) | RX | CPU(%) |
1500 | 654.79 | 93.11 | 737.63 | 81.43 | 486.8 | 63.56 | 303 | 96.23 |
Linux version: 5.10
TCP (Mbps) | UDP(Mbps) | |||||||
---|---|---|---|---|---|---|---|---|
MTU | TX | CPU(%) | RX | CPU(%) | TX | CPU(%) | RX | CPU(%) |
1500 |
675.79 |
90.68 |
759.22 |
86.45 |
455.0 |
62.95 |
690.1 |
82.99 |