All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Jason Wang <jasowang@redhat.com>
Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 3/3] vhost_net: basic polling support
Date: Wed, 2 Dec 2015 14:36:31 +0200	[thread overview]
Message-ID: <20151202143522-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <565E7BC3.2060107@redhat.com>

On Wed, Dec 02, 2015 at 01:04:03PM +0800, Jason Wang wrote:
> 
> 
> On 12/01/2015 10:43 PM, Michael S. Tsirkin wrote:
> > On Tue, Dec 01, 2015 at 01:17:49PM +0800, Jason Wang wrote:
> >>
> >> On 11/30/2015 06:44 PM, Michael S. Tsirkin wrote:
> >>> On Wed, Nov 25, 2015 at 03:11:29PM +0800, Jason Wang wrote:
> >>>>> This patch tries to poll for new added tx buffer or socket receive
> >>>>> queue for a while at the end of tx/rx processing. The maximum time
> >>>>> spent on polling were specified through a new kind of vring ioctl.
> >>>>>
> >>>>> Signed-off-by: Jason Wang <jasowang@redhat.com>
> >>> One further enhancement would be to actually poll
> >>> the underlying device. This should be reasonably
> >>> straight-forward with macvtap (especially in the
> >>> passthrough mode).
> >>>
> >>>
> >> Yes, it is. I have some patches to do this by replacing
> >> skb_queue_empty() with sk_busy_loop() but for tap.
> > We probably don't want to do this unconditionally, though.
> >
> >> Tests does not show
> >> any improvement but some regression.
> > Did you add code to call sk_mark_napi_id on tap then?
> > sk_busy_loop won't do anything useful without.
> 
> Yes I did. Probably something wrong elsewhere.

Is this for guest-to-guest? the patch to do napi
for tap is still not upstream due to minor performance
regression.  Want me to repost it?

> >
> >>  Maybe it's better to test macvtap.
> > Same thing ...
> >

  parent reply	other threads:[~2015-12-02 12:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25  7:11 [PATCH net-next 0/3] basic busy polling support for vhost_net Jason Wang
2015-11-25  7:11 ` Jason Wang
2015-11-25  7:11 ` [PATCH net-next 1/3] vhost: introduce vhost_has_work() Jason Wang
2015-11-25  7:11   ` Jason Wang
2015-11-25  7:11 ` [PATCH net-next 2/3] vhost: introduce vhost_vq_more_avail() Jason Wang
2015-11-25  7:11   ` Jason Wang
2015-11-30  8:22   ` Michael S. Tsirkin
2015-11-30  8:22   ` Michael S. Tsirkin
2015-12-01  5:14     ` Jason Wang
2015-12-01  5:14       ` Jason Wang
2015-11-25  7:11 ` [PATCH net-next 3/3] vhost_net: basic polling support Jason Wang
2015-11-25  7:11   ` Jason Wang
2015-11-30 10:44   ` Michael S. Tsirkin
2015-11-30 10:44     ` Michael S. Tsirkin
2015-12-01  5:17     ` Jason Wang
2015-12-01  5:17     ` Jason Wang
2015-12-01 14:43       ` Michael S. Tsirkin
2015-12-01 14:43         ` Michael S. Tsirkin
2015-12-02  5:04         ` Jason Wang
2015-12-02  5:04         ` Jason Wang
2015-12-02 12:36           ` Michael S. Tsirkin
2015-12-02 12:36           ` Michael S. Tsirkin [this message]
2015-12-04  2:24             ` Jason Wang
2015-12-04  2:24               ` Jason Wang
2015-11-30  3:31 ` [PATCH net-next 0/3] basic busy polling support for vhost_net David Miller
2015-11-30  3:31   ` David Miller
2015-11-30  8:22   ` Michael S. Tsirkin
2015-11-30  8:22     ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151202143522-mutt-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.