CPU2017 Flag Description
Fujitsu PRIMERGY RX2450 M2, AMD EPYC 9354P, 3.25 GHz

Compilers: AMD Optimizing C/C++ Compiler Suite


Base Compiler Invocation

C benchmarks

C++ benchmarks

Fortran benchmarks


Base Portability Flags

500.perlbench_r

502.gcc_r

505.mcf_r

520.omnetpp_r

523.xalancbmk_r

525.x264_r

531.deepsjeng_r

541.leela_r

548.exchange2_r

557.xz_r


Base Optimization Flags

C benchmarks

C++ benchmarks

Fortran benchmarks


Base Other Flags

C benchmarks

C++ benchmarks

Fortran benchmarks


Implicitly Included Flags

This section contains descriptions of flags that were included implicitly by other flags, but which do not have a permanent home at SPEC.


Commands and Options Used to Submit Benchmark Runs

Using numactl to bind processes and memory to cores

For multi-copy runs or single copy runs on systems with multiple sockets, it is advantageous to bind a process to a particular core. Otherwise, the OS may arbitrarily move your process from one core to another. This can affect performance. To help, SPEC allows the use of a "submit" command where users can specify a utility to use to bind processes. We have found the utility 'numactl' to be the best choice.

numactl runs processes with a specific NUMA scheduling or memory placement policy. The policy is set for a command and inherited by all of its children. The numactl flag "--physcpubind" specifies which core(s) to bind the process. "-l" instructs numactl to keep a process's memory on the local node while "-m" specifies which node(s) to place a process's memory. For full details on using numactl, please refer to your Linux documentation, 'man numactl'

Note that some older versions of numactl incorrectly interpret application arguments as its own. For example, with the command "numactl --physcpubind=0 -l a.out -m a", numactl will interpret a.out's "-m" option as its own "-m" option. To work around this problem, we put the command to be run in a shell script and then run the shell script using numactl. For example: "echo 'a.out -m a' > run.sh ; numactl --physcpubind=0 bash run.sh"


Shell, Environment, and Other Software Settings

numactl --interleave=all runcpu

numactl --interleave=all runcpu executes the SPEC CPU command runcpu so that memory is consumed across NUMA nodes rather than consumed from a single node. This helps prevent local node out-of-memory conditions which can occur when runcpu is executed without interleaving. For full details on using numactl, please refer to your Linux documentation, 'man numactl'

Transparent Huge Pages (THP)

THP is an abstraction layer that automates most aspects of creating, managing, and using huge pages. It is designed to hide much of the complexity in using huge pages from system administrators and developers. Huge pages increase the memory page size from 4 kilobytes to 2 megabytes. This provides significant performance advantages on systems with highly contended resources and large memory workloads. If memory utilization is too high or memory is badly fragmented which prevents huge pages being allocated, the kernel will assign smaller 4k pages instead. Most recent Linux OS releases have THP enabled by default.

THP usage is controlled by the sysfs setting /sys/kernel/mm/transparent_hugepage/enabled. Possible values:

The SPEC CPU benchmark codes themselves never explicitly request huge pages, as the mechanism to do that is OS-specific and can change over time. Libraries such as amdalloc which are used by the benchmarks may explicitly request huge pages, and use of such libraries can make the "madvise" setting relevant and useful.

When no huge pages are immediately available and one is requested, how the system handles the request for THP creation is controlled by the sysfs setting /sys/kernel/mm/transparent_hugepage/defrag. Possible values:

An application that "always" requests THP often can benefit from waiting for an allocation until those huge pages can be assembled.
For more information see the Linux transparent hugepage documentation.

ulimit -s <n>

Sets the stack size to n kbytes, or unlimited to allow the stack size to grow without limit.

ulimit -l <n>

Sets the maximum size of memory that may be locked into physical memory.

powersave -f (on SuSE)

Makes the powersave daemon set the CPUs to the highest supported frequency.

/etc/init.d/cpuspeed stop (on Red Hat)

Disables the cpu frequency scaling program in order to set the CPUs to the highest supported frequency.

LD_LIBRARY_PATH

An environment variable that indicates the location in the filesystem of bundled libraries to use when running the benchmark binaries.

LIBOMP_NUM_HIDDEN_HELPER_THREADS

target nowait is supported via hidden helper task, which is a task not bound to any parallel region. A hidden helper team with a number of threads is created when the first hidden helper task is encountered.

The number of threads can be configured via the environment variable LIBOMP_NUM_HIDDEN_HELPER_THREADS. The default is 8. If LIBOMP_NUM_HIDDEN_HELPER_THREADS is 0, the hidden helper task is disabled and support falls back to a regular OpenMP task. The hidden helper task can also be disabled by setting the environment variable LIBOMP_USE_HIDDEN_HELPER_TASK=OFF.

sysctl -w vm.dirty_ratio=8

Limits dirty cache to 8% of memory.

sysctl -w vm.swappiness=1

Limits swap usage to minimum necessary.

sysctl -w vm.zone_reclaim_mode=1

Frees local node memory first to avoid remote memory usage.

kernel/numa_balancing

This OS setting controls automatic NUMA balancing on memory mapping and process placement. NUMA balancing incurs overhead for no benefit on workloads that are already bound to NUMA nodes.

Possible settings:

For more information see the numa_balancing entry in the Linux sysctl documentation.

kernel/randomize_va_space (ASLR)

This setting can be used to select the type of process address space randomization. Defaults differ based on whether the architecture supports ASLR, whether the kernel was built with the CONFIG_COMPAT_BRK option or not, or the kernel boot options used.

Possible settings:

Disabling ASLR can make process execution more deterministic and runtimes more consistent. For more information see the randomize_va_space entry in the Linux sysctl documentation.

vm/drop_caches

The two commands are equivalent: echo 3> /proc/sys/vm/drop_caches and sysctl -w vm.drop_caches=3 Both must be run as root. The commands are used to free up the filesystem page cache, dentries, and inodes.

Possible settings:

MALLOC_CONF

The amdalloc library is a variant of jemalloc library. The amdalloc library has tunable parameters, many of which may be changed at run-time via several mechanisms, one of which is the MALLOC_CONF environment variable. Other methods, as well as the order in which they're referenced, are detailed in the jemalloc documentation's TUNING section.

The options that can be tuned at run-time are everything in the jemalloc documentation's MALLCTL NAMESPACE section that begins with "opt.".

The options that may be encountered in SPEC CPU 2017 results are detailed here:

PGHPF_ZMEM

An environment variable used to initialize the allocated memory. Setting PGHPF_ZMEM to "Yes" has the effect of initializing all allocated memory to zero.

GOMP_CPU_AFFINITY

This environment variable is used to set the thread affinity for threads spawned by OpenMP.

OMP_DYNAMIC

This environment variable is defined as part of the OpenMP standard. Setting it to "false" prevents the OpenMP runtime from dynamically adjusting the number of threads to use for parallel execution.

For more information, see chapter 4 ("Environment Variables") in the OpenMP 4.5 Specification.

OMP_SCHEDULE

This environment variable is defined as part of the OpenMP standard. Setting it to "static" causes loop iterations to be assigned to threads in round-robin fashion in the order of the thread number.

For more information, see chapter 4 ("Environment Variables") in the OpenMP 4.5 Specification.

OMP_STACKSIZE

This environment variable is defined as part of the OpenMP standard and controls the size of the stack for threads created by OpenMP.

For more information, see chapter 4 ("Environment Variables") in the OpenMP 4.5 Specification.

OMP_THREAD_LIMIT

This environment variable is defined as part of the OpenMP standard and limits the maximum number of OpenMP threads that can be created.

For more information, see chapter 4 ("Environment Variables") in the OpenMP 4.5 Specification.


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. Some common ulimit commands may include:
Kernel parameters
The following Linux Kernel parameters were set for better optimize performance.

Firmware / BIOS / Microcode Settings

ACPI CST C2 Latency
This BIOS switch defines C2 latency values in microseconds. Larger C2 latency values will reduce the number of C2 transitions and C2 residency. On the other hand, higher values may allow higher frequency boost and reduce idle core power. Default value is "800".
ACPI SRAT L3 Cache as NUMA Domain
This BIOS switch allows 2 options: "Disable" and "Enabled". This feature exposes each L3 Cache as a NUMA node when enabled. Default is "Disabled".
APBDIS
This BIOS switch allows 2 options: "0" and "1". This feature disables or enable an IO boost on uncore. When "1" is selected, Data Fabric Application Power Management (APM) is disabled and uncore P-state is fixed. "0" enables APM to control uncore P-state based on power consumption. Default is "0".
Chipselect Interleaving
This BIOS switch allows 3 options: "Disabled", "Enabled", and "Auto". This feature enables or disables interleaving memory blocks across the DRAM chip selects for node 0. "Auto" enables system to determine if DIMMs are capable of supporting the feature and select the proper settings. "Enabled" or "Disabled" overrides certain optimization policies. Default is "Auto".
Determinism Slider
This BIOS switch allows 2 options: "Power", and "Performance". This feature is for the determinism to control performance. "Perforomance" setting uses default values for deterministic performance control. "Power" setting provides predicable performance across all processors of the same type. "Power" setting maximizes performance withing the power limits defined by "TDP Limit". Default is "Performance".
DF PState Frequency Optimizer
This BIOS switch allows 2 options: "Enabled" and "Disabled". This feature enables or disables DFPstate CCLK effective frequency optimizer. Default is "Disabled"
Fan Control
This BIOS switch allows 2 options: "Auto" and "Full". The default setting is "Auto", which allows the system to control the fan speed according to the system temperature. If "Full" is selected, the system runs fans at 100% speed and it mayimprove the system performance. But it increases the power consumption of the system.
L2 Stream HW Prefetcher
This BIOS switch allows 2 options: "Disabled", "Enabled, and "Auto". This feature allows enabling or disabling of L2 Stream HW Prefetcher. Default is "Auto".
NUMA nodes per socket
This BIOS switch allows 4 options: "NPS0", "NPS1", "NPS2", and "NPS4". This feature specifies the number of desired NUMA nodes per populated socket in the system: Default is "NPS1".
Probe Filter Organization
This BIOS switch allows 3 options: "Auto", "Dedicated", and "Shared". This feature specifies whether multiple memory channels will share ("Shared") probe filter storage or not ("Dedicated"). For memory sizes of 16 TB or larger, this feature is automatically set to "Shared". "Auto" selects the optimized setting in the configuration. Default is "Dedicated".
Package Power Limit Control
This BIOS switch allows 2 options: "Manual" and "Auto". This feature enables or disables user to specify "Package Power Limit" "Auto" uses the fused values. "Manual" enables user to configure customized values in "Package Power Limit" switch. Default is "Auto".
Package Power Limit
This BIOS switch specifies the maximum power that each CPU package may consume in the system. The actual power limit is the maximum of the Package Power Limit and "TDP Limit".
Periodic Directory Rinse (PDR) Tuning
This BIOS switch allows 5 options: "Memory-Sensitive", "Cache-Bound", "Neutral", "Adaptive", and "Auto". It controls Periodic Directory Rinse which may help manage directory capacity more efficiently and may improve performance in specific scenarios. Default is "Auto".
Power Profile Selection
This BIOS switch allows 3 options: "High Performance Mode", "Efficinecy Mode", and "Maximum IO Performance Mode". This feature select DF Pstate based on each profile policy. Default is "Efficinecy Mode".
SMT Control
This BIOS switch allows 2 options: "Enabled" and "Disabled". This feature allows enabling or disabling of symmetric multithreading on processors. When enabled ("Enabled"), each physical processor core operates as two logical processor cores. When disabled ("Disabled"), each physical core operates as only one logical processor core. "Enabled" can improve overall performance for applications that benefit from a higher processor core count. Default is "Enabled".
TDP Control
This BIOS switch allows 2 options: "Manual" and "Auto". This feature enables or disables user to specify "TDP Limit". "Auto" uses the fused values. "Manual" enables user to configure customized values in "TDP Limit" switch. Default is "Auto".
TDP Limit
This BIOS switch specifies the maximum power that the CPU will consume, up to the platform power limit. Valid values vary by CPU model. If value outside the valid range is set, the CPU will automatically adjust the value so that it does fall within the valid range. When increasing TDP Limit, additional power will only be consumed up to the Package Power Limit, which may be less than the TDP Limit setting.
ModelMinimum TDPMaximum TDP
EPYC 9754320400
EPYC 9654320400
EPYC 9654P320400
EPYC 9634240300
EPYC 9554320400
EPYC 9554P320400
EPYC 9534240300
EPYC 9454240300
EPYC 9454P240300
EPYC 9384X320400
EPYC 9354240300
EPYC 9354P240300
EPYC 9334200240
EPYC 9274F320400
EPYC 9254200240
EPYC 9224200240
EPYC 9184X320400
EPYC 9174F320400
EPYC 9124200240

Flag description origin markings:

[user] Indicates that the flag description came from the user flags file.
[suite] Indicates that the flag description came from the suite-wide flags file.
[benchmark] Indicates that the flag description came from a per-benchmark flags file.

The flags files that were used to format this result can be browsed at
http://www.spec.org/cpu2017/flags/aocc400-flags.html,
http://www.spec.org/cpu2017/flags/Fujitsu-Platform-Settings-V1.0-Genoa-RevD.html.

You can also download the XML flags sources by saving the following links:
http://www.spec.org/cpu2017/flags/aocc400-flags.xml,
http://www.spec.org/cpu2017/flags/Fujitsu-Platform-Settings-V1.0-Genoa-RevD.xml.


For questions about the meanings of these flags, please contact the tester.
For other inquiries, please contact info@spec.org
Copyright 2017-2024 Standard Performance Evaluation Corporation
Tested with SPEC CPU2017 v1.1.9.
Report generated on 2024-09-04 10:48:35 by SPEC CPU2017 flags formatter v5178.