From mboxrd@z Thu Jan 1 00:00:00 1970 From: xiangxia.m.yue@gmail.com Subject: [PATCH net-next v3 0/4] net: vhost: improve performance when enable busyloop Date: Fri, 29 Jun 2018 23:33:54 -0700 Message-ID: <1530340438-3039-1-git-send-email-xiangxia.m.yue@gmail.com> Cc: mst@redhat.com, makita.toshiaki@lab.ntt.co.jp, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, Tonghao Zhang To: jasowang@redhat.com Return-path: Received: from mail-it0-f68.google.com ([209.85.214.68]:38767 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751861AbeF3GeD (ORCPT ); Sat, 30 Jun 2018 02:34:03 -0400 Received: by mail-it0-f68.google.com with SMTP id v83-v6so5758715itc.3 for ; Fri, 29 Jun 2018 23:34:03 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Tonghao Zhang This patches improve the guest receive and transmit performance. On the handle_tx side, we poll the sock receive queue at the same time. handle_rx do that in the same way. This patches are splited from previous big patch: http://patchwork.ozlabs.org/patch/934673/ For more performance report, see patch 4. Tonghao Zhang (4): 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 drivers/vhost/net.c | 106 +++++++++++++++++++++++++++----------------------- drivers/vhost/vhost.c | 24 ++++-------- 2 files changed, 65 insertions(+), 65 deletions(-) -- 1.8.3.1