From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 90890A0C53; Fri, 3 Sep 2021 08:46:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15DD1406B4; Fri, 3 Sep 2021 08:46:52 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 479354013F for ; Fri, 3 Sep 2021 08:46:50 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 1C372A0C54; Fri, 3 Sep 2021 08:46:50 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 03 Sep 2021 06:46:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pezhang@redhat.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 806] Throughput with dpdk + vhost-user + vIOMMU is lower with it's first connection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D806 Bug ID: 806 Summary: Throughput with dpdk + vhost-user + vIOMMU is lower with it's first connection Product: DPDK Version: 20.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: pezhang@redhat.com Target Milestone: --- Versions: OS:RHEl8 DPDK: We tested dpdk 19.11, 20.11. Both hit this issue. Kernel: 4.18 Qemu: 6.0 Steps: 1. In the host, boot testpmd with iommu enabled /home/dpdk-stable/build/app/testpmd \ -l 2,4,6,8,10,12,14,16,18 \ --socket-mem 1024,1024 \ -n 4 \ --vdev 'net_vhost0,iface=3D/tmp/vhost-user1,queues=3D2,client=3D1,iommu-support=3D= 1' \ --vdev 'net_vhost1,iface=3D/tmp/vhost-user2,queues=3D2,client=3D1,iommu-support=3D= 1' \ -b 0000:3b:00.0 -b 0000:3b:00.1 \ -d /home/dpdk-stable/build/lib/librte_pmd_vhost.so \ -- \ --portmask=3Df \ -i \ --rxd=3D512 --txd=3D512 \ --rxq=3D2 --txq=3D2 \ --nb-cores=3D8 \ --forward-mode=3Dio testpmd> set portlist 0,2,1,3 testpmd> start 2. Boot VM with vhost-user with iommu enabled
3. In VM, start testpmd to receive/send packets 4. In another server, start Moongen as the packets generator. 5. Check the throughput value, it's very low. Additional info: 1. Disabling viommu, we can get expected throughput. --=20 You are receiving this mail because: You are the assignee for the bug.=