Re: [PATCH V3 0/2] vhost_net polling optimization
From: Michael S. Tsirkin
Date: Fri Jun 03 2016 - 09:03:32 EST
On Thu, Jun 02, 2016 at 12:08:06PM -0700, David Miller wrote:
> From: Jason Wang <jasowang@xxxxxxxxxx>
> Date: Wed, 1 Jun 2016 01:56:32 -0400
> > 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 V2:
> > - Don't enable rx vq if we meet an err or rx vq is empty
> > 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.
> Michael, please review this patch series.
thanks for the reminder, I plan to review next week.