Configure the Windows page file on Deadline Cloud workers
The
worker_configuration/windows/configure_page_file.ps1
The page file sizing logic works as follows:
-
For NVMe drives, the script uses the smaller of 2× RAM or 75% of NVMe space by default.
-
If NVMe isn't available, the script uses the largest non-boot drive with 2× RAM.
-
If no non-boot drives are available, the script falls back to the boot drive (C:).
The script automatically detects EC2 NVMe instance storage, disables
automatic page file management, formats the drive and assigns a drive
letter if needed, then reboots the worker to apply changes. A marker file
at C:\deadline-pagefile-configured prevents reconfiguration
on subsequent worker starts. Adjust the
$RAM_MULTIPLIER,
$NVME_SPACE_PERCENTAGE, and
$MIN_DISK_SIZE_GB variables at the top of the script to
match your workload.