how to run dpdk app with valgrind

Balakrishnan K Balakrishnan.K1 at tatacommunications.com
Wed Jul 6 09:11:24 CEST 2022


Hi Stephen,
   Checked the valgrind log file during dpdk app start up.

The below warning is seen in logs.  Any tunning is need for large range allocation while using dpdk app with valgrind.
Because without valgrind application is running smoothly.
Any suggestion would be helpful .
==259414== Warning: set address range perms: large range [0x140000000, 0x980000000) (noaccess)
==259414== Warning: set address range perms: large range [0x940000000, 0x980000000) (noaccess)
==259414== Warning: set address range perms: large range [0x100b41b000, 0x184b41b000) (noaccess)
==259414== Warning: set address range perms: large range [0x100b41b000, 0x184b41b000) (noaccess)
==259414== Warning: set address range perms: large range [0x100b41b000, 0x184b41b000) (noaccess)
==259414== Warning: set address range perms: large range [0x100b41b000, 0x184b41b000) (noaccess)

Regards,
Bala 
-----Original Message-----
From: Balakrishnan K 
Sent: 06 July 2022 11:31
To: Stephen Hemminger <stephen at networkplumber.org>
Cc: users at dpdk.org
Subject: RE: how to run dpdk app with valgrind

Hi Stephen,
    Please find the response below.
What architecture (x86)?

Architecture is x86.
 
What DPDK version?

DPDK version 20.11

 What version of valgrind?
valgrind-3.19.0

Are you using VFIO, igb_uio or other method of hardware access?

Igbuio

Regards,
Bala 


-----Original Message-----
From: Stephen Hemminger <stephen at networkplumber.org> 
Sent: 05 July 2022 21:34
To: Balakrishnan K <Balakrishnan.K1 at tatacommunications.com>
Cc: 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.

On Tue, 5 Jul 2022 11:10:37 +0000
Balakrishnan K <Balakrishnan.K1 at tatacommunications.com> wrote:

> 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

What architecture (x86)? What DPDK version? What version of valgrind?
Are you using VFIO, igb_uio or other method of hardware access?

Valgrind works for us on Arm64 and VFIO.


More information about the users mailing list