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:

  1. Locate the zenservice instances. The zenservice instance is the Platform UI instance.

    oc get zenservice -A
    
  2. 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 the zenservice instance.

  3. Update the zenservice CR and add the following parameters under the spec 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 Gi

    For example:

    hugepages:
      enable: true
      hugepages-2Mi: 6Gi
    
  4. Save the changes in the CR.