From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C8524B3B7 for ; Mon, 1 Sep 2014 11:53:51 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 01 Sep 2014 02:52:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,441,1406617200"; d="scan'208";a="596176169" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 01 Sep 2014 02:58:13 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.112]) by IRSMSX102.ger.corp.intel.com ([169.254.2.24]) with mapi id 14.03.0195.001; Mon, 1 Sep 2014 10:57:51 +0100 From: "Richardson, Bruce" To: "Zhang, Jerry" , Anand S Angadi Thread-Topic: [dpdk-dev] reg : adding grub entry with hugepages. Thread-Index: AQHPxcEcHqwkja41L0e25rYmCujlVJvr570AgAAC9ACAAAmRAIAAFjkA Date: Mon, 1 Sep 2014 09:57:50 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0343ED9BF@IRSMSX103.ger.corp.intel.com> References: <54040572.5090002@globaledgesoft.com> <540431E5.2070909@globaledgesoft.com> <54043630.6020407@globaledgesoft.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 09:53:52 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Jerry > Sent: Monday, September 01, 2014 10:37 AM > To: Anand S Angadi > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages. >=20 > >> Hello everyone, > >> I am using fedora 16, i want to Add additional Grub entry with hugepag= es > >enabled permanently can u tell me how can i add? > >> and wher can i add? > >> > >> -- > >> Thanks & Regards, > >> ANAND > >> > >> > >> > >> > >Hi Zhang, > >Thank you for your reply, now I am using same thing but i want it perman= ently > to > >add. means after every time reboot i have write again it, please help me= . >=20 > You may add this parameter in /etc/default/grub >=20 > GRUB_CMDLINE_LINUX=3D"default_hugepagesz=3D1G hugepagesz=3D1G > hugepages=3D8 hugepagesz=3D2M hugepages=3D512" Again, please note that after changing the grub defaults you still need to = regenerate the grub configuration file, which is generally in /boot (on fed= ora 20 it's in /boot/grub2/grub.cfg). This is the file actually read at boo= t time by grub. /Bruce