diff options
| author | Vincent Whitchurch <[email protected]> | 2020-11-20 15:02:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-24 16:47:44 +0000 |
| commit | d5a05e69ac6e4c431c380ced2b534c91f7bc3280 (patch) | |
| tree | 9b30938460fd42441b0d9c6bb53f5dd679c0d0a7 /net/lapb/lapb_iface.c | |
| parent | sctp: Fix some typo (diff) | |
| download | kernel-d5a05e69ac6e4c431c380ced2b534c91f7bc3280.tar.gz kernel-d5a05e69ac6e4c431c380ced2b534c91f7bc3280.zip | |
net: stmmac: Use hrtimer for TX coalescing
This driver uses a normal timer for TX coalescing, which means that the
with the default tx-usecs of 1000 microseconds the cleanups actually
happen 10 ms or more later with HZ=100. This leads to very low
througput with TCP when bridged to a slow link such as a 4G modem. Fix
this by using an hrtimer instead.
On my ARM platform with HZ=100 and the default TX coalescing settings
(tx-frames 25 tx-usecs 1000), with "tc qdisc add dev eth0 root netem
delay 60ms 40ms rate 50Mbit" run on the server, netperf's TCP_STREAM
improves from ~5.5 Mbps to ~100 Mbps.
Signed-off-by: Vincent Whitchurch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
