From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932629AbcFCNDa (ORCPT ); Fri, 3 Jun 2016 09:03:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36679 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbcFCND2 (ORCPT ); Fri, 3 Jun 2016 09:03:28 -0400 Date: Fri, 3 Jun 2016 16:03:25 +0300 From: "Michael S. Tsirkin" To: David Miller Cc: jasowang@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3 0/2] vhost_net polling optimization Message-ID: <20160603160259-mutt-send-email-mst@redhat.com> References: <1464760594-30326-1-git-send-email-jasowang@redhat.com> <20160602.120806.2233781548139724198.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160602.120806.2233781548139724198.davem@davemloft.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 03 Jun 2016 13:03:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 02, 2016 at 12:08:06PM -0700, David Miller wrote: > From: Jason Wang > 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. thanks for the reminder, I plan to review next week.