From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.bisdn.de (mx.bisdn.de [185.27.182.31]) by dpdk.org (Postfix) with ESMTP id 6722F2E89 for ; Fri, 7 Nov 2014 04:26:11 +0100 (CET) Received: from [192.168.1.43] (42.Red-79-146-253.dynamicIP.rima-tde.net [79.146.253.42]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.bisdn.de (Postfix) with ESMTPSA id D3041A3956; Fri, 7 Nov 2014 04:35:40 +0100 (CET) Message-ID: <545C3E0B.6060809@bisdn.de> Date: Fri, 07 Nov 2014 04:35:39 +0100 From: Marc Sune User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Matthew Hall References: <007501cfd1a3$573fff00$05bffd00$@xenanetworks.com> <545C10D9.9020902@bisdn.de> <20141107010447.GA19666@mhcomputing.net> In-Reply-To: <20141107010447.GA19666@mhcomputing.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Valgrind and DPDK - does it work ? 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: Fri, 07 Nov 2014 03:26:11 -0000 On 07/11/14 02:04, Matthew Hall wrote: > On Fri, Nov 07, 2014 at 01:22:49AM +0100, Marc Sune wrote: >> Found some time to have a close look. I also wanted to check a DPDK app >> against valgrind. It works! >> >> I downloaded and compiled valgrind from sources (3.10.0) and applied >> (manually) this patch: >> >> https://bugs.kde.org/attachment.cgi?id=85950&action=edit >> >> (Applied around line 2216) >> >> From this post: >> >> http://valgrind.10908.n7.nabble.com/mpich-unable-to-munmap-hugepages-td49150.html >> >> Happy debugging >> Marc > Marc, > > This is just AMAZING!!! I have wished for it for many years for DPDK, ever > since I used it in beta before it went GA. Thanks Most kudos though (if not all), should go to T. Janjusic. I just found it and backported to the latest stable: https://bugs.kde.org/show_bug.cgi?id=333051 > > Would it be possible to post your modification of Valgrind in Github, > Bitbucket, or some other repo? I'd like to try this out on my app, too. Sure, it is a good idea. I just did a quick&dirty import of the latest stable release 3.10.0. No git-svn , or anything fancy (github import failed, silently ignoring files...) no gitignore too. And then I applied the patch: https://github.com/bisdn/valgrind-hugepages Please note the comment in README.md, I cannot provide any support or take any responsibility. We will also delete this repo once there is a stable release. But you can at least try it, should work ;) > > Also, not sure if anybody sent this upstream to Valgrind, but if not, we > really should, so it just works by default from now on. It already is, there is simply no stable release yet (see Phillipe comment): https://bugs.kde.org/show_bug.cgi?id=333051#c8 Cheers Marc > > Thanks, > Matthew.