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 5077FA04DC; Tue, 20 Oct 2020 00:24:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B4C53BADC; Tue, 20 Oct 2020 00:24:06 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 59238AD4C for ; Tue, 20 Oct 2020 00:24:05 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E4BF05C0180; Mon, 19 Oct 2020 18:24:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 19 Oct 2020 18:24:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= N4tgFrQiRdNGAhwkM3Oohf561osxbfLpx1twgmqFEic=; b=QIKJTaWZnTXJcOsh J1UyIsZCLpgpqN6labenKPkFJjKXKCGaKW52XbldYADqHChrN0mEbqdsDvpK8Vfq rAH7YlSpnZuo97peGRl/C5xdxSmlr4OFUVHTtOCNHFXRy4yO0kPKo9iB6GB/Qi5o UmuqPk6PKaRQDXUyMQ+o1EwHYpIRVF1xyWssBDSzwmgPMtVnovEV2vYzWAXm6od+ mlVKRDYXbUy4hMKlhNdq/uyrc/OBVrVVzTebnyhZ2pZgOfoKzMA/8W3xCnPxMrCT leArxatKrhN11srWvJf8GJA4AJF45dCVXtkGtMAO3dh5SOOM+2HY3pAYc7yMhXI1 Z5OqXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=N4tgFrQiRdNGAhwkM3Oohf561osxbfLpx1twgmqFE ic=; b=dCaTJONIDzmgcVTOdz46Q9CNMpJCi5twNy0FTFdYMGwtTirKLeyAgas9T OOAZrcz9bbnZsz4V0ow5WKmGw3Ao/eiU4Gui0pFlz7UKycUFhiBof8B73CbiT8Vc cvhBJiXQLH8I6roVT0e7uc/mfvpdTIyuQhDqGBj4LLXnjvs7dGFeBvylJY0BvJki pjoFwbmY/YJQMjKncn82do8HCq/CMqDb0dhXlI5IT5JW9W9blhklNYFz0R0SelBW N79QMw7+61LDh9y6umk+EXoi1sfa2AB1zmSnmW0QBdVgAv6P1f0FZxaxUwvEAPJh gdKoNDXdO1ZpmQfYoJgE7Kx7FYzhA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjedvgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeelfefhveevvefhheeuvdegheeijeeiveelhfehgfeujeeufeetjeef teehhefggfenucffohhmrghinhepshhhrdgsuhhilhgunecukfhppeejjedrudefgedrvd dtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9038D328005A; Mon, 19 Oct 2020 18:24:02 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, David Marchand , ferruh.yigit@intel.com, bruce.richardson@intel.com, andrew.rybchenko@oktetlabs.ru Date: Tue, 20 Oct 2020 00:24:00 +0200 Message-ID: <1961022.f6Zm6js99J@thomas> In-Reply-To: References: <20200104013341.19809-1-stephen@networkplumber.org> <20200428235827.15383-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/8] eal: cleanup resources on shutdown 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" That's a pity this patchset is not concluded. Please Stephen, could you respin with a fix? 03/05/2020 19:21, David Marchand: > On Wed, Apr 29, 2020 at 1:58 AM Stephen Hemminger > wrote: > > > > Started using valgrind with DPDK, and there are lots of leftover > > memory and file descriptors. This makes it hard to find application > > leaks versus DPDK leaks. > > > > The DPDK has a function that applications can use to tell it > > to cleanup resources on shutdown (rte_eal_cleanup). But the > > current coverage of that API is spotty. Many internal parts of > > DPDK leave files and allocated memory behind. > > > > This patch set is a first step at getting the sub-parts of > > DPDK to cleanup after themselves. These are the easier ones, > > the harder and more critical ones are in the drivers > > and the memory subsystem. > > > > There are no new exposed API or ABI changes here. > > > > v3 > > - fix a couple of minor checkpatch complaints > > > > v2 > > - rebase after 20.05 file renames > > - incorporate review comment feedback > > - hold off some of the more involved patches for later > > Same segfault as v1. > > $ ./devtools/test-null.sh ./build/app/dpdk-testpmd 0x3 --plop > ./build/app/dpdk-testpmd: unrecognized option '--plop' > EAL: Detected 8 lcore(s) > EAL: Detected 1 NUMA nodes > > Usage: ./build/app/dpdk-testpmd [options] > > (snip) > > EAL: FATAL: Invalid 'command line' arguments. > EAL: Invalid 'command line' arguments. > EAL: Error - exiting with code: 1 > Cause: Cannot init EAL: Invalid argument > ./devtools/test-null.sh: line 32: 23134 Broken pipe ( > sleep 1 && echo stop ) > 23135 Segmentation fault (core dumped) | $testpmd -c > $coremask --no-huge -m 20 $libs -w 0:0.0 --vdev net_null1 --vdev > net_null2 $eal_options -- --no-mlockall --total-num-mbufs=2048 > $testpmd_options -ia > > >