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 5B7FA41D50; Thu, 23 Feb 2023 13:33:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DE3943164; Thu, 23 Feb 2023 13:33:24 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 6F7C4400EF for ; Thu, 23 Feb 2023 13:33:23 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 6078D41D51; Thu, 23 Feb 2023 13:33:23 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1164] iperf3 traffic stalls when using memif driver to interconnect l2fwd in zero-copy mode with test-pmd app Date: Thu, 23 Feb 2023 12:33:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinidpdk@gmail.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 attachments.created Message-ID: Content-Type: multipart/alternative; boundary=16771556030.B5dFc.356033 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 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 --16771556030.B5dFc.356033 Date: Thu, 23 Feb 2023 13:33:23 +0100 MIME-Version: 1.0 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1164 Bug ID: 1164 Summary: iperf3 traffic stalls when using memif driver to interconnect l2fwd in zero-copy mode with test-pmd app Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: srinidpdk@gmail.com Target Milestone: --- Created attachment 240 --> https://bugs.dpdk.org/attachment.cgi?id=3D240&action=3Dedit Topology Traffic stalls when running iperf3 traffic between two ports of test-pmd wh= ich are looped back using l2wd via memif in zero-copy mode. The same test works fine if zero-copy mode is disabled in l2fwd app. Topology used: (attached) test-pmd: arguments ./dpdk-testpmd -m 380 -l 6-8 --base-virtaddr 0x100000000 --huge-dir /mnt/h= uge1 --vdev 'net_memif0,role=3Dserver,socket-abstract=3Dno,id=3D1,socket=3D/tmp/= memif0.sock' --vdev 'net_memif1,role=3Dserver,socket-abstract=3Dno,id=3D1,socket=3D/tmp/= memif1.sock' --log-level=3D8 --log-level user1:8 --log-level user2:8 -- --nb-cores=3D2 --txd=3D1024 --rxd=3D2048 -i test-pmd: config set fwd io set portlist 0,2,1,3 start l2fwd: arguments ./dpdk-l2fwd -l 4-5 --proc-type=3Dauto --no-pci --single-file-segments --= vdev 'net_memif0,role=3Dclient,socket=3D/tmp/memif0.sock,socket-abstract=3Dno,id= =3D1,zero-copy=3Dyes' --vdev 'net_memif1,role=3Dclient,socket=3D/tmp/memif1.sock,socket-abstract=3Dno,id= =3D1,zero-copy=3Dyes' --file-prefix=3Dcontainer --log-level pmd.net.memif:8 -- -p 0x3 --no-mac-up= dating [test@localhost src]$ pwd /home/test/source/iperf-3.7/src [test@localhost src]$ ./iperf3 -c 120.0.0.10 -B 120.0.0.20 -M 1000 -t 2000 Connecting to host 120.0.0.10, port 5201 [ 5] local 120.0.0.20 port 50901 connected to 120.0.0.10 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 45.5 MBytes 382 Mbits/sec 164 20.3 KBytes [ 5] 1.00-2.00 sec 16.7 MBytes 140 Mbits/sec 78 12.5 KBytes [ 5] 2.00-3.00 sec 29.4 MBytes 247 Mbits/sec 136 20.3 KBytes [ 5] 3.00-4.00 sec 17.4 MBytes 146 Mbits/sec 128 9.65 KBytes [ 5] 4.00-5.00 sec 22.9 MBytes 192 Mbits/sec 103 29.9 KBytes [ 5] 5.00-6.00 sec 13.2 MBytes 111 Mbits/sec 68 23.2 KBytes [ 5] 6.00-7.00 sec 39.2 MBytes 329 Mbits/sec 159 7.72 KBytes [ 5] 7.00-8.00 sec 11.5 MBytes 96.5 Mbits/sec 47 19.3 KBytes [ 5] 8.00-9.00 sec 45.1 MBytes 378 Mbits/sec 146 10.6 KBytes [ 5] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 74 15.4 KBytes [ 5] 10.00-11.00 sec 34.9 MBytes 293 Mbits/sec 130 4.82 KBytes [ 5] 11.00-12.00 sec 1.74 MBytes 14.6 Mbits/sec 9 988 Bytes [ 5] 12.00-13.00 sec 0.00 Bytes 0.00 bits/sec 1 988 Bytes [ 5] 13.00-14.00 sec 0.00 Bytes 0.00 bits/sec 0 988 Bytes [ 5] 14.00-15.00 sec 0.00 Bytes 0.00 bits/sec 1 988 Bytes [ 5] 15.00-16.00 sec 0.00 Bytes 0.00 bits/sec 0 988 Bytes [ 5] 16.00-17.00 sec 0.00 Bytes 0.00 bits/sec 0 988 Bytes ^C[ 5] 17.00-17.68 sec 0.00 Bytes 0.00 bits/sec 1 988 Bytes --=20 You are receiving this mail because: You are the assignee for the bug.= --16771556030.B5dFc.356033 Date: Thu, 23 Feb 2023 13:33:23 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1164
Summary iperf3 traffic stalls when using memif driver to interconnect= l2fwd in zero-copy mode with test-pmd app
Product DPDK
Version 22.11
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter srinidpdk@gmail.com
Target Milestone ---

Created attachm=
ent 240 [details]
Topology

Traffic stalls when running iperf3 traffic between two ports of test-pmd wh=
ich
are looped back using l2wd via memif in zero-copy mode. The same test works
fine if zero-copy mode is disabled in l2fwd app.


Topology used: (attached)

test-pmd: arguments

./dpdk-testpmd -m 380 -l 6-8  --base-virtaddr 0x100000000 --huge-dir /mnt/h=
uge1
--vdev 'net_memif0,role=3Dserver,socket-abstract=3Dno,id=3D1,socket=3D/tmp/=
memif0.sock'
--vdev 'net_memif1,role=3Dserver,socket-abstract=3Dno,id=3D1,socket=3D/tmp/=
memif1.sock'
--log-level=3D8 --log-level user1:8 --log-level user2:8 -- --nb-cores=3D2
--txd=3D1024 --rxd=3D2048  -i

test-pmd: config

set fwd io
set portlist 0,2,1,3
start

l2fwd: arguments

./dpdk-l2fwd -l 4-5  --proc-type=3Dauto  --no-pci --single-file-segments --=
vdev
'net_memif0,role=3Dclient,socket=3D/tmp/memif0.sock,socket-abstract=3Dno,id=
=3D1,zero-copy=3Dyes'
--vdev
'net_memif1,role=3Dclient,socket=3D/tmp/memif1.sock,socket-abstract=3Dno,id=
=3D1,zero-copy=3Dyes'
--file-prefix=3Dcontainer --log-level pmd.net.memif:8 -- -p 0x3 --no-mac-up=
dating


[test@localhost src]$ pwd
/home/test/source/iperf-3.7/src
[test@localhost src]$ ./iperf3 -c 120.0.0.10 -B 120.0.0.20 -M 1000  -t =
2000
Connecting to host 120.0.0.10, port 5201
[  5] local 120.0.0.20 port 50901 connected to 120.0.0.10 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  45.5 MBytes   382 Mbits/sec  164   20.3 KBytes
[  5]   1.00-2.00   sec  16.7 MBytes   140 Mbits/sec   78   12.5 KBytes
[  5]   2.00-3.00   sec  29.4 MBytes   247 Mbits/sec  136   20.3 KBytes
[  5]   3.00-4.00   sec  17.4 MBytes   146 Mbits/sec  128   9.65 KBytes
[  5]   4.00-5.00   sec  22.9 MBytes   192 Mbits/sec  103   29.9 KBytes
[  5]   5.00-6.00   sec  13.2 MBytes   111 Mbits/sec   68   23.2 KBytes
[  5]   6.00-7.00   sec  39.2 MBytes   329 Mbits/sec  159   7.72 KBytes
[  5]   7.00-8.00   sec  11.5 MBytes  96.5 Mbits/sec   47   19.3 KBytes
[  5]   8.00-9.00   sec  45.1 MBytes   378 Mbits/sec  146   10.6 KBytes
[  5]   9.00-10.00  sec  12.0 MBytes   101 Mbits/sec   74   15.4 KBytes
[  5]  10.00-11.00  sec  34.9 MBytes   293 Mbits/sec  130   4.82 KBytes
[  5]  11.00-12.00  sec  1.74 MBytes  14.6 Mbits/sec    9    988 Bytes
[  5]  12.00-13.00  sec  0.00 Bytes  0.00 bits/sec    1    988 Bytes
[  5]  13.00-14.00  sec  0.00 Bytes  0.00 bits/sec    0    988 Bytes
[  5]  14.00-15.00  sec  0.00 Bytes  0.00 bits/sec    1    988 Bytes
[  5]  15.00-16.00  sec  0.00 Bytes  0.00 bits/sec    0    988 Bytes
[  5]  16.00-17.00  sec  0.00 Bytes  0.00 bits/sec    0    988 Bytes
^C[  5]  17.00-17.68  sec  0.00 Bytes  0.00 bits/sec    1    988 Bytes
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16771556030.B5dFc.356033--