aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ip-sysctl.txt
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2019-06-13 12:24:57 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-14 19:34:27 -0700
commit31c03aef9bc22a64a8324d650ca4198819ef3a33 (patch)
treef899165551f74efdad63d2542c0e21ecb22dfbb9 /Documentation/networking/ip-sysctl.txt
parentnet: sched: ingress: set 'unlocked' flag for clsact Qdisc ops (diff)
downloadlinux-dev-31c03aef9bc22a64a8324d650ca4198819ef3a33.tar.xz
linux-dev-31c03aef9bc22a64a8324d650ca4198819ef3a33.zip
virtio_net: enable napi_tx by default
NAPI tx mode improves TCP behavior by enabling TCP small queues (TSQ). TSQ reduces queuing ("bufferbloat") and burstiness. Previous measurements have shown significant improvement for TCP_STREAM style workloads. Such as those in commit 86a5df1495cc ("Merge branch 'virtio-net-tx-napi'"). There has been uncertainty about smaller possible regressions in latency due to increased reliance on tx interrupts. The above results did not show that, nor did I observe this when rerunning TCP_RR on Linux 5.1 this week on a pair of guests in the same rack. This may be subject to other settings, notably interrupt coalescing. In the unlikely case of regression, we have landed a credible runtime solution. Ethtool can configure it with -C tx-frames [0|1] as of commit 0c465be183c7 ("virtio_net: ethtool tx napi configuration"). NAPI tx mode has been the default in Google Container-Optimized OS (COS) for over half a year, as of release M70 in October 2018, without any negative reports. Link: https://marc.info/?l=linux-netdev&m=149305618416472 Link: https://lwn.net/Articles/507065/ Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/ip-sysctl.txt')
0 files changed, 0 insertions, 0 deletions