Configuring huge pages for Platform UI
Learn how to enable huge page settings for Platform UI.
Foundational services supports allocating and consuming of pre-allocated huge pages for Platform UI.
Complete the following steps to enable huge pages for Platform UI:
-
Locate the
zenservice
instances. Thezenservice
instance is the Platform UI instance.oc get zenservice -A
-
Edit the
zenservice
Custom Resource.oc edit zenservice <zenservice name> -n <zen service namespace> -o yaml
Replace
<zen service namespace>
with the namespace where you deployed thezenservice
instance. -
Update the
zenservice
CR and add the following parameters under thespec
section:hugepages: enable: true hugepages-<size>: <value>
Where
is 2Mi or 1Gi for x86_64 architecture, and <value>
is the requested size in Mi or GiFor example:
hugepages: enable: true hugepages-2Mi: 6Gi
-
Save the changes in the CR.