diff options
author | Gerhard Engleder <[email protected]> | 2022-11-30 20:37:07 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-02 10:47:49 +0000 |
commit | d3dfe8d6c04061a3eadfc299ba8009b38f4bc25b (patch) | |
tree | 4b65cbe25da50111fd0ce743ecae599bffd3abaf /lib/mpi/mpi-sub-ui.c | |
parent | 4f661ccfcac70f3838f7e5ca53ac51c86e1acbb1 (diff) |
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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions