Skip to contentSkip to conversation

How to check memory leak with dpdk application

DISCUSSION Linhaifeng 2 participants 3 messages Apr 10, 2015 – Apr 14, 2015 2 messages not in the archive

lore
Share & tools
lore

Linhaifeng

author
#0 lore raw

Hi, all

I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.

Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Linhaifeng

Hi, all

I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.

Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?

Yes it can be used, just that 3.10 has issues with hugepages. Check this out:

http://article.gmane.org/gmane.comp.networking.dpdk.devel/8058/match=valgrind+hugepages

Marc

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 11 lines · Marc Sune
Quoted 7 lines · Linhaifeng

Hi, all

I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.

Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?

Quoted 7 lines

Yes it can be used, just that 3.10 has issues with hugepages. Check this out:

http://article.gmane.org/gmane.comp.networking.dpdk.devel/8058/match=valgrind+hugepages

Marc

Hi,Marc

Thank you very much!