# \[REBASE PATCH net-next v9 0/4\] net: vhost: improve performance when enable busyloop

- From: \<hidden\>
- Date: 2018-09-25 18:44:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/09/11109372
- Thread: https://ratatoskr.run/netdev/2018/09/11109372/t.md

```text
From: Tonghao Zhang <redacted>

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

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   | 147 +++++++++++++++++++++++++++++---------------------
 drivers/vhost/vhost.c |  24 +++------
 2 files changed, 92 insertions(+), 79 deletions(-)

-- 
1.8.3.1
```
