diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2022-11-30 22:37:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-02 13:47:49 +0300 |
commit | d3dfe8d6c04061a3eadfc299ba8009b38f4bc25b (patch) | |
tree | 4b65cbe25da50111fd0ce743ecae599bffd3abaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4f661ccfcac70f3838f7e5ca53ac51c86e1acbb1 (diff) | |
download | linux-d3dfe8d6c04061a3eadfc299ba8009b38f4bc25b.tar.xz |
tsnep: Throttle interrupts
Without interrupt throttling, iperf server mode generates a CPU load of
100% (A53 1.2GHz). Also the throughput suffers with less than 900Mbit/s
on a 1Gbit/s link. The reason is a high interrupt load with interrupts
every ~20us.
Reduce interrupt load by throttling of interrupts. Interrupt delay
default is 64us. For iperf server mode the CPU load is significantly
reduced to ~20% and the throughput reaches the maximum of 941MBit/s.
Interrupts are generated every ~140us.
RX and TX coalesce can be configured with ethtool. RX coalesce has
priority over TX coalesce if the same interrupt is used.
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions