DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] How to check memory leak with dpdk application
@ 2015-04-10  5:53 Linhaifeng
  2015-04-13 20:25 ` Marc Sune
  0 siblings, 1 reply; 3+ messages in thread
From: Linhaifeng @ 2015-04-10  5:53 UTC (permalink / raw)
  To: dev

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] How to check memory leak with dpdk application
  2015-04-10  5:53 [dpdk-dev] How to check memory leak with dpdk application Linhaifeng
@ 2015-04-13 20:25 ` Marc Sune
  2015-04-14 10:59   ` Linhaifeng
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Sune @ 2015-04-13 20:25 UTC (permalink / raw)
  To: dev



On 10/04/15 07:53, Linhaifeng wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] How to check memory leak with dpdk application
  2015-04-13 20:25 ` Marc Sune
@ 2015-04-14 10:59   ` Linhaifeng
  0 siblings, 0 replies; 3+ messages in thread
From: Linhaifeng @ 2015-04-14 10:59 UTC (permalink / raw)
  To: Marc Sune, dev



On 2015/4/14 4:25, Marc Sune wrote:
> 
> 
> On 10/04/15 07:53, Linhaifeng wrote:
>> 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
> 
> 

Hi,Marc

Thank you very much!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-14 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10  5:53 [dpdk-dev] How to check memory leak with dpdk application Linhaifeng
2015-04-13 20:25 ` Marc Sune
2015-04-14 10:59   ` Linhaifeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).