diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-09-12 12:27:45 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-09-12 12:27:45 +0200 |
commit | 36349293f4553e87c9ae17960f177c59843ae884 (patch) | |
tree | b9089d2dff9e1b9ad015f38e62cd0c709367f01b /debian/dpdk.conf | |
parent | c8d650a3535d38e3ef9012616e137dbd30d60d78 (diff) |
runtime: add 16M hugepages to config and init
ppc64el has 16M huge pages so they are added to the config and init
scripts.
Along that it became obvious that the comment in the conf should be
tweaked at least a bit to be more readable.
Change-Id: Ic97f20f17203b0a423439f7a6323879e25c47886
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'debian/dpdk.conf')
-rw-r--r-- | debian/dpdk.conf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/dpdk.conf b/debian/dpdk.conf index fb4572d0..a5aea865 100644 --- a/debian/dpdk.conf +++ b/debian/dpdk.conf @@ -2,16 +2,22 @@ # The number of 2M hugepages to reserve on system boot # # Default is 0 -# To e.g. let it reserve 64x 2M Hugepages set: +# To e.g. let it reserve 128M via 64x 2M Hugepages set: # NR_2M_PAGES=64 # # The number of 1G hugepages to reserve on system boot # # Default is 0 -# To e.g. let it reserve 2x 1G Hugepages set: +# To e.g. let it reserve 2G via 2x 1G Hugepages set: # NR_1G_PAGES=2 +# The number of 16M hugepages to reserve, supported e.g. on ppc64el +# +# Default is 0 +# To e.g. let it reserve 512M via 32x 16M Hugepages set: +# NR_16M_PAGES=32 + # # Dropping slab and pagecache can help to successfully allocate hugepages, # especially later in the lifecycle of a system. |