[dpdk-dev,2/2] doc/guides: Add hugepage reserve instructions for IBM POWER
Checks
Commit Message
This patch adds additional instructions for hugepage reservation on IBM
POWER.
Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
---
doc/guides/linux_gsg/sys_reqs.rst | 6 ++++++
1 file changed, 6 insertions(+)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Chao Zhu
> Sent: Thursday, April 6, 2017 11:06 AM
> To: dev@dpdk.org
> Cc: Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>; Gonzalez Monroy,
> Sergio <sergio.gonzalez.monroy@intel.com>; david.marchand@6wind.com
> Subject: [dpdk-dev] [PATCH 2/2] doc/guides: Add hugepage reserve
> instructions for IBM POWER
>
> This patch adds additional instructions for hugepage reservation on IBM
> POWER.
>
> Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
@@ -200,6 +200,12 @@ On a NUMA machine, pages should be allocated explicitly on separate nodes::
For 1G pages, it is not possible to reserve the hugepage memory after the system has booted.
+ On IBM POWER system, the nr_overcommit_hugepages should be set to the same value as nr_hugepages.
+ For example, if the required page number is 128, the following commands are used::
+
+ echo 128 > /sys/kernel/mm/hugepages/hugepages-16384kB/nr_hugepages
+ echo 128 > /sys/kernel/mm/hugepages/hugepages-16384kB/nr_overcommit_hugepages
+
Using Hugepages with the DPDK
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^