Configuring Memory Carveout#

In a virtualized configuration, system engines require that surfaces are allocated out of physically contiguous memory reserves.

In general, the guest virtual machines that own the respective engines must allocate a memory carveout to support this requirement. The default memory carveout allocations are:

  • 512 MB for single virtual machine (single-VM) configurations.

  • 128 MB for multiple virtual machine (multi-VM) configurations.

The default carveout allocations allow for general use cases. In applications that require large surface allocations, the carveout allocation may be increased using the device tree. The carveout allocation is configured by the device node definition as follows:

reserved-memory {
    generic_carveout {
        status = "okay";
        size = <0 0x20000000>;
    };
};

The constant 0x20000000 reflects the carveout size in bytes.

For assistance with changing the device node definition or with identifying the correct device tree file to update, contact your NVIDIA Customer Engineer.