From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tonghao Zhang Subject: Re: [PATCH net-next v9 0/6] net: vhost: improve performance when enable busyloop Date: Sun, 23 Sep 2018 21:48:04 +0800 Message-ID: References: <1536493887-2637-1-git-send-email-xiangxia.m.yue@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: virtualization@lists.linux-foundation.org, Linux Kernel Network Developers To: jasowang@redhat.com, mst@redhat.com, makita.toshiaki@lab.ntt.co.jp Return-path: Received: from mail-oi0-f68.google.com ([209.85.218.68]:40759 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbeIWTps (ORCPT ); Sun, 23 Sep 2018 15:45:48 -0400 Received: by mail-oi0-f68.google.com with SMTP id l202-v6so15011239oig.7 for ; Sun, 23 Sep 2018 06:48:16 -0700 (PDT) In-Reply-To: <1536493887-2637-1-git-send-email-xiangxia.m.yue@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Sep 9, 2018 at 7:52 PM wrote: > > From: Tonghao Zhang > > 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, 5, 6 > > Tonghao Zhang (6): > 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 > net: vhost: disable rx wakeup during tx busypoll > net: vhost: make busyloop_intr more accurate > > drivers/vhost/net.c | 163 +++++++++++++++++++++++++++++++------------------- > drivers/vhost/vhost.c | 24 +++----- > 2 files changed, 108 insertions(+), 79 deletions(-) > > -- > 1.8.3.1 > ping ?