how to run dpdk app with valgrind
Pathak, Pravin
pravin.pathak at intel.com
Wed Jul 6 13:45:17 CEST 2022
DPDK documentation says so for multi-process case.
* The multi-process feature requires that the exact same hugepage memory mappings be present in all applications. The Linux security feature - Address-Space Layout Randomization (ASLR) can interfere with this mapping, so it may be necessary to disable this feature in order to reliably run multi-process applications.
From: Balakrishnan K <Balakrishnan.K1 at tatacommunications.com>
Sent: Wednesday, July 6, 2022 1:54 AM
To: Pathak, Pravin <pravin.pathak at intel.com>; users at dpdk.org
Subject: RE: how to run dpdk app with valgrind
Hi Pravin,
Randomization is not turned off.
cat /proc/sys/kernel/randomize_va_space
2
Do I need to turn off the randomization?
Regards,
Bala
From: Pathak, Pravin <pravin.pathak at intel.com<mailto:pravin.pathak at intel.com>>
Sent: 05 July 2022 18:53
To: Balakrishnan K <Balakrishnan.K1 at tatacommunications.com<mailto:Balakrishnan.K1 at tatacommunications.com>>; users at dpdk.org<mailto:users at dpdk.org>
Subject: RE: how to run dpdk app with valgrind
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Is randomization turned off ?
echo 0 > /proc/sys/kernel/randomize_va_space
Pravin
From: Balakrishnan K <Balakrishnan.K1 at tatacommunications.com<mailto:Balakrishnan.K1 at tatacommunications.com>>
Sent: Tuesday, July 5, 2022 7:11 AM
To: users at dpdk.org<mailto:users at dpdk.org>
Subject: how to run dpdk app with valgrind
Hi All,
Is there any documents available to run the dpdk application with valgrind.
I am trying to run our application with dpdk getting warning and the process is not starting up.
IPv4 IP : 1.1.1.1
IPv6 IP : 0::0
EAL: Detected 80 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: WARNING! Base virtual address hint (0xa80001000 != 0x1040000000) not respected!
EAL: This may cause issues with mapping memory into secondary processes
Could you please help on this?
Regards,
Bala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220706/30cade9a/attachment.htm>
More information about the users
mailing list