From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A20AD44076;
	Mon, 20 May 2024 11:01:25 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3370640263;
	Mon, 20 May 2024 11:01:25 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 4D5F9400EF
 for <dev@dpdk.org>; Mon, 20 May 2024 11:01:24 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 2180044077; Mon, 20 May 2024 11:01:24 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/other Bug 1445] [dpdk-24.07] dpdk-test-dma-perf hang on
 Ubuntu24.04
Date: Mon, 20 May 2024 09:01:23 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: other
X-Bugzilla-Version: 24.07
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yux.jiang@intel.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: <bug-1445-3@http.bugs.dpdk.org/>
Content-Type: multipart/alternative; boundary=17161956830.9bbAA.963869
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org


--17161956830.9bbAA.963869
Date: Mon, 20 May 2024 11:01:23 +0200
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=3D1445

            Bug ID: 1445
           Summary: [dpdk-24.07] dpdk-test-dma-perf hang on Ubuntu24.04
           Product: DPDK
           Version: 24.07
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: yux.jiang@intel.com
  Target Milestone: ---

[Environment]

DPDK version: 24.07.0-rc0
OS: Ubuntu 24.04 LTS (Noble Numbat); 6.8.0-31-generic
Compiler: gcc version 13.2.0
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC hardware & NIC firmware:=20
    root@dut245:~/dpdk# ethtool -i ens801f0np0
    driver: ice
    version: 6.8.0-31-generic
    firmware-version: 4.30 0x80019938 1.3403.0

[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1.Bind 2 CBDMA to vfio-pci driver:

./usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:00:04.0 0000:00:=
04.1

2.Create test_config.ini
/root/dpdk/test_default_config.ini

root@dut220:~/dpdk# cat /root/dpdk/test_default_config.ini
[case1]
type =3D DMA_MEM_COPY
mem_size =3D 10
buf_size =3D 64,8192,2,MUL
dma_ring_size =3D 1024
kick_batch =3D 32
src_numa_node =3D 0
dst_numa_node =3D 0
cache_flush =3D 0
test_seconds =3D 2
lcore_dma =3D lcore1@0000:00:04.0,lcore2@0000:00:04.1
eal_args =3D --in-memory --file-prefix=3Dtest

[case2]
type =3D CPU_MEM_COPY
mem_size =3D 10
buf_size =3D 64,8192,2,MUL
src_numa_node =3D 0
dst_numa_node =3D 0
cache_flush =3D 0
test_seconds =3D 2
lcore =3D 1,2
eal_args =3D --in-memory --no-pci

3, launch dma-perf testing
x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  --config
/root/dpdk/test_default_config.ini --result /root/dpdk/test_default_config.=
csv

root@dut220:~/dpdk# x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  --co=
nfig
/root/dpdk/test_default_config.ini
config file parsing...
Transfer direction not configured. Defaulting it to MEM to MEM transfer.
config file parsing complete.

Running cases...

Running case 1

EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Selected IOVA mode 'VA'
EAL: No free 2048 kB hugepages reported on node 0
EAL: No free 2048 kB hugepages reported on node 1
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.0 (socket=
 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.0 on NUMA node 0
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.1 (socket=
 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.1 on NUMA node 0
Number of used lcores: 44.

Running scenario 1
Number of used dmadevs: 2.
Start testing....


[Actual Result]
dpdk-test-dma-perf hang

[Expected Result]
Test OK


[Regression]
Is this issue a regression: (N)
The first time to test on Ubuntu 24.04.
Notes: test passed on Ubuntu22.04.3

--=20
You are receiving this mail because:
You are the assignee for the bug.=

--17161956830.9bbAA.963869
Date: Mon, 20 May 2024 11:01:23 +0200
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

<html>
    <head>
      <base href=3D"https://bugs.dpdk.org/">
    </head>
    <body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8" class=3D"=
bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class=3D"bz_bug_link=20
          bz_status_UNCONFIRMED "
   title=3D"UNCONFIRMED - [dpdk-24.07] dpdk-test-dma-perf hang on Ubuntu24.=
04"
   href=3D"https://bugs.dpdk.org/show_bug.cgi?id=3D1445">1445</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk-24.07] dpdk-test-dma-perf hang on Ubuntu24.04
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev&#64;dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yux.jiang&#64;intel.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class=3D"bz_comment_block">
          <pre class=3D"bz_comment_text">[Environment]

DPDK version: 24.07.0-rc0
OS: Ubuntu 24.04 LTS (Noble Numbat); 6.8.0-31-generic
Compiler: gcc version 13.2.0
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU &#64; 2.30GHz
NIC hardware &amp; NIC firmware:=20
    root&#64;dut245:~/dpdk# ethtool -i ens801f0np0
    driver: ice
    version: 6.8.0-31-generic
    firmware-version: 4.30 0x80019938 1.3403.0

[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1.Bind 2 CBDMA to vfio-pci driver:

./usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:00:04.0 0000:00:=
04.1

2.Create test_config.ini
/root/dpdk/test_default_config.ini

root&#64;dut220:~/dpdk# cat /root/dpdk/test_default_config.ini
[case1]
type =3D DMA_MEM_COPY
mem_size =3D 10
buf_size =3D 64,8192,2,MUL
dma_ring_size =3D 1024
kick_batch =3D 32
src_numa_node =3D 0
dst_numa_node =3D 0
cache_flush =3D 0
test_seconds =3D 2
lcore_dma =3D lcore1&#64;0000:00:04.0,lcore2&#64;0000:00:04.1
eal_args =3D --in-memory --file-prefix=3Dtest

[case2]
type =3D CPU_MEM_COPY
mem_size =3D 10
buf_size =3D 64,8192,2,MUL
src_numa_node =3D 0
dst_numa_node =3D 0
cache_flush =3D 0
test_seconds =3D 2
lcore =3D 1,2
eal_args =3D --in-memory --no-pci

3, launch dma-perf testing
x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  --config
/root/dpdk/test_default_config.ini --result /root/dpdk/test_default_config.=
csv

root&#64;dut220:~/dpdk# x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  =
--config
/root/dpdk/test_default_config.ini
config file parsing...
Transfer direction not configured. Defaulting it to MEM to MEM transfer.
config file parsing complete.

Running cases...

Running case 1

EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Selected IOVA mode 'VA'
EAL: No free 2048 kB hugepages reported on node 0
EAL: No free 2048 kB hugepages reported on node 1
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.0 (socket=
 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.0 on NUMA node 0
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.1 (socket=
 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.1 on NUMA node 0
Number of used lcores: 44.

Running scenario 1
Number of used dmadevs: 2.
Start testing....


[Actual Result]
dpdk-test-dma-perf hang

[Expected Result]
Test OK


[Regression]
Is this issue a regression: (N)
The first time to test on Ubuntu 24.04.
Notes: test passed on Ubuntu22.04.3
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype=3D"http://schema.org/EmailMessage">
        <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/Vi=
ewAction">
=20=20=20=20=20=20=20=20=20=20
          <link itemprop=3D"url" href=3D"https://bugs.dpdk.org/show_bug.cgi=
?id=3D1445">
          <meta itemprop=3D"name" content=3D"View bug">
        </div>
        <meta itemprop=3D"description" content=3D"Bugzilla bug update notif=
ication">
      </div>
    </body>
</html>=

--17161956830.9bbAA.963869--