diff options
author | Sergej Benilov <sergej.benilov@googlemail.com> | 2019-06-20 12:02:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-23 02:46:32 +0300 |
commit | 8ac8a01092b2added0749ef937037bf1912e13e3 (patch) | |
tree | c49fcde6e86125d1cfd1dc5cf0ca8459d1fcd2e8 /lib/sbitmap.c | |
parent | d0bb82fd60183868f46c8ccc595a3d61c3334a18 (diff) | |
download | linux-8ac8a01092b2added0749ef937037bf1912e13e3.tar.xz |
sis900: fix TX completion
Since commit 605ad7f184b60cfaacbc038aa6c55ee68dee3c89 "tcp: refine TSO autosizing",
outbound throughput is dramatically reduced for some connections, as sis900
is doing TX completion within idle states only.
Make TX completion happen after every transmitted packet.
Test:
netperf
before patch:
> netperf -H remote -l -2000000 -- -s 1000000
MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to 95.223.112.76 () port 0 AF_INET : demo
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 327680 327680 253.44 0.06
after patch:
> netperf -H remote -l -10000000 -- -s 1000000
MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to 95.223.112.76 () port 0 AF_INET : demo
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 327680 327680 5.38 14.89
Thx to Dave Miller and Eric Dumazet for helpful hints
Signed-off-by: Sergej Benilov <sergej.benilov@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions