From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1E928A04A6; Thu, 27 Jan 2022 13:07:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A293042793; Thu, 27 Jan 2022 13:07:21 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 806844067C for ; Thu, 27 Jan 2022 13:07:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643285240; x=1674821240; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=L2fEAWXGIA13IO4XlMhZ6Snqg530/61KYPvEqc9j2Bg=; b=aGl6iFyTpcw03X0b6Jc/HDSUCyQ8hV9G9bQPOLbPQQp2pm0xlgA8KamT jMmHuc5qZdXqTY+Uv+qEt/NU+M5t1VY+yor0x44NobxVIzit1Crr0u9e9 j7CmVS+8wMOrWoHc+aaCTqF3oCfphT0BkYp/Degb6FRNc3dwIGhAW0NAR xP+d3OQOUUUwJjfvFdI8pXrj8VAyHGxpBReP36bzwWieMfEy8+r+dEoMx JYZjwswe7RtHgCgPM0bcOuNUdnzdBWph0mvaSOU4NQP/yUycKMb+w+lJx gYQYLWUOLjDdpDrBC2HgyPtVXb1N2Mwz306FZSsumy3sIM3iyt43B308W w==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="246607956" X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="246607956" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 04:07:19 -0800 X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="696619669" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.29.75]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 27 Jan 2022 04:07:17 -0800 Date: Thu, 27 Jan 2022 12:07:14 +0000 From: Bruce Richardson To: Dmitry Kozlyuk Cc: dev@dpdk.org, Anatoly Burakov , Viacheslav Ovsiienko , David Marchand , Thomas Monjalon , Lior Margalit Subject: Re: [PATCH v2 0/6] Fast restart with many hugepages Message-ID: References: <20220117080801.481568-1-dkozlyuk@nvidia.com> <20220119210917.765505-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119210917.765505-1-dkozlyuk@nvidia.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Jan 19, 2022 at 11:09:11PM +0200, Dmitry Kozlyuk wrote: > This patchset is a new design and implementation of [1]. > > v2: > * Fix hugepage file removal when they are no longer used. > Disable removal with --huge-unlink=never as intended. > Document this behavior difference. (Bruce) > * Improve documentation, commit messages, and naming. (Thomas) > Thanks for the v2, I now see the promised perf improvements when running some quick tests with testpmd. Some quick numbers below, summary version is that for testpmd with default mempool size startup/exit time drops from 1.7s to 1.4s, and when I increase mempool size to 4M mbufs, time drops from 7.6s to 3.9s. /Bruce cmd: "time echo "quit" | sudo ./build/app/dpdk-testpmd -c F --no-pci -- -i" Baseline (no patches) - 1.7 sec Baseline (with patches) - 1.7 sec Huge-unlink=never - 1.4 sec Adding --total-num-mbufs=4096000 Baseline (with patches) - 7.6 sec Huge-unlink=never - 3.9 sec