Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1408803

[PATCH V2 0/2] vhost_net polling optimization

From Jason Wang <jasowang@redhat.com>
Newsgroups linux.kernel
Subject [PATCH V2 0/2] vhost_net polling optimization
Date 2016-05-30 08:50 +0200
Message-ID <rEpbs-B4-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi:

This series tries to optimize vhost_net polling at two points:

- Stop rx polling for reduicng the unnecessary wakeups during
  handle_rx().
- Conditonally enable tx polling for reducing the unnecessary
  traversing and spinlock touching.

Test shows about 17% improvement on rx pps.

Please review

Changes from V1:
- use vhost_net_disable_vq()/vhost_net_enable_vq() instead of open
  coding.
- Add a new patch for conditionally enable tx polling.

Jason Wang (2):
  vhost_net: stop polling socket during rx processing
  vhost_net: conditionally enable tx polling

 drivers/vhost/net.c | 59 +++++++++++++++++++++++++++++------------------------
 1 file changed, 32 insertions(+), 27 deletions(-)

-- 
1.8.3.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH V2 0/2] vhost_net polling optimization Jason Wang <jasowang@redhat.com> - 2016-05-30 08:50 +0200
  [PATCH V2 2/2] vhost_net: conditionally enable tx polling Jason Wang <jasowang@redhat.com> - 2016-05-30 08:50 +0200
    Re: [PATCH V2 2/2] vhost_net: conditionally enable tx polling "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-30 18:00 +0200
      Re: [PATCH V2 2/2] vhost_net: conditionally enable tx polling Jason Wang <jasowang@redhat.com> - 2016-05-31 05:30 +0200

csiph-web