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 E4F7842F60;
Thu, 27 Jul 2023 16:28:41 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 86D1640693;
Thu, 27 Jul 2023 16:28:41 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 64A2540041
for ; Thu, 27 Jul 2023 16:28:40 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 3241742F61; Thu, 27 Jul 2023 16:28:40 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1269] test-dma-perf running in iova-mode as PA for rte_memcpy
results in seg-fault.
Date: Thu, 27 Jul 2023 14:28:39 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: examples
X-Bugzilla-Version: 23.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: vipin.varghese@amd.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: multipart/alternative; boundary=16904681200.fe85F2C.1071816
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
--16904681200.fe85F2C.1071816
Date: Thu, 27 Jul 2023 16:28:39 +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=3D1269
Bug ID: 1269
Summary: test-dma-perf running in iova-mode as PA for
rte_memcpy results in seg-fault.
Product: DPDK
Version: 23.07
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: examples
Assignee: dev@dpdk.org
Reporter: vipin.varghese@amd.com
Target Milestone: ---
Platform:
CPU: AMD EPYC 9374F 32-Core Processor
OS: RHEL 8.5
Kernel: 4.18.0-372.26.1.el8_6.x86_64
DPDK Application: dpdk-test-dma-perf
Configuration:
```
[case1]
type=3DCPU_MEM_COPY
mem_size=3D10
buf_size=3D64,8192,2,MUL
src_numa_node=3D0
dst_numa_node=3D0
cache_flush=3D0
test_seconds=3D2
lcore =3D 7
eal_args=3D--in-memory --no-pci=20
```
Logs:
```
EAL: Virtual area found at 0x1180000000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1180200000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1180200000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1580200000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1580400000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1580400000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1980400000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1980600000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1980600000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1d80600000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1d80800000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1d80800000, size 400000000
EAL: Using memfd for anonymous memory
EAL: No shared files mode enabled, IPC is disabled
EAL: No shared files mode enabled, IPC is disabled
EAL: TSC frequency is ~3840000 KHz
EAL: Main lcore 1 is ready (tid=3D7ff91da0cc00;cpuset=3D[1])
EAL: lcore 2 is ready (tid=3D7ff91be46400;cpuset=3D[2])
EAL: lcore 3 is ready (tid=3D7ff91b645400;cpuset=3D[3])
EAL: lcore 4 is ready (tid=3D7ff91ae44400;cpuset=3D[4])
EAL: lcore 7 is ready (tid=3D7ff919641400;cpuset=3D[7])
EAL: lcore 6 is ready (tid=3D7ff919e42400;cpuset=3D[6])
EAL: lcore 5 is ready (tid=3D7ff91a643400;cpuset=3D[5])
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 0
EAL: alloc_seg(): mmap() failed: Cannot allocate memory
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x1180200000 (size =3D 0x200000)
EAL: attempted to allocate 1 segments, but only 0 were allocated
EAL: Restoring previous memory policy: 0
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 0
EAL: Restoring previous memory policy: 0
EAL: request: mp_malloc_sync
EAL: No shared files mode enabled, IPC is disabled
EAL: Heap on socket 0 was expanded by 1024MB
EAL: Module /sys/module/vfio not found! error 2 (No such file or directory)
EAL: lib.telemetry log level changed from disabled to warning
TELEMETRY: No legacy callbacks, legacy socket not created
Number of used lcores: 7.
Running scenario 1
Start testing....
Case process killed by signal 11
Bye...
```
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16904681200.fe85F2C.1071816
Date: Thu, 27 Jul 2023 16:28:40 +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
test-dma-perf running in iova-mode as PA for rte_memcpy resul=
ts in seg-fault.
Product
DPDK
Version
23.07
Hardware
All
OS
Linux
Status
UNCONFIRMED
Severity
major
Priority
Normal
Component
examples
Assignee
dev@dpdk.org
Reporter
vipin.varghese@amd.com
Target Milestone
---
Platform:
CPU: AMD EPYC 9374F 32-Core Processor
OS: RHEL 8.5
Kernel: 4.18.0-372.26.1.el8_6.x86_64
DPDK Application: dpdk-test-dma-perf
Configuration:
```
[case1]
type=3DCPU_MEM_COPY
mem_size=3D10
buf_size=3D64,8192,2,MUL
src_numa_node=3D0
dst_numa_node=3D0
cache_flush=3D0
test_seconds=3D2
lcore =3D 7
eal_args=3D--in-memory --no-pci=20
```
Logs:
```
EAL: Virtual area found at 0x1180000000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1180200000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1180200000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1580200000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1580400000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1580400000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1980400000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1980600000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1980600000, size 400000000
EAL: Ask a virtual area of 0x61000 bytes
EAL: Virtual area found at 0x1d80600000 (size =3D 0x61000)
EAL: Memseg list allocated at socket 0, page size 0x800kB
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x1d80800000 (size =3D 0x400000000)
EAL: VA reserved for memseg list at 0x1d80800000, size 400000000
EAL: Using memfd for anonymous memory
EAL: No shared files mode enabled, IPC is disabled
EAL: No shared files mode enabled, IPC is disabled
EAL: TSC frequency is ~3840000 KHz
EAL: Main lcore 1 is ready (tid=3D7ff91da0cc00;cpuset=3D[1])
EAL: lcore 2 is ready (tid=3D7ff91be46400;cpuset=3D[2])
EAL: lcore 3 is ready (tid=3D7ff91b645400;cpuset=3D[3])
EAL: lcore 4 is ready (tid=3D7ff91ae44400;cpuset=3D[4])
EAL: lcore 7 is ready (tid=3D7ff919641400;cpuset=3D[7])
EAL: lcore 6 is ready (tid=3D7ff919e42400;cpuset=3D[6])
EAL: lcore 5 is ready (tid=3D7ff91a643400;cpuset=3D[5])
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 0
EAL: alloc_seg(): mmap() failed: Cannot allocate memory
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x1180200000 (size =3D 0x200000)
EAL: attempted to allocate 1 segments, but only 0 were allocated
EAL: Restoring previous memory policy: 0
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 0
EAL: Restoring previous memory policy: 0
EAL: request: mp_malloc_sync
EAL: No shared files mode enabled, IPC is disabled
EAL: Heap on socket 0 was expanded by 1024MB
EAL: Module /sys/module/vfio not found! error 2 (No such file or directory)
EAL: lib.telemetry log level changed from disabled to warning
TELEMETRY: No legacy callbacks, legacy socket not created
Number of used lcores: 7.
Running scenario 1
Start testing....
Case process killed by signal 11
Bye...
```