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 99294A04B1; Tue, 8 Sep 2020 23:50:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 617D11BF7E; Tue, 8 Sep 2020 23:50:05 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 30A831BEAC for ; Tue, 8 Sep 2020 23:50:03 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E6FA411CB; Tue, 8 Sep 2020 17:50:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 08 Sep 2020 17:50:02 -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= xTEFLjXcgN+q0MurViYILUxXBe4osgAPb6Zz71uwm2s=; b=PNPAC04dDsDOHSH6 wZzogOYc1MAqhDx6cKR/etmdLyPBORw5bNCIHKEYe+OW2XXhG9wRY+CUv1HEBnR/ lMKNuhpOboWYZB/npUlJScbagZoufTrauFcKEt+irOc9L3PaQozREHsjpChz1LLL zU3amzGNMjSMAWaEwkaZ81eSy/Rv3F/5faOCfEdxyczDB5YzEQeN3dU3oWOyqAZ5 d2VlTk2bkYXKM0roe8ag01a39c5bDnQj4VGEnUfPSOz2a/hE396rOcFRtfwJMpvl vGgHiSEU8MuPZR+PRPhN2OvSmiablVTSxP3IFW3xPdjB6+ZqXfJD3Kk5HH9Lzr3J FDCsJg== 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=fm3; bh=xTEFLjXcgN+q0MurViYILUxXBe4osgAPb6Zz71uwm 2s=; b=OaeJ225kzZkPUEZRSr6ofO/3njHjtSrhoS9ChO5P/iSXQF75L7zLN8hZF quIcsSH/tWuIa3NP+FH/QJGjS6rdBjgVj2NZxA9W0FRjFAlGf6+PZsIU7rGT1kAF e8PH/AmFCDZKA8U27fn60B+yXIjF63s4eD7W8BzQJbQHYqfZ3UhN1oNyIlKWEB7a lBF4Nwz0xwEGdmX0sfHz+p7bEIA56t7oLiC7QygUjZfqzKSIE54TIAi0K3S9u4cb AgbP/LwEVg5txA3jp8XIetudp/LFYWNaLTEl2s0Wv5RNYmbRkKxNnG2JWenFmet3 ltOsdnjvVrh1F1SpI2HBl6xDJGREw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehgedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 2521A3280059; Tue, 8 Sep 2020 17:50:00 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: Ferruh Yigit , dev@dpdk.org, Bruce Richardson Date: Tue, 08 Sep 2020 23:49:59 +0200 Message-ID: <3378450.o17gtE1zgI@thomas> In-Reply-To: <20200907085827.GC312@bricha3-MOBL.ger.corp.intel.com> References: <20200901165643.15668-1-stephen@networkplumber.org> <20200907085827.GC312@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] usertools: add huge page setup script 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" 07/09/2020 10:58, Bruce Richardson: > On Mon, Sep 07, 2020 at 09:54:29AM +0100, Ferruh Yigit wrote: > > On 9/6/2020 4:42 AM, Stephen Hemminger wrote: > > > This is an improved version of the setup of huge pages > > > bases on earlier DPDK setup. Differences are: > > > * it autodetects NUMA vs non NUMA > > > * it allows setting different page sizes > > > recent kernels support multiple sizes. > > > * it accepts a parameter in bytes (not pages). > > > > > > If necessary the steps of clearing old settings and mounting/umounting > > > can be done individually. > > > > > > Signed-off-by: Stephen Hemminger > > > > <...> > > > > > +install_data([ > > > + 'dpdk-devbind.py', > > > + 'dpdk-pmdinfo.py', > > > + 'dpdk-telemetry.py', > > > + 'hugepage_setup.py' > > > +],install_dir: 'bin') > > > > > > > Should script name has 'dpdk-' prefix as others do? > > +1 to that. If the script is going to be installed system-wise, it should start with dpdk- as namespace protection to avoid conflict.