Compal Electronics Inc. - BIOS and OS Tuning Descriptions for SPEC CPU2017 Submissions

Operating System Tuning Parameters

OS Tuning

ulimit:

is a command used to set or check user limits on system resources such as memory, CPU, and the number of open files. Below are common usages of ulimit:

irqbalance:

irqbalance is a Linux background service that distributes hardware interrupts across multiple CPU cores to prevent overloading a single core and improve system performance.

Performance Governors (Linux):

Performance governors are part of Linux's CPU frequency scaling mechanisms, used to determine how the CPU frequency should be managed. Simply put, they control "how fast the CPU should run under different conditions." Common CPU governors include:

--governor, -g:

When set to performance, the CPU will always operate at its maximum frequency to deliver the highest computing performance. This will improve overall system performance.

Many companies execute the following command when conducting system performance testing to ensure that the CPU operates at its maximum frequency:

tuned-adm:

is a command-line tool used to manage performance tuning settings on Linux systems. It allows users to select predefined tuning profiles that automatically adjust CPU, power saving, I/O, and network parameters according to the system’s intended usage, optimizing either performance or energy efficiency. The following four are the most commonly used profiles:

drop_caches:

To clear the Linux filesystem cache during testing or prior to benchmarking, the following command is used:


Firmware / BIOS / Microcode Settings

SMT Control (Default = Auto):

SMT Control is a setting that enables or disables Simultaneous Multithreading (SMT), allowing each CPU core to execute one or more threads concurrently to improve multitasking performance or ensure thread isolation. Values for this BIOS option can be:

Power Profile Selection (Default = Efficiency Mode):

This setting controls how the system balances power efficiency and performance across CPU, memory, and I/O subsystems. Values for this BIOS option can be:

Performance Mode (Default = Balance):

Performance Mode forces the system to operate at its highest performance level, sacrificing power efficiency for maximum speed. Values for this BIOS option can be:

ASPM Control (Default = Auto):

ASPM (Active State Power Management) is a PCI Express power-saving feature that reduces power consumption by placing links into lower power states when idle. Values for this BIOS option can be:

CPPC (Default = Auto):

CPPC (Collaborative Processor Performance Control) allows the OS and processor to work together to optimize performance and power efficiency by selecting appropriate performance levels dynamically. Values for this BIOS option can be:

Memory Interleaving (Default = Auto):

Allows for disabling memory interleaving. Note that NUMA nodes per socket will be honored regardless of this setting. Values for this BIOS option can be:

SVM Mode (Default = Enable):

SVM (Secure Virtual Machine) Mode is a BIOS setting that enables or disables hardware-assisted virtualization on AMD processors. When enabled, it allows the use of virtualization technologies such as AMD-V, which are required by hypervisors (e.g., VMware, Hyper-V, KVM) to run virtual machines with hardware-level isolation and improved performance. Values for this BIOS option can be:

SR-IOV Support (Default = Enabled):

SR-IOV (Single Root I/O Virtualization) is a hardware-assisted virtualization technology that allows a single physical PCIe device (such as a network interface card) to present multiple virtual functions (VFs) to the operating system or hypervisor. This enables more efficient and direct access to hardware for virtual machines, reducing I/O overhead and improving performance in virtualized environments. Values for this BIOS option can be:

SEV Control (Default = Enabled):

SEV (Secure Encrypted Virtualization) is an AMD security technology that encrypts the memory of virtual machines, protecting guest data from being accessed or tampered with by the hypervisor or other VMs. It enhances data confidentiality in cloud or multi-tenant environments by isolating VMs at the hardware level. Values for this BIOS option can be:

BoostFmaxEn (Default = Auto):

BoostFmaxEn determines whether the CPU's maximum frequency (Fmax) is set automatically by the system or manually by the user. Values for this BIOS option can be:

BoostFmax (Default = 0):

BoostFmax defines the maximum frequency (in MHz) the CPU is allowed to reach when frequency boosting is enabled.

Determinism Control (Default = Auto):

Determinism Control is a BIOS setting used on AMD EPYC processors to influence how the system behaves in terms of frequency and performance consistency across cores and sockets. It ensures predictable performance, which is especially useful in multi-socket or multi-node systems where workloads must remain consistent across processors. Values for this BIOS option can be:

Determinism Enable (Default = Power):

Determinism Enable is a setting that determines whether a system prioritizes consistent power behavior or peak performance when determinism is manually controlled. It works in conjunction with the Determinism Control setting to fine-tune system response across cores and sockets. Values for this BIOS option can be:

TDP Control (Default = Auto):

TDP Control determines how the processor’s Thermal Design Power (TDP) is managed — either automatically by the system or manually by user-defined limits. This setting affects CPU power consumption and thermal behavior. Values for this BIOS option can be:

TDP (Default = 0):

TDP (Thermal Design Power) sets a power consumption target for the CPU in watts, helping manage thermal output and power limits during operation — especially relevant when TDP Control is set to Manual.

PPT Control (Default = Auto):

PPT Control (Package Power Tracking Control) determines whether the maximum allowable CPU package power (PPT limit) is automatically set by the system or manually defined by the user to control CPU power usage. Values for this BIOS option can be:

PPT (Default = 0):

PPT defines the upper limit of total power consumption (in watts) for the CPU package, including cores, cache, and SoC components, to ensure thermal and electrical safety.

ACPI CST C2 Latency (Default = 100):

ACPI CST C2 Latency defines the response time (in microseconds) for the processor to exit the C2 low-power state and return to full operation. This setting influences how quickly the CPU can resume tasks after being in power-saving mode.

Memory Target Speed (Default = Auto):

Memory Target Speed sets the desired memory (DRAM) operating frequency for the system, affecting overall memory bandwidth and latency performance. Values for this BIOS option can be:

NUMA Nodes Per Socket (Default = Auto):

NUMA Nodes Per Socket (NPS) determines how many NUMA (Non-Uniform Memory Access) domains are created per CPU socket, impacting memory locality, bandwidth, and latency for multi-threaded workloads. Values for this BIOS option can be:

DRAM Scrub Time (Default = 24hr):

DRAM Scrub Time defines the periodic interval for background memory error correction (memory scrubbing), which helps detect and repair soft errors (bit flips) in DRAM to improve system reliability. Values for this BIOS option can be:

L1 Stride Prefetcher (Default = Auto):

L1 Stride Prefetcher is a processor feature that attempts to pre-load data into the L1 cache by predicting memory access patterns with regular strides, helping improve performance by reducing cache miss latency. Values for this BIOS option can be:

APBDIS (Default = 0):

APBDIS (Application Power Brake Disable) is a BIOS setting that controls whether the CPU’s internal power throttling feature (Application Power Brake, APB) is enabled or disabled. APB dynamically reduces performance under certain conditions to meet power or thermal constraints. Values for this BIOS option can be:

ACPI SRAT L3 Cache As NUMA Domain (Default = Auto):

This BIOS setting defines whether each L3 cache segment is treated as a separate NUMA (Non-Uniform Memory Access) domain by reporting it in the ACPI SRAT (System Resource Affinity Table). This can affect how the OS and applications schedule memory and threads. Values for this BIOS option can be:

Last updated Aug 8, 2025.