From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) by dpdk.org (Postfix) with ESMTP id 800E63239 for ; Tue, 14 Apr 2015 12:59:38 +0200 (CEST) Received: from 172.24.2.119 (EHLO szxeml434-hub.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CJT48450; Tue, 14 Apr 2015 18:59:31 +0800 (CST) Received: from [127.0.0.1] (10.177.19.115) by szxeml434-hub.china.huawei.com (10.82.67.225) with Microsoft SMTP Server id 14.3.158.1; Tue, 14 Apr 2015 18:59:28 +0800 Message-ID: <552CF30F.3080107@huawei.com> Date: Tue, 14 Apr 2015 18:59:27 +0800 From: Linhaifeng User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Marc Sune , References: <5527656A.1080606@huawei.com> <552C261E.7040608@bisdn.de> In-Reply-To: <552C261E.7040608@bisdn.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.19.115] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] How to check memory leak with dpdk application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 10:59:39 -0000 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!