From ad7b8fa3e83e8309d3422821ed62f692a8ce2326 Mon Sep 17 00:00:00 2001 From: Kunhui-Li Date: Fri, 4 Jun 2021 15:14:55 +0800 Subject: [PATCH] doc: add the content of hugepages/hugepagesz in generic kernel parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add hugepages/hugepagesz parameters description in generic kernel parameters because we remove the “hugepage/hugepagesz” setting in HV code in v2.5 and the only user interface to this parameter is to modify the two parameter in grub. Tracked-On: #5815 Signed-off-by: Kunhui-Li --- doc/user-guides/kernel-parameters.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/user-guides/kernel-parameters.rst b/doc/user-guides/kernel-parameters.rst index 7b428f4bb..1de671682 100644 --- a/doc/user-guides/kernel-parameters.rst +++ b/doc/user-guides/kernel-parameters.rst @@ -317,6 +317,28 @@ relevant for configuring or debugging ACRN-based systems. intel_iommu=off + * - ``hugepages`` + ``hugepagesz`` + - Service VM,User VM + - ``hugepages``: + HugeTLB pages to allocate at boot. + + ``hugepagesz``: + The size of the HugeTLB pages. On x86-64 and PowerPC, + this option can be specified multiple times interleaved + with ``hugepages`` to reserve huge pages of different sizes. + Valid page sizes on x86-64 are 2M (when the CPU supports Page Size Extension (PSE)) + and 1G (when the CPU supports the ``pdpe1gb`` cpuinfo flag). + - :: + + hugepages=10 + hugepagesz=1G + +.. note:: The ``hugepages`` and ``hugepagesz`` parameters are automatically + taken care of by ACRN config tool. In case user have customized hugepage + settings to satisfy their particular workloads in Service VM, the ``hugepages`` + and ``hugepagesz`` parameters could be redefined in GRUB menu to override + the settings from ACRN config tool. Intel GVT-g (AcrnGT) Parameters *******************************