Allocate Host Memory Using HorizonΒΆ

You can edit the platform and Application page memory allocations for a NUMA node from the Horizon Web interface using the Memory tab on the Host Inventory pane.

Due to limitations in Kubernetes, only a single huge page size can be used per host.

A node may only allocate huge pages for a single size, either 2MiB or 1GiB.

You must also provision one 1GiB huge page per NUMA node prior to unlocking a worker or an AIO controller.

Prerequisites

Before requesting huge pages on a host, ensure that the host has enough available memory. For details, see About Host Memory Provisioning. If a huge page request cannot be allocated from the available memory, an informative message is displayed.

Procedure

  1. On the Inventory pane, lock the host you want to edit.

  2. Click Host Name to open the settings for the host.

  3. On the Memory tab, click Update Memory.

    ../../../_images/esy1567176125909.png
  4. Use the Update Memory Allocation dialog box to set the memory allocations for each NUMA node.

    For each available NUMA node, five fields are available, as illustrated in the following example screen for two NUMA nodes. Due to limitations in Kubernetes, only a single huge page size can be used per host, across Application memory.

    ../../../_images/yfv1567176747837.png
    Platform Memory for Node n

    The amount of memory to reserve for platform use on the NUMA Node, in MiB. To see the minimum requirement, hover over the information icon next to the field.

    ../../../_images/jow1436294915672.png

    # of Application 2M Hugepages Node n

    The number of 2 MiB huge pages to reserve for application use on the NUMA Node. If no 2 MiB pages are required, type 0. Due to limitations in Kubernetes, only a single huge page size can be used per host, across Application memory.

    # of Application 1G Hugepages Node n

    The number of 1 GiB huge pages to reserve for application use on the NUMA Node. If no 1 GiB pages are required, type 0. Due to limitations in Kubernetes, only a single huge page size can be used per host, across Application memory.

    To see how many huge pages of a given size you can successfully request on a node (assuming that pages of another size are not also requested), hover over the information icon next to the field.

    ../../../_images/jow1432129731308.png

    Any unused memory is automatically allocated as 4 KiB pages of regular memory for Applications.

  5. Click Save.

  6. Unlock the host and wait for it to be reported as Available.