Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2017-11-13 06:45:34 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-15 07:50:58 +0300
commitfeb8892cb441c742d4220cf7ced001e7fa070731 (patch)
tree5e0b6f1b25d54e6bb4c57bf0ade726a01c330fbe /drivers/net/usb/ipheth.c
parent0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a (diff)
vhost_net: conditionally enable tx polling
We always poll tx for socket, this is sub optimal since this will slightly increase the waitqueue traversing time and more important, vhost could not benefit from commit 9e641bdcfa4e ("net-tun: restructure tun_do_read for better sleep/wakeup efficiency") even if we've stopped rx polling during handle_rx(), tx poll were still left in the waitqueue. Pktgen from a remote host to VM over mlx4 on two 2.00GHz Xeon E5-2650 shows 11.7% improvements on rx PPS. (from 1.28Mpps to 1.44Mpps) Cc: Wei Xu <wexu@redhat.com> Cc: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/ipheth.c')
0 files changed, 0 insertions, 0 deletions