virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/4] net: vhost: improve performance when enable busyloop
@ 2018-07-21 18:03 xiangxia.m.yue
  2018-07-21 18:03 ` [PATCH net-next v6 1/4] net: vhost: lock the vqs one by one xiangxia.m.yue
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: xiangxia.m.yue @ 2018-07-21 18:03 UTC (permalink / raw)
  To: jasowang; +Cc: netdev, virtualization, mst

From: Tonghao Zhang <xiangxia.m.yue@gmail.com>

This patches improve the guest receive performance.
On the handle_tx side, we poll the sock receive queue
at the same time. handle_rx do that in the same way.

For more performance report, see patch 4.

v5->v6:
rebase the codes.

Tonghao Zhang (4):
  net: vhost: lock the vqs one by one
  net: vhost: replace magic number of lock annotation
  net: vhost: factor out busy polling logic to vhost_net_busy_poll()
  net: vhost: add rx busy polling in tx path

 drivers/vhost/net.c   | 148 +++++++++++++++++++++++++++++---------------------
 drivers/vhost/vhost.c |  24 +++-----
 2 files changed, 94 insertions(+), 78 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-07-30  3:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-21 18:03 [PATCH net-next v6 0/4] net: vhost: improve performance when enable busyloop xiangxia.m.yue
2018-07-21 18:03 ` [PATCH net-next v6 1/4] net: vhost: lock the vqs one by one xiangxia.m.yue
2018-07-21 18:04 ` [PATCH net-next v6 2/4] net: vhost: replace magic number of lock annotation xiangxia.m.yue
2018-07-21 18:04 ` [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll() xiangxia.m.yue
2018-07-21 18:04 ` [PATCH net-next v6 4/4] net: vhost: add rx busy polling in tx path xiangxia.m.yue
     [not found] ` <1532196242-2998-2-git-send-email-xiangxia.m.yue@gmail.com>
2018-07-22 15:26   ` [PATCH net-next v6 1/4] net: vhost: lock the vqs one by one Michael S. Tsirkin
     [not found]   ` <20180722182448-mutt-send-email-mst@kernel.org>
2018-07-25 12:05     ` Tonghao Zhang
     [not found]     ` <CAMDZJNX41vtdNNEAxHYwC+WcrJFkON70hVumVE9rbFDBC5QUOQ@mail.gmail.com>
2018-07-30  2:54       ` Jason Wang
     [not found] ` <1532196242-2998-4-git-send-email-xiangxia.m.yue@gmail.com>
2018-07-23  9:57   ` [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll() Toshiaki Makita
2018-07-23 12:43     ` Tonghao Zhang
     [not found]     ` <CAMDZJNVPi8DMScyF2KW0mLAYe0p8uUVVY55Oo9Hk6SJJTMZYKg@mail.gmail.com>
     [not found]       ` <2b0efbf4-09e2-0ee9-091f-e2d9e10483a1@gmail.com>
2018-07-23 17:31         ` Tonghao Zhang
     [not found]         ` <CAMDZJNXWs+yqAcZ-7gW6RQjen0-mzfJ-Ar-O0_wttse2A-3-HQ@mail.gmail.com>
2018-07-24  2:53           ` Toshiaki Makita
2018-07-24  3:28             ` Tonghao Zhang
2018-07-24  3:41               ` Toshiaki Makita
2018-07-30  3:16               ` Jason Wang
2018-07-25 20:01 ` [PATCH net-next v6 0/4] net: vhost: improve performance when enable busyloop David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).