SPEC CPU®2026 Flag Description - Polystack Platform settings

Operating System Tuning Parameters

ulimit
This sets user limits of system-wide resources and can set the stack size to n kbytes, or unlimited to allow the stack size to grow without limit. Common ulimit commands may include:

Kernel Parameters
The following Linux Kernel parameters (run as 'root') can be used to optimize performance. More information on standard Linux kernal parameters may be found at:

dirty_ratio
This sets the percentage of total system memory that can be filled with dirty pages before everything must get committed to disk. It helps manage memory usage by controlling how much dirty memory can accumulate before the system starts to write it back to disk; excessive accumulation of dirty memory can lead to performance issues or system instability.

The command "sysctl -w vm.dirty_ratio=8" sets the dirty cache to 8% of memory.

drop_caches
This instructs the kernel free the file system page cache, and reclaimable slab objects such as dentries and inodes, which can help free up memory.
Possible settings are: The command "echo 3> /proc/sys/vm/drop_caches" is used to free up the all filesystem page cache.

randomize_va_space
This setting can be used to select the type of process address space layout randomization (ASLR) used on the system. Disabling ASLR can make process execution more deterministic and runtimes more consistent.
Possible settings are: The command "sysctl -w kernel.randomize_va_space=0" is used to reduce run-to-run variability.

swappiness
This setting is used to define the rough relative cost of swapping and filesystem paging as value from 1 to 100 (default 60). It determines the balance between swapping out process memory and dropping pages from the page cache. A value of 1 will avoid swapping until memory is very low and swapping to disk is absolutely necessary. A value of 100 treats swapping and filesystem paging as equally costly and will cause the kernel to swap out inactive processes frequently in favor of file system performance, resulting in large disk cache sizes.

The command "sysctl -w vm.swappiness=1" is used to minimize swapping.

Transparent Hugepages (THP)
THP is an abstraction layer that uses huge pages to back virtual memory automatically, including promotion and demotion of page sizes. It can improve performance by reducing page faults and TLB misses. Huge pages increase the memory page size from 4 KB to 2 MB.

The command "echo option > /sys/kernel/mm/transparent_hugepage/enabled" is used to control THP usage.
Common values for option are:

The command "echo option > /sys/kernel/mm/transparent_hugepage/defrag" is used to limit defrag efforts in the VM to generate anonymous hugepates in case they are not immediately free.
Common values for option are:

The command "echo option > /sys/kernel/mm/transparent_hugepage/shmem_enabled" is used to affect the allocation policy of shared memory (shmem or tmpfs) mounts.
Common values for option are:

zone_reclaim-mode
Zone reclaim controls how aggressively the kernel reclaims free pages when a zone runs out of memory. Reclaiming a page can be more beneficial than taking the performance penalties that are associated with allocating a page on a remote zone, especially for systems with Non-Uniform Memory Access (NUMA).
Possible settings: The command "sysctl -w vm.zone_reclaim_mode=1" is used to reclaim memory more efficiently within the same node before accessing memory from other nodes.

Firmware / BIOS / Microcode Settings

C-States
Controls processor low-power idle states (C-states). Default: Enabled

Fan Control
Selects system cooling fan speed profile. Default: Standard

NUMA nodes per socket
Controls the number of desired NUMA nodes per populated processor socket. Default: NPS1.

Virtualization Technology (AMD-V)
Enables or disables hardware virtualization extensions provided by AMD processors. Default: Enabled