From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 66DB1997A for ; Wed, 2 Aug 2017 15:32:01 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 02 Aug 2017 06:31:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,311,1498546800"; d="scan'208";a="885536900" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 02 Aug 2017 06:31:59 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 2 Aug 2017 06:31:58 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.214]) by FMSMSX119.amr.corp.intel.com ([169.254.14.117]) with mapi id 14.03.0319.002; Wed, 2 Aug 2017 06:31:58 -0700 From: "Wiles, Keith" To: Kumaraparameshwaran Rathnavel CC: Kyle Larose , "users@dpdk.org" Thread-Topic: [dpdk-users] Failed to remap 2 MB pages Thread-Index: AQHTCtAbGDz8wk4obUi4povu+UIn6qJxChGAgAAQB4CAAG0NgA== Date: Wed, 2 Aug 2017 13:31:57 +0000 Message-ID: References: <99B91E22-DBFB-46AE-9CFC-8C162848FC4B@cloudsimple.com> <6882F2EB-D0B1-4627-844A-E284883A8CD9@cloudsimple.com> In-Reply-To: <6882F2EB-D0B1-4627-844A-E284883A8CD9@cloudsimple.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.30.141] Content-Type: text/plain; charset="us-ascii" Content-ID: <0DAA0AA709A7674DB6FD805FA804ECCF@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Failed to remap 2 MB pages X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 13:32:02 -0000 > On Aug 2, 2017, at 2:01 AM, Kumaraparameshwaran Rathnavel wrote: >=20 > Hi Kyle, >=20 > I have rebooted it couple of times. Did not have any impact, I doubt if t= hat is the case because in the code before the mmap call there is check for= the memory. >=20 > Please correct me if I am wrong. Do you setup your huge pages via the sysctl.conf file or by hand after you = startup the system? One other item is I had something similar in my dual socket machine. I coul= d only get about 12K total 2megs pages in 64G machine 32G per socket. I inc= rease the memory per socket and that allowed me to reach 16K pages total or= 8K pages per socket. I did not understand why it happened I just assumed i= t was how Linux used memory. Sorry this most likely does not help much. >=20 > Thanking You, > Param. >> On 02-Aug-2017, at 11:34 AM, Kyle Larose wrote: >>=20 >> Could it have to do with memory fragmentation? What if you reboot? What = if you configure the huge pages on the grub command line so they are alloca= ted at boot? >>=20 >> -----Original Message----- >> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Kumaraparameshw= aran Rathnavel >> Sent: Tuesday, August 01, 2017 7:41 PM >> To: users@dpdk.org; Wiles, Keith >> Subject: [dpdk-users] Failed to remap 2 MB pages >>=20 >> Hi All, >>=20 >> I am getting the error Failed to remap 2 MB pages when I give 32GB of me= mory to DPDK. I have a 256GB system and it was working for 16GB and I had 8= 192 number of Huge pages previously. Now for 32GB I have increased it to 16= 384 entries and I am facing this error. I guess this is not because of the = unavailability of physical memory.=20 >>=20 >> Please correct me if I am wrong, >>=20 >> Thanking You, >> Param. >=20 Regards, Keith