From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 749B2A04B0; Sat, 29 Aug 2020 19:54:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E6F01C10A; Sat, 29 Aug 2020 19:54:24 +0200 (CEST) Received: from mail-vk1-f179.google.com (mail-vk1-f179.google.com [209.85.221.179]) by dpdk.org (Postfix) with ESMTP id 36BFF1C0D5 for ; Sat, 29 Aug 2020 19:54:23 +0200 (CEST) Received: by mail-vk1-f179.google.com with SMTP id o2so471095vke.13 for ; Sat, 29 Aug 2020 10:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=evDnVqXEr2I71COLDDiBkmz/5vHvsXpALcLrN0FjETs=; b=IYXEFSFaOlTfDGhj9I27H5BXG3Ib3t0siDAvK8VlTHUooif0HjjwfUkBJO6Imuc0os bmi8lJfJuOHcK+GXZd++uMr/4KMaHcWaGobloloC2uL1wMiiVFoDLrmtW88ABlRX7L4I bClQAgAMQkZTewaddsBFeeFb8WnTF90+6s59fi1UDs5zOxctZULP8tYOqGkMTjZjfake ZxbqtfatyISydQh2LTrme0VjDF2+Afy1lHKLK9fRj63+TI7br3TRW2ZzG+0WKWTgGhd9 yqSKLapfzRF6kfn1RQgDG56yUdEC3JPCh7inJdqesX1HjmgPsWXDg7JOiOPifPYvWzQG hevg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=evDnVqXEr2I71COLDDiBkmz/5vHvsXpALcLrN0FjETs=; b=rOjJ5ETtpARkxI7K1rra6mAcnP+zlR0xMRDG5dw3/iwHPnfPxMH4QXMz+olWLmTfUJ en0haT9pSDobuqVBe5nhvnyd+3LpYHDRipcuTvjNJ8CXnrv0U3mFlv2R9rU7+tMFLT35 6E0ULNvEcjU8nMQaeopp/s7CV+5jlMjRMafSZRpxVo9tWT9mNYoT4FXKjLUjPKgd8VlB VGiZsqE9yyVG+ITERCtpUjCUL+AwyDwNKKulm2+zvxVjD9LjlUQU0oQCw/rY6ErzsyOf KW5slX741f3fb8jqno1RB4qlCivjiGiuQPlAL0NKLeKnengG1qQGkH92qVGzdWsCmuW+ lCYA== X-Gm-Message-State: AOAM532/1kVJ/ImX88HRywy2yvMg7dQOgx7C13tydNV5K7sffObSMuUb d2lkACmLV8OGmbq6kUCA3sZdsLST+E6ONDGnjbMAV1aHrcU= X-Google-Smtp-Source: ABdhPJxsBh+wnMhIumfFBh6Fd8FFD3FZW2YhcRuoI7F0+NE26Oh5vtR41WfLd6jXc9POHthiAgOqd/5AbBA6+i0KlOs= X-Received: by 2002:a1f:5c56:: with SMTP id q83mr2440973vkb.40.1598723662476; Sat, 29 Aug 2020 10:54:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Victor Huertas Date: Sat, 29 Aug 2020 19:54:08 +0200 Message-ID: To: "Montorsi, Francesco" Cc: "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Using valgrind with DPDK app X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello, I have exactly the same problem as you. I have also downloaded, compiled and installed the very last version of valgrind (v3.17). As soon as the mempool is created, the program gets stuck. If valgrind cannot be used with DPDK (I am using v18.11.5) as memory leak debugger, there must be other tool to do it. Which one? Thanks for your attention El vie., 10 jul. 2020 a las 16:59, Montorsi, Francesco (< fmontorsi@empirix.com>) escribi=C3=B3: > Hi all, > I would like to know if it's possible to run my DPDK application (I'm > using DPDK 19.11) under Valgrind. > I tried but it gets stuck apparently while accessing hugepages: > > ---- > AL: Detected memory type: socket_id:0 hugepage_sz:1073741824 > EAL: Detected memory type: socket_id:1 hugepage_sz:1073741824 > EAL: Creating 4 segment lists: n_segs:32 socket_id:0 hugepage_sz:10737418= 24 > EAL: Ask a virtual area of 0x1000 bytes > EAL: Virtual area found at 0x100033000 (size =3D 0x1000) > EAL: Memseg list allocated: 0x100000kB at socket 0 > EAL: Ask a virtual area of 0x800000000 bytes > EAL: Virtual area found at 0x140000000 (size =3D 0x800000000) > EAL: Ask a virtual area of 0x1000 bytes > EAL: Virtual area found at 0x940000000 (size =3D 0x1000) > EAL: Memseg list allocated: 0x100000kB at socket 0 > EAL: Ask a virtual area of 0x800000000 bytes > EAL: WARNING! Base virtual address hint (0xa80001000 !=3D 0x1040000000) n= ot > respected! > EAL: This may cause issues with mapping memory into secondary processe= s > EAL: Virtual area found at 0x1040000000 (size =3D 0x800000000) > EAL: Ask a virtual area of 0x1000 bytes > EAL: Virtual area found at 0xac0001000 (size =3D 0x1000) > EAL: Memseg list allocated: 0x100000kB at socket 0 > EAL: Ask a virtual area of 0x800000000 bytes > ---- > > I've seen there was some attempt a few years ago: > http://mails.dpdk.org/archives/dev/2016-February/033108.html > has anything changed since that? > > Also I see that Luca has created a project here > https://github.com/bluca/valgrind-dpdk > but seems like there were no changes since 3 years... I wonder if that > works or not with recent DPDK versions... > > Thanks for any hint, > > Francesco Montorsi > > > > --=20 Victor