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 83021A0547 for ; Wed, 29 Sep 2021 12:17:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0090C410D7; Wed, 29 Sep 2021 12:17:14 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6F1D040685 for ; Wed, 29 Sep 2021 12:17:13 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10121"; a="247431350" X-IronPort-AV: E=Sophos;i="5.85,332,1624345200"; d="scan'208";a="247431350" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2021 03:17:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,332,1624345200"; d="scan'208";a="438400549" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 29 Sep 2021 03:17:11 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 29 Sep 2021 03:17:11 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 29 Sep 2021 03:17:09 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 29 Sep 2021 03:17:08 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 29 Sep 2021 03:17:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CqGPSmyjmJciBMUitKvdMYce68k3jsGzQSDaTcoDJIP/98mqRO/wZ0FnKKdt5UxZtOIzwjQ8Ixz13PZTouxqSepcYBBI40/0n17Et120lvqyHFLSJZ5VqSHSgyLYPDbCBEqXPI4WVOevEe2yG1DzDZDnM/l5GZVrO6rw07TLlshx89vzc/NtOAfQM/27pPQqZg8tL+oISrOUgAddA0lELgPMMwTkjFoGMpxf0rDFwNHCGPeMgX+34dgqoQN2ChL/Ntn0YOIvePtGLwvKN4Yxc049wopoDZj3RQrKO428ordmmL1cg09LVe3citdHAp5+eP9CVFRlrBzDfPsnqmbs1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bw15q56waG+W9ywrwuMUUf8lPUktHxgTQeTT25BDaMo=; b=YG0K763A6ByVodUNYiY9+u0wKYOD5XVmvFC9Msg2TYHh9/4eVfkAHB8ivvcIcgACqnkb1NoCi2o0fhgICnErbPwpQM+U9iSxvD0G/RQUCqbU2VRwJthKhOCYUtAOVdn188PtaDXVcd6UzJibfHsxRj18+HfzXFvI/bAsQnAOCD7uYTke9VwpwHouyH0Xko2sYfjE6GawL2hrV/vNjONrwMXiyxIOLy1u3AC73LWaxP2McLR2zA5y3UM9rb/lNjv9Ro0tuqUNG14WEw58rK6AO4EKQZopthnjbzdtiO9XXkUDG1g0J6fd2BMWdHVYNo4dhdjXu/kIR1AxZof9gcS8Kg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bw15q56waG+W9ywrwuMUUf8lPUktHxgTQeTT25BDaMo=; b=rJv/NlAeF6HyFUIaYt1H60Rh5GtN/RyA/CyijvZvnbfvuWd6gazwSnmuE8HTJWmwipeKn9QeLrC3Mf7/XELBs0j2qdi1lvoT1sfPpACe0+/zt5yoEgLuKJrGKPRV+JyjJfzQOaayHtFBJ+aK/RFXs+Pt7zoMK1czucGHM6o/20o= Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by PH0PR11MB5143.namprd11.prod.outlook.com (2603:10b6:510:3f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Wed, 29 Sep 2021 10:16:57 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::d145:710a:1bac:7e91]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::d145:710a:1bac:7e91%9]) with mapi id 15.20.4566.014; Wed, 29 Sep 2021 10:16:57 +0000 From: "Burakov, Anatoly" To: Thomas Monjalon , Jiany Wu CC: "users@dpdk.org" , "Richardson, Bruce" , "olivier.matz@6wind.com" , "dmitry.kozliuk@gmail.com" , "stephen@networkplumber.org" , "Mcnamara, John" Subject: RE: [dpdk-users] can we reserve hugepage and not release Thread-Topic: [dpdk-users] can we reserve hugepage and not release Thread-Index: AQHXtRlji2zqhAaLHUSLD0Nvrcen9au6ymqg Date: Wed, 29 Sep 2021 10:16:57 +0000 Message-ID: References: <3927535.NYFkNA2spg@thomas> In-Reply-To: <3927535.NYFkNA2spg@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0c529dde-91cd-44b4-bddb-08d9833244dd x-ms-traffictypediagnostic: PH0PR11MB5143: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dyNPZV+GQAO2/JW6LehbcHYNgT77IiQbLX4UsN+xZGB1juakbkyRqfNwqma8b6TfSZ95J/kpkViTb7XOamzrjdZc6dyB42XKD0HVxUbWksCtMIOpl+Deh+n6iLrH/n7ZHruoNXbghxvmdU28A20hTPuHfllNPfZOThho4U3/gm4w15fCUh5Oz5hYO/e44DvWGBCa1U8XKvKyysnLb64rewTFujS9/26kbamvu7iKMC8mibWFgS9CYcUQwvTV5DibDvxAyzbizon1MiEUyS30sBM4AUxE/OQfkHueL/BB/sP2oIwVhaUW98uGQkDCrId7M51QXfrynn+BGLh1KLvdm+idihOsKfdktBYB2o8eCvHzLDsnir/fcnB2tQZ4VXmm62YomytaFMk93dRrpHnnqZb/qgEEPt104yiI4TDZfMc671XTjoQ0cLqSsi66Mi2lLxDcq7rkjuDaNF9zdVbpuQeQu3kQULlSUK881mEnWlwI06tdvGINnAJZnqNEkTa86/YMVXKrXzNJgw4S9fkh5xRd+OLZKWCmkFzfZ+6t52RDGzgZF1clP6P2oz39HycNgJOtT2jPbi6NfBSb+u/HYKfoA7ewXDmDycER99d1Ivy45GZbfcQUPBQDznvkltEkssHT9WzGacVWEB7j7ZlUD1xl+RbdoN+t30eQP0869kE0jPGraMedP7bkumH15sbMP3DfeBt2pTl1fv4Ch8mNtQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(83380400001)(86362001)(316002)(54906003)(38070700005)(107886003)(110136005)(66446008)(64756008)(7696005)(66556008)(66476007)(186003)(5660300002)(8676002)(122000001)(33656002)(2906002)(9686003)(55016002)(8936002)(52536014)(38100700002)(71200400001)(76116006)(26005)(6506007)(4326008)(66946007)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iPptmEvJhDT2nD73FKvyBhKdOrPt4IPrMnA3yObmOANu6jzAtAa1TIwhMcY9?= =?us-ascii?Q?7XE2ihLkYSXOw2sa3Y3ouAWmYnAUxkJUpY36S2+vm8+PeM4TvhnfpN3AbeJP?= =?us-ascii?Q?870Zb/mMep7Yq7LHhv2gqkJWPXe8AW0awVBm0/ZyRdxt4qPKgJPuzHrgpcOI?= =?us-ascii?Q?6as8fH2Roo34YU6lnqDPLxzytZw3HiFgZBw7qkx7b/1HzJzpkPV00rxvRGVH?= =?us-ascii?Q?6ZkQs6ZHp1oJBqX89Hcn9pM2+iPfusuozUw9UkJNa4IaBHJakHIJRd7e343E?= =?us-ascii?Q?TEkTN/QzEcPW1KBK4tXB1qYtNY+AvjlbtflOeMdzp8rThG3FAQdkjxJMHbr1?= =?us-ascii?Q?AlaXgwmzpkNd1UtPlf8YVuHptK6LjRjyO3Gaj7pieovslL7MC8PfbHdjCPJb?= =?us-ascii?Q?EjYbyy0HJa24XtZw4m3QQRlhvGEW4Kau7vm4FHse0Pzna3IvAc73JLaTNxjf?= =?us-ascii?Q?hnxQNf5cnBpet25ZZiT7szWWH9ycvapOGI2nMccu5tC0K1xvCxqg1ceEkcrN?= =?us-ascii?Q?Bay+iB8IlfVgFkqlkWd/bZG3uwsXy8lZYCGc1TIg20oZ/Hnp2VYZPuM9ZnHb?= =?us-ascii?Q?RAI0/DIDaD5T0nqKs0hKGf6PKKiDrhwSJsSn94mucHo3Pya1pchECEMBhtnj?= =?us-ascii?Q?ulnCDkV3x2lbF2ZSzSAd50zgoxDKwVstHRO32XvwANxMuOS1TEjqQL2Of558?= =?us-ascii?Q?q4NWOnYNjd3L25Id4CMxBHoL1wIabCM47emo1kd1dTAlJamLKvhR+jxE7NlU?= =?us-ascii?Q?eDY+uUmGQok3GMvEz+qFOsVh9In9SPr3WDileLlu1Io4N25nafFF1BbMctOK?= =?us-ascii?Q?Z+jBaBORUydUvg4KJkDL+gCd3kD+73tti8AT5uM8+nTy/47wJnugVDNW4l0+?= =?us-ascii?Q?A9DrHh1IH1cIyiVyUpVZeQBr0ZRyjfRj/s71txs37kXaOIlnGIp9VFtAV5A1?= =?us-ascii?Q?wvgH0r28lDL4KYgk8iTTtWgulamvmP7ftjdWUf3snHd4sFJVIBzs+CSOV1tW?= =?us-ascii?Q?X/8xfAHJbx9Kq9CQ4uKIPlezp0NwipMu2DvLFUDtuJK9aKujkZi+x8lPvmL2?= =?us-ascii?Q?tPjW8I+FHNRe3RWsqqOFtWBexoUAF34DcQeqR9h9xjBOrZQ5k7UX+dkevQCP?= =?us-ascii?Q?fh16w/J1Ommw94rW0kTeLITmRWfGSwQq3zFP4O/Ub6nq0b2+lQ4LcAY/zM1U?= =?us-ascii?Q?M8Gk42kJMgrx7c6joMlLW54t4VhTMTE1ZpSQlqeUDHpMaOCRBsbZgomD8rLb?= =?us-ascii?Q?4ceJY2gJmpeNKvULL7N9ZQsh9spLU20OQQyT5lYoGHfxp2fKKY4MGp+iq6GB?= =?us-ascii?Q?w/xEDYIpPnU7HfYifYCizU7B?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c529dde-91cd-44b4-bddb-08d9833244dd X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2021 10:16:57.4959 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 20xRmlvilTqZZ8/lqrlWoYAV/CUQaRrJxaFAWWX0KKpvBT2VVGl6BTch+C7wEmyxgDFVuBPNfdxic+LKYP0d2GQjLMCGZM4QItgZv0rWmtA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5143 X-OriginatorOrg: intel.com X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org > -----Original Message----- > From: Thomas Monjalon > Sent: Wednesday, September 29, 2021 11:04 AM > To: Jiany Wu > Cc: users@dpdk.org; Burakov, Anatoly ; > Richardson, Bruce ; olivier.matz@6wind.com; > dmitry.kozliuk@gmail.com; stephen@networkplumber.org; Mcnamara, John > > Subject: Re: [dpdk-users] can we reserve hugepage and not release >=20 > 18/09/2021 04:37, Jiany Wu: > > Hello, > > > > I met a scenario that, need to start and stop the container many times > > for the hugepage. But after several times container start and stop, > > the hugepage is not able to reserve. > > Hugepage size is 2MB, and HW only support 2MB, can't support 1GB. > > Is there anyway to make sure the hugepage is still kept continuous? > > Thanks indeed. >=20 > Interesting question. > I think we need to address it in the DPDK documentation. >=20 > Anatoly, Stephen, Bruce, any advice please? >=20 Hi, >From description, I don't quite understand what's the issue here. Is the pr= oblem about "contiguousness of memory", or is it about inability to reserve= more hugepages? How are hugepages assigned to your container? Have you tri= ed using --in-memory mode? Thanks, Anatoly