Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1005863ybt; Fri, 19 Jun 2020 21:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxCYYiQMJic7ylDvSJexrrynWCJZNwIib/cYN0llYcKXqZSMPhSIGw6XWKtcOmVHURKeV8 X-Received: by 2002:aa7:c752:: with SMTP id c18mr6332124eds.55.1592626883459; Fri, 19 Jun 2020 21:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592626883; cv=none; d=google.com; s=arc-20160816; b=bYsZgdv1uY/KPu29K85U+odDi1svprYNZCl9oUo+cWJmRdfIDp28SwFFWvhQ2Ztldz KvNO8wCENUpGya/1HyZnZruz3w/NcgCPeoNtgSD6lzq+qwRMuy7AXSiBhCnBcWKzJtxa XFIH1cajcG9tXRhurGFRsoQMis56fNda5+SRHqWBpz6RzmFhBdXM2PbgcX+DFrczFsNF XaOL70Ck79F+EfjOPANM/hzZC47iOtmZan36EPGrNRiJH7AWscZrvgymHCeNgM9UeFrU 4/4VJsKDTPQqxj7t9Jbo2J5fU6aB/3dIjvrk6Xb2FGxSvQF5uhXrzU/mMkTqSfSe8Gkr kDdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=M1kqnSC0TnwwjU9pqdl+Jl6MnsvVIxbg1NKgAjCQLQk=; b=yzl4l34RjLvZzMA4XXjBzKeDkgFkQ1qtblV3DXcOD7V5Yqfev02UCy/VxYDbWcnZcU eA6VO7GbCKYspIYt+8ArremYZVnJCG1uxweViECVEdiDOa5nLuNGHWRiA2GxLW8+4wE6 Ct2f3n09ZU52tdSvzOvg5X0PktTsYfW75WzLA8+B7YI9WEEBvfkUT2inh9P9BktiwtwK MkLfgD7SX0OUVKrKti6KMAUvmf+B3pNpgCOPOTgRIwyp9jss1B1C6X6jw46NPYv0rJ1g lk55a+JOPTSaKffTyrtTdKVVW0WaPdPrtLX+9QxxujjFEo0TvvkgLc78fluw7cMxP0I3 zDYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cl1+652e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si743883edt.433.2020.06.19.21.21.01; Fri, 19 Jun 2020 21:21:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cl1+652e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393070AbgFSSIm (ORCPT + 99 others); Fri, 19 Jun 2020 14:08:42 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:50122 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388336AbgFSSIl (ORCPT ); Fri, 19 Jun 2020 14:08:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592590119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M1kqnSC0TnwwjU9pqdl+Jl6MnsvVIxbg1NKgAjCQLQk=; b=cl1+652e+fWCtGoesj6yht07XsNuGao/aRLVpVL6aYALBdFfI2CtzuMyey99gio5cwLa4A sj984r2RhF0u20QEphNqsM7xwo6pKjNhqxxrRdHqfj6/ilQswT2hXx1aycFGVmIx0Gdn4m eevFSxmtm36zvY0BFfoaqZqCvbgP8kc= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-376-P2k-mjZgNmOkJ-8It2sQyA-1; Fri, 19 Jun 2020 14:08:34 -0400 X-MC-Unique: P2k-mjZgNmOkJ-8It2sQyA-1 Received: by mail-qv1-f70.google.com with SMTP id h4so7401105qvr.21 for ; Fri, 19 Jun 2020 11:08:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M1kqnSC0TnwwjU9pqdl+Jl6MnsvVIxbg1NKgAjCQLQk=; b=EkSPCrvAph3eu8OAnZG3sxGWFe6Ue2ei5Ki0COQxfgXg0Zlt9XZ0v4MkntpEWnuVtD F/OvsiR6YlzmFHvjQLFF1w0JvtINLZnOMP2fhIoR0nSRkQBLz3tBo5hP+LnIKO+20cKM QMLr5cAtNfnZhneFMdO+92rV47QKJAIUvS/4dlV4cidXuLNWobckcOsrZzxgZpG/dDfD 2wYY9NSPGD2SY1ovUetXqOyvpXjM4tJ5IWNhS9rSJQcrX2y0CoJjVG+98Z8+mfSUrKmP far6jGZ//s6KFHDej9La0MMJewfX4bAaHVnYooD2RmvdmYveIrHBuTTFqZgGh9ijc8oW He1A== X-Gm-Message-State: AOAM530cClGqD6dNz4kcBXaPGtuTTAZa4Eei7gLGbbqeqTD4gVp6CSWU 1bCOfa8rSafd3sZoUmaPiZECJmjDqQC+TAWsGnu82DFXW8wEAx4rCJG/xc/V+xgNXYd21vBMs4o PyMllMTeDa1bYEXiVc52JYw+B+osHggBCvLJfjVxB X-Received: by 2002:aed:2171:: with SMTP id 104mr2269424qtc.22.1592590114086; Fri, 19 Jun 2020 11:08:34 -0700 (PDT) X-Received: by 2002:aed:2171:: with SMTP id 104mr2269401qtc.22.1592590113830; Fri, 19 Jun 2020 11:08:33 -0700 (PDT) MIME-Version: 1.0 References: <20200611113404.17810-1-mst@redhat.com> <20200611113404.17810-3-mst@redhat.com> <20200611152257.GA1798@char.us.oracle.com> In-Reply-To: From: Eugenio Perez Martin Date: Fri, 19 Jun 2020 20:07:57 +0200 Message-ID: Subject: Re: [PATCH RFC v8 02/11] vhost: use batched get_vq_desc version To: Konrad Rzeszutek Wilk Cc: "Michael S. Tsirkin" , linux-kernel@vger.kernel.org, kvm list , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, Jason Wang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 2:28 PM Eugenio Perez Martin wrote: > > On Thu, Jun 11, 2020 at 5:22 PM Konrad Rzeszutek Wilk > wrote: > > > > On Thu, Jun 11, 2020 at 07:34:19AM -0400, Michael S. Tsirkin wrote: > > > As testing shows no performance change, switch to that now. > > > > What kind of testing? 100GiB? Low latency? > > > > Hi Konrad. > > I tested this version of the patch: > https://lkml.org/lkml/2019/10/13/42 > > It was tested for throughput with DPDK's testpmd (as described in > http://doc.dpdk.org/guides/howto/virtio_user_as_exceptional_path.html) > and kernel pktgen. No latency tests were performed by me. Maybe it is > interesting to perform a latency test or just a different set of tests > over a recent version. > > Thanks! I have repeated the tests with v9, and results are a little bit different: * If I test opening it with testpmd, I see no change between versions * If I forward packets between two vhost-net interfaces in the guest using a linux bridge in the host: - netperf UDP_STREAM shows a performance increase of 1.8, almost doubling performance. This gets lower as frame size increase. - rests of the test goes noticeably worse: UDP_RR goes from ~6347 transactions/sec to 5830 - TCP_STREAM goes from ~10.7 gbps to ~7Gbps - TCP_RR from 6223.64 transactions/sec to 5739.44