# Invocation command line:
# /home/cpu2017/bin/harness/runcpu --configfile amd_rate_aocc400_genoa_B1.cfg --tune all --reportable --iterations 3 --nopower --runmode rate --tune base:peak --size test:train:refrate fprate
# output_root was not used for this run
############################################################################
################################################################################
# AMD AOCC 400 SPEC CPU 2017 V1.1.8 Rate Configuration File for 64-bit Linux
#
#      File name                : amd_rate_aocc400_genoa_B1.cfg
#      Creation Date            : October 6, 2022
#      CPU 2017 Version         : 1.1.8
#      Supported benchmarks     : All Rate benchmarks (intrate, fprate)
#      Compiler name/version    : AOCC 4.0.0
#      Operating system version : RHEL 8.6
#      Supported OS's           : SLE 15 SP4, Ubuntu 22.04, RHEL 9.0, RHEL 8.6
#      Hardware                 : AMD Genoa (AMD64)
#      FP Base Pointer Size     : 64-bit
#      FP Peak Pointer Size     : 64-bit
#      INT Base Pointer Size    : 64-bit
#      INT Peak Pointer Size    : 32/64-bit
#      Auto Parallelization     : No
#
# Note: DO NOT EDIT THIS FILE, the only edits required to properly run these
# binaries are made in the ini Python file.  Please consult Readme.amd_rate_aocc400_genoa_B1.txt
# for a few uncommon exceptions which require edits to this file.
#
# Description:
#
# This binary package automates away many of the complexities necessary to set
# up and run SPEC CPU 2017 under optimized conditions on AMD Genoa-based
# server platforms within Linux (AMD64).
#
# The binary package was built specifically for AMD Genoa microprocessors and
# is not intended to run on other products.
#
# Please install the binary package by following the instructions in
# "Readme.amd_rate_aocc400_genoa_B1.txt" under the "How To Use the Binaries" section.
#
# The binary package is designed to work without alteration on two socket AMD
# Genoa-based servers with 96 cores per socket, SMT enabled and 1.5 TiB of DDR5
# memory distributed evenly among all 24 channels using 64 GiB DIMMs.
#
# To run the binary package on other Genoa configurations, please review
# "Readme.amd_rate_aocc400_genoa_B1.txt". In general, Genoa CPUs
# should be autodetected with no action required by the user.
#
# In most cases, it should be unnecessary to edit "amd_rate_aocc400_genoa_B1.cfg" or any
# other file besides "ini_amd_rate_aocc400_genoa_B1.py" where reporting fields
# and run conditions are set.
#
# The run script automatically sets the optimal number of rate copies and binds
# them appropriately.
#
# The run script and accompanying binary package are designed to work on Ubuntu
# 22.04.
#
# Important! If you write your own run script, please set the stack size to
# "unlimited" when executing this binary package.  Failure to do so may cause
# some benchmarks to overflow the stack.  For example, to set stack size within
# the bash shell, include the following line somewhere at the top of your run
# script before the runcpu invocation:
#
#      ulimit -s unlimited
#
# Modification of this config file should only be necessary if you intend to
# rebuild the binaries.  General instructions for rebuilding the binaries are
# found in-line below.
#
################################################################################
# Modifiable macros:
################################################################################
# "allow_build"" switch:
# Change the following line to true if you intend to REBUILD the binaries (AMD
# does not support this). Valid values are "true" or "false" (no quotes).
%define allow_build false
# Only change these macros if you are rebuilding the binary package:
%define compiler_name aocc400
%define binary_package_name amd_rate_%{compiler_name}_genoa_B
%define binary_package_ext %{binary_package_name}
%define binary_package_revision 1
%define build_path /home/work/cpu2017/v118/aocc4/b1/rate
%define flags_file_name %{compiler_name}-flags.xml
# Do NOT change build_lib_dir after the build or it will trigger a
# rebuild of the xalanc. It should also remain literal:
%define build_lib_dir %{binary_package_name}_lib
# To enable the platform file, be sure to uncomment the flagsurl02 header line
# below in the Header settings.
%define platform_file_name INVALID_platform_%{binary_package_name}.xml
################################################################################
# You should never have to change binary_package_full_name:
%define binary_package_full_name %{binary_package_name}%{binary_package_revision}

################################################################################
# Include file names
################################################################################
# The include file contains fields that are commonly changed. This file is auto-
# generated based upon INI file settings and should not need user modification
# for runs. The flags include file contains all of the compiler flags.

%define inc_file_name %{binary_package_full_name}.inc
%define flags_inc_file_name %{binary_package_full_name}_flags.inc

# Binary label extension:
# Only modify the binary label extension if you plan to rebuild the binaries.
# If you plan to recompile these CPU 2017 binaries, please choose a new extension
# name below to avoid confusion with the current binary set on your system
# under test, and to avoid confusion for SPEC submission reviewers.  You will
# also need to set "allow_build" to true above. Finally, you must modify the
# Paths section below to point to your library locations if the paths are not
# already set up in your build environment.
# Note that AMD calls an external script to set up the compiler and library
# paths before initiating the build.

%define ext %{binary_package_ext}

################################################################################
# Paths and Environment Variables
# ** MODIFY AS NEEDED (modification should not be necessary for runs) **
################################################################################
# Allow environment variables to be set before runs:
preenv                   = 1

# Necessary to avoid out-of-memory exceptions on certain SUTs:
preENV_MALLOC_CONF       = retain:true

# Define the name of the directory that holds AMD library files:
%define lib_dir %{binary_package_name}_lib


# Set the shared object library path for runs and builds:
preENV_LD_LIBRARY_PATH   = $[top]/%{lib_dir}/lib:$[top]/%{lib_dir}/lib32:%{ENV_LD_LIBRARY_PATH}
# Define 32-bit library build paths:
# Do NOT use $[top] with the 32-bit libraries because doing so will cause an
# options checksum error triggering a xalanc recompile attempt on SUTs having
# different file paths.
# Do NOT change build_lib_dir after the build or it will also trigger a
# rebuild of the xalanc:
AMDALLOC_LIB32_PATH      = %{build_path}/%{build_lib_dir}/lib32
%if '%{allow_build}' eq 'false'
  # The include file is only needed for runs, but not for builds.
#  include: %{inc_file_name}
#  ----- Begin inclusion of 'amd_rate_aocc400_genoa_B1.inc'
############################################################################
################################################################################
################################################################################
# File name: amd_rate_aocc400_genoa_B1.inc
# File generation code date: September 23, 2022
# File generation date/time: February 22, 2023 / 09:16:19
#
# This file is automatically generated during a SPEC CPU2017 run.
#
# To modify inc file generation, please consult the readme file or the run
# script.
################################################################################
################################################################################

################################################################################
################################################################################
# The following macros are generated for use in the cfg file.
################################################################################
################################################################################

%define logical_core_count 96
%define physical_core_count 48

################################################################################
# The following inc blocks set the rate copy counts and affinity settings.
#
# intrate benchmarks: 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
# fpspeed benchmarks: 503.bwaves_r,507.cactuBSSN_r,519.lbm_r,521.wrf_r,
#   527.cam4_r,538.imagick_r,544.nab_r,549.fotonik3d_r,554.roms_r
#
# Selected copy counts from '9454p' section of CPU info
################################################################################
# default copy counts:
default:
copies                  = 96
# Bind commands for assigning affinity:
bind0            = numactl --localalloc --physcpubind=0
bind1            = numactl --localalloc --physcpubind=1
bind2            = numactl --localalloc --physcpubind=2
bind3            = numactl --localalloc --physcpubind=3
bind4            = numactl --localalloc --physcpubind=4
bind5            = numactl --localalloc --physcpubind=5
bind6            = numactl --localalloc --physcpubind=6
bind7            = numactl --localalloc --physcpubind=7
bind8            = numactl --localalloc --physcpubind=8
bind9            = numactl --localalloc --physcpubind=9
bind10            = numactl --localalloc --physcpubind=10
bind11            = numactl --localalloc --physcpubind=11
bind12            = numactl --localalloc --physcpubind=12
bind13            = numactl --localalloc --physcpubind=13
bind14            = numactl --localalloc --physcpubind=14
bind15            = numactl --localalloc --physcpubind=15
bind16            = numactl --localalloc --physcpubind=16
bind17            = numactl --localalloc --physcpubind=17
bind18            = numactl --localalloc --physcpubind=18
bind19            = numactl --localalloc --physcpubind=19
bind20            = numactl --localalloc --physcpubind=20
bind21            = numactl --localalloc --physcpubind=21
bind22            = numactl --localalloc --physcpubind=22
bind23            = numactl --localalloc --physcpubind=23
bind24            = numactl --localalloc --physcpubind=24
bind25            = numactl --localalloc --physcpubind=25
bind26            = numactl --localalloc --physcpubind=26
bind27            = numactl --localalloc --physcpubind=27
bind28            = numactl --localalloc --physcpubind=28
bind29            = numactl --localalloc --physcpubind=29
bind30            = numactl --localalloc --physcpubind=30
bind31            = numactl --localalloc --physcpubind=31
bind32            = numactl --localalloc --physcpubind=32
bind33            = numactl --localalloc --physcpubind=33
bind34            = numactl --localalloc --physcpubind=34
bind35            = numactl --localalloc --physcpubind=35
bind36            = numactl --localalloc --physcpubind=36
bind37            = numactl --localalloc --physcpubind=37
bind38            = numactl --localalloc --physcpubind=38
bind39            = numactl --localalloc --physcpubind=39
bind40            = numactl --localalloc --physcpubind=40
bind41            = numactl --localalloc --physcpubind=41
bind42            = numactl --localalloc --physcpubind=42
bind43            = numactl --localalloc --physcpubind=43
bind44            = numactl --localalloc --physcpubind=44
bind45            = numactl --localalloc --physcpubind=45
bind46            = numactl --localalloc --physcpubind=46
bind47            = numactl --localalloc --physcpubind=47
bind48            = numactl --localalloc --physcpubind=48
bind49            = numactl --localalloc --physcpubind=49
bind50            = numactl --localalloc --physcpubind=50
bind51            = numactl --localalloc --physcpubind=51
bind52            = numactl --localalloc --physcpubind=52
bind53            = numactl --localalloc --physcpubind=53
bind54            = numactl --localalloc --physcpubind=54
bind55            = numactl --localalloc --physcpubind=55
bind56            = numactl --localalloc --physcpubind=56
bind57            = numactl --localalloc --physcpubind=57
bind58            = numactl --localalloc --physcpubind=58
bind59            = numactl --localalloc --physcpubind=59
bind60            = numactl --localalloc --physcpubind=60
bind61            = numactl --localalloc --physcpubind=61
bind62            = numactl --localalloc --physcpubind=62
bind63            = numactl --localalloc --physcpubind=63
bind64            = numactl --localalloc --physcpubind=64
bind65            = numactl --localalloc --physcpubind=65
bind66            = numactl --localalloc --physcpubind=66
bind67            = numactl --localalloc --physcpubind=67
bind68            = numactl --localalloc --physcpubind=68
bind69            = numactl --localalloc --physcpubind=69
bind70            = numactl --localalloc --physcpubind=70
bind71            = numactl --localalloc --physcpubind=71
bind72            = numactl --localalloc --physcpubind=72
bind73            = numactl --localalloc --physcpubind=73
bind74            = numactl --localalloc --physcpubind=74
bind75            = numactl --localalloc --physcpubind=75
bind76            = numactl --localalloc --physcpubind=76
bind77            = numactl --localalloc --physcpubind=77
bind78            = numactl --localalloc --physcpubind=78
bind79            = numactl --localalloc --physcpubind=79
bind80            = numactl --localalloc --physcpubind=80
bind81            = numactl --localalloc --physcpubind=81
bind82            = numactl --localalloc --physcpubind=82
bind83            = numactl --localalloc --physcpubind=83
bind84            = numactl --localalloc --physcpubind=84
bind85            = numactl --localalloc --physcpubind=85
bind86            = numactl --localalloc --physcpubind=86
bind87            = numactl --localalloc --physcpubind=87
bind88            = numactl --localalloc --physcpubind=88
bind89            = numactl --localalloc --physcpubind=89
bind90            = numactl --localalloc --physcpubind=90
bind91            = numactl --localalloc --physcpubind=91
bind92            = numactl --localalloc --physcpubind=92
bind93            = numactl --localalloc --physcpubind=93
bind94            = numactl --localalloc --physcpubind=94
bind95            = numactl --localalloc --physcpubind=95
submit = echo "$command" > run.sh ; $BIND bash run.sh
################################################################################
################################################################################
# fprate copy counts:
fprate:
copies                  = 96
# Bind commands for assigning affinity:
bind0            = numactl --localalloc --physcpubind=0
bind1            = numactl --localalloc --physcpubind=1
bind2            = numactl --localalloc --physcpubind=2
bind3            = numactl --localalloc --physcpubind=3
bind4            = numactl --localalloc --physcpubind=4
bind5            = numactl --localalloc --physcpubind=5
bind6            = numactl --localalloc --physcpubind=6
bind7            = numactl --localalloc --physcpubind=7
bind8            = numactl --localalloc --physcpubind=8
bind9            = numactl --localalloc --physcpubind=9
bind10            = numactl --localalloc --physcpubind=10
bind11            = numactl --localalloc --physcpubind=11
bind12            = numactl --localalloc --physcpubind=12
bind13            = numactl --localalloc --physcpubind=13
bind14            = numactl --localalloc --physcpubind=14
bind15            = numactl --localalloc --physcpubind=15
bind16            = numactl --localalloc --physcpubind=16
bind17            = numactl --localalloc --physcpubind=17
bind18            = numactl --localalloc --physcpubind=18
bind19            = numactl --localalloc --physcpubind=19
bind20            = numactl --localalloc --physcpubind=20
bind21            = numactl --localalloc --physcpubind=21
bind22            = numactl --localalloc --physcpubind=22
bind23            = numactl --localalloc --physcpubind=23
bind24            = numactl --localalloc --physcpubind=24
bind25            = numactl --localalloc --physcpubind=25
bind26            = numactl --localalloc --physcpubind=26
bind27            = numactl --localalloc --physcpubind=27
bind28            = numactl --localalloc --physcpubind=28
bind29            = numactl --localalloc --physcpubind=29
bind30            = numactl --localalloc --physcpubind=30
bind31            = numactl --localalloc --physcpubind=31
bind32            = numactl --localalloc --physcpubind=32
bind33            = numactl --localalloc --physcpubind=33
bind34            = numactl --localalloc --physcpubind=34
bind35            = numactl --localalloc --physcpubind=35
bind36            = numactl --localalloc --physcpubind=36
bind37            = numactl --localalloc --physcpubind=37
bind38            = numactl --localalloc --physcpubind=38
bind39            = numactl --localalloc --physcpubind=39
bind40            = numactl --localalloc --physcpubind=40
bind41            = numactl --localalloc --physcpubind=41
bind42            = numactl --localalloc --physcpubind=42
bind43            = numactl --localalloc --physcpubind=43
bind44            = numactl --localalloc --physcpubind=44
bind45            = numactl --localalloc --physcpubind=45
bind46            = numactl --localalloc --physcpubind=46
bind47            = numactl --localalloc --physcpubind=47
bind48            = numactl --localalloc --physcpubind=48
bind49            = numactl --localalloc --physcpubind=49
bind50            = numactl --localalloc --physcpubind=50
bind51            = numactl --localalloc --physcpubind=51
bind52            = numactl --localalloc --physcpubind=52
bind53            = numactl --localalloc --physcpubind=53
bind54            = numactl --localalloc --physcpubind=54
bind55            = numactl --localalloc --physcpubind=55
bind56            = numactl --localalloc --physcpubind=56
bind57            = numactl --localalloc --physcpubind=57
bind58            = numactl --localalloc --physcpubind=58
bind59            = numactl --localalloc --physcpubind=59
bind60            = numactl --localalloc --physcpubind=60
bind61            = numactl --localalloc --physcpubind=61
bind62            = numactl --localalloc --physcpubind=62
bind63            = numactl --localalloc --physcpubind=63
bind64            = numactl --localalloc --physcpubind=64
bind65            = numactl --localalloc --physcpubind=65
bind66            = numactl --localalloc --physcpubind=66
bind67            = numactl --localalloc --physcpubind=67
bind68            = numactl --localalloc --physcpubind=68
bind69            = numactl --localalloc --physcpubind=69
bind70            = numactl --localalloc --physcpubind=70
bind71            = numactl --localalloc --physcpubind=71
bind72            = numactl --localalloc --physcpubind=72
bind73            = numactl --localalloc --physcpubind=73
bind74            = numactl --localalloc --physcpubind=74
bind75            = numactl --localalloc --physcpubind=75
bind76            = numactl --localalloc --physcpubind=76
bind77            = numactl --localalloc --physcpubind=77
bind78            = numactl --localalloc --physcpubind=78
bind79            = numactl --localalloc --physcpubind=79
bind80            = numactl --localalloc --physcpubind=80
bind81            = numactl --localalloc --physcpubind=81
bind82            = numactl --localalloc --physcpubind=82
bind83            = numactl --localalloc --physcpubind=83
bind84            = numactl --localalloc --physcpubind=84
bind85            = numactl --localalloc --physcpubind=85
bind86            = numactl --localalloc --physcpubind=86
bind87            = numactl --localalloc --physcpubind=87
bind88            = numactl --localalloc --physcpubind=88
bind89            = numactl --localalloc --physcpubind=89
bind90            = numactl --localalloc --physcpubind=90
bind91            = numactl --localalloc --physcpubind=91
bind92            = numactl --localalloc --physcpubind=92
bind93            = numactl --localalloc --physcpubind=93
bind94            = numactl --localalloc --physcpubind=94
bind95            = numactl --localalloc --physcpubind=95
submit = echo "$command" > run.sh ; $BIND bash run.sh
################################################################################
################################################################################
# peak copy counts: 24
503.bwaves_r=peak:
copies                  = 24
# Bind commands for assigning affinity:
bind0            = numactl --localalloc --physcpubind=0
bind1            = numactl --localalloc --physcpubind=2
bind2            = numactl --localalloc --physcpubind=4
bind3            = numactl --localalloc --physcpubind=6
bind4            = numactl --localalloc --physcpubind=8
bind5            = numactl --localalloc --physcpubind=10
bind6            = numactl --localalloc --physcpubind=12
bind7            = numactl --localalloc --physcpubind=14
bind8            = numactl --localalloc --physcpubind=16
bind9            = numactl --localalloc --physcpubind=18
bind10            = numactl --localalloc --physcpubind=20
bind11            = numactl --localalloc --physcpubind=22
bind12            = numactl --localalloc --physcpubind=24
bind13            = numactl --localalloc --physcpubind=26
bind14            = numactl --localalloc --physcpubind=28
bind15            = numactl --localalloc --physcpubind=30
bind16            = numactl --localalloc --physcpubind=32
bind17            = numactl --localalloc --physcpubind=34
bind18            = numactl --localalloc --physcpubind=36
bind19            = numactl --localalloc --physcpubind=38
bind20            = numactl --localalloc --physcpubind=40
bind21            = numactl --localalloc --physcpubind=42
bind22            = numactl --localalloc --physcpubind=44
bind23            = numactl --localalloc --physcpubind=46
submit = echo "$command" > run.sh ; $BIND bash run.sh
################################################################################
# Switch back to the default block after the include file:

default:
################################################################################
################################################################################

################################################################################
################################################################################
# The remainder of this file defines CPU2017 report parameters.
################################################################################
################################################################################
################################################################################
# SPEC CPU 2017 report header
################################################################################
license_num              =001176 # (Your SPEC license number)
tester                   =Supermicro
test_sponsor             =Supermicro
hw_vendor                =Supermicro
hw_model000              =A+ Server 2115GT-HNTF
hw_model001              =(H13SST-G , AMD EPYC 9454P)
#--------- If you install new compilers, edit this section --------------------
sw_compiler              =C/C++/Fortran: Version 4.0.0 of AOCC
################################################################################

################################################################################
# Hardware, firmware and software information
################################################################################
hw_avail                 =Nov-2022
sw_avail                 =Jan-2023
hw_cpu_name              =AMD EPYC 9454P
hw_cpu_nominal_mhz       =2750
hw_cpu_max_mhz           =3800
hw_ncores                =48
hw_nthreadspercore       =2
hw_ncpuorder             =1 chip

hw_other                 =None                  # Other perf-relevant hw, or "None"
fw_bios                  =Version 1.1 released Jan-2023
sw_base_ptrsize          =64-bit
hw_pcache                =32 KB I + 32 KB D on chip per core
hw_scache                =1 MB I+D on chip per core
hw_tcache000             =256 MB I+D on chip per chip, 32 MB shared / 6
hw_tcache001 = cores
hw_ocache                =None
sw_other                 =None

################################################################################
# Notes
################################################################################



# Enter notes_000 through notes_100 here.
notes_000                =Binaries were compiled on a system with 2x AMD EPYC 9174F CPU + 1.5TiB Memory using RHEL 8.6


notes_005                =
notes_010                =NA: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Meltdown)
notes_015                =is mitigated in the system as tested and documented.
notes_020                =Yes: The test sponsor attests, as of date of publication, that CVE-2017-5753 (Spectre variant 1)
notes_025                =is mitigated in the system as tested and documented.
notes_030                =Yes: The test sponsor attests, as of date of publication, that CVE-2017-5715 (Spectre variant 2)
notes_035                =is mitigated in the system as tested and documented.
notes_040                =


notes_submit_000         ='numactl' was used to bind copies to the cores.
notes_submit_005         =See the configuration file for details.
notes_submit_010         =


notes_os_000             ='ulimit -s unlimited' was used to set environment stack size limit
notes_os_005             ='ulimit -l 2097152' was used to set environment locked pages in memory limit
notes_os_010             =
notes_os_015             =runcpu command invoked through numactl i.e.:
notes_os_020             =numactl --interleave=all runcpu <etc>
notes_os_025             =
notes_os_030             =To limit dirty cache to 8% of memory, 'sysctl -w vm.dirty_ratio=8' run as root.
notes_os_035             =To limit swap usage to minimum necessary, 'sysctl -w vm.swappiness=1' run as root.
notes_os_040             =To free node-local memory and avoid remote memory usage,
notes_os_045             ='sysctl -w vm.zone_reclaim_mode=1' run as root.
notes_os_050             =To clear filesystem caches, 'sync; sysctl -w vm.drop_caches=3' run as root.
notes_os_055             =To disable address space layout randomization (ASLR) to reduce run-to-run
notes_os_060             =variability, 'sysctl -w kernel.randomize_va_space=0' run as root.
notes_os_065             =


notes_comp_000           =The AMD64 AOCC Compiler Suite is available at
notes_comp_005           =http://developer.amd.com/amd-aocc/
notes_comp_010           =
# notes_jemalloc_000       =jemalloc: configured and built with GCC v4.8.2 in RHEL 7.4 (No options specified)
# notes_jemalloc_005       =jemalloc 5.1.0 is available here:
# notes_jemalloc_010       =https://github.com/jemalloc/jemalloc/releases/download/5.1.0/jemalloc-5.1.0.tar.bz2
# notes_jemalloc_015       =
# sw_other000              =jemalloc: jemalloc memory allocator library v5.1.0

################################################################################
# The following note fields describe platorm settings.
################################################################################

# example: (edit and uncomment as necessary)
# notes_plat_000 =BIOS settings:
# notes_plat_002 = TDP: 400
# notes_plat_004 = Determinism Slider set to Power
# notes_plat_006 = PPT: 400
# notes_plat_010 = NPS: 4
# notes_plat_011 = Workload Profile = CPU Intensive
# notes_plat_012 = TSME = Disabled
# notes_plat_014 = SEV Control = Disabled
# notes_plat_015 = Fan Speed: Maximum


################################################################################
# The following are custom fields:
################################################################################

# Use custom_fields to enter lines that are not listed here. For example:
# notes_plat_100         = Energy Bias set to Max Performance
# new_field              = Ambient temperature set to 10C


################################################################################
# The following fields must be set here for only Int benchmarks.
################################################################################
intrate:

sw_peak_ptrsize          =32/64-bit

notes_os_thp_000         =To enable Transparent Hugepages (THP) only on request for base runs,
notes_os_thp_001         ='echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' run as root.
notes_os_thp_002         =To enable THP for all allocations for peak runs,
notes_os_thp_003         ='echo always > /sys/kernel/mm/transparent_hugepage/enabled' and
notes_os_thp_004         ='echo always > /sys/kernel/mm/transparent_hugepage/defrag' run as root.
notes_os_thp_005         =


################################################################################
# The following fields must be set here for FP benchmarks.
################################################################################
fprate:

sw_peak_ptrsize          =64-bit

notes_os_thp_000         =To enable Transparent Hugepages (THP) for all allocations,
notes_os_thp_005         ='echo always > /sys/kernel/mm/transparent_hugepage/enabled' and
notes_os_thp_010         ='echo always > /sys/kernel/mm/transparent_hugepage/defrag' run as root.
notes_os_thp_015         =


################################################################################
# The following fields must be set here or they will be overwritten by sysinfo.
################################################################################

intrate,fprate:
hw_disk                  =1 x 1.92 TB SATA III SSD
hw_memory                =1152 GB (12 x 96 GB 2Rx4 PC5-4800B-R)

hw_nchips                =1
prepared_by              =Supermicro
sw_file                  =ext4
sw_os000                 =Ubuntu 22.04.1 LTS
sw_os001                 =Kernel 5.15.0-58-generic
sw_state                 =Run level 3 (multi-user)

################################################################################
# End of inc file
################################################################################
# Switch back to the default block after the include file:

default:

# ---- End inclusion of '/home/cpu2017/config/amd_rate_aocc400_genoa_B1.inc'
  # Switch back to default block after the include file:
default:
  fail_build             = 0 # FIX THIS SO THAT CHECKSUMS WILL BE ENFORCED!
%elif '%{allow_build}' eq 'true'
  # If you intend to rebuild, be sure to set the library paths either in the
  # build script or here:
  preENV_LIBRARY_PATH   = $[top]/%{build_lib_dir}/lib:$[top]/%{build_lib_dir}/lib32:%{ENV_LIBRARY_PATH}
% define build_ncpus 64    # controls number of simultaneous compiles
  fail_build             = 0
  makeflags              = --jobs=%{build_ncpus} --load-average=%{build_ncpus}
%else
% error The value of "allow_build" is %{allow_build}, but it can only be "true" or "false". This error was generated
%endif


################################################################################
# Enable automated data collection per benchmark
################################################################################
# Data collection is not enabled for reportable runs.

# teeout is necessary to get data collection stdout into the logs. Best
# practices for the individual data collection items would be to have
# them store important output in separate files.  Filenames could be
# constructed from $SPEC (environment), $lognum (result number from runcpu),
# and benchmark name/number.
teeout = yes

# Run runcpu with '-v 35' (or greater) to log lists of variables which can
# be used in substitutions as below.
# For CPU2006, change $label to $ext
%define data-collection-parameters benchname='$name' benchnum='$num' benchmark='$benchmark' iteration=$iter size='$size' tune='$tune' label='$label' log='$log' lognum='$lognum' from_runcpu='$from_runcpu'
%define data-collection-start $[top]/data-collection/data-collection start %{data-collection-parameters}
%define data-collection-stop  $[top]/data-collection/data-collection stop %{data-collection-parameters}
monitor_specrun_wrapper = %{data-collection-start} ; $command ; %{data-collection-stop}


################################################################################
# Header settings
################################################################################
backup_config            = 0 # set to 0 if you do not want backup files
bench_post_setup         = sync
# command_add_redirect: If set, the generated ${command} will include
# redirection operators (stdout, stderr), which are passed along to the shell
# that executes the command. If this variable is not set, specinvoke does the
# redirection.
command_add_redirect     = yes
env_vars                 = yes
flagsurl000              = http://www.spec.org/cpu2017/flags/aocc400-flags.xml
flagsurl001 = http://www.spec.org/cpu2017/flags/Supermicro-Platform-Settings-V1.2-Genoa-revB.xml
#flagsurl02              = $[top]/%{platform_file_name}
# label: User defined extension string that tags your binaries & directories:
label                    = %{ext}
line_width               = 1020
log_line_width           = 1020
mean_anyway              = yes
output_format            = all
reportable               = yes
size                     = test,train,ref
teeout                   = yes
teerunout                = yes
tune                     = base,peak

################################################################################
# Include the flags file:
################################################################################

#include: %{flags_inc_file_name}
#  ----- Begin inclusion of 'amd_rate_aocc400_genoa_B1_flags.inc'
############################################################################
################################################################################
# AMD AOCC 4.0.0 SPEC CPU2017 V1.1.8 Rate Configuration Flags for AMD64 Linux
################################################################################
# Compilers
################################################################################

default:

CC                       = clang -m64
CXX                      = clang++ -m64
FC                       = flang -m64
CLD                      = clang -m64
CXXLD                    = clang++ -m64
FLD                      = flang -m64
CC_VERSION_OPTION        = --version
CXX_VERSION_OPTION       = --version
FC_VERSION_OPTION        = --version


################################################################################
# Portability Flags
################################################################################
default:
# data model applies to all benchmarks
EXTRA_PORTABILITY        = -DSPEC_LP64

# *** Benchmark-specific portability ***
# Anything other than the data model is only allowed where a need is proven.
# (ordered by last 2 digits of benchmark number)

500.perlbench_r:  #lang='C'
PORTABILITY              = -DSPEC_LINUX_X64

521.wrf_r:  #lang='F,C'
CPORTABILITY             = -DSPEC_CASE_FLAG
FPORTABILITY             = -Mbyteswapio

523.xalancbmk_r:  #lang='CXX'
PORTABILITY              = -DSPEC_LINUX

526.blender_r:  #lang='CXX,C'
CPORTABILITY             = -funsigned-char

527.cam4_r:  #lang='F,C'
PORTABILITY              = -DSPEC_CASE_FLAG


################################################################################
# Default libraries and variables
################################################################################

default:
# Libraries:
EXTRA_LIBS               = -lamdalloc -lamdlibm -lm
MATHLIBOPT               = #clearing this variable or else SPEC will set it to -lm
VECMATHLIB               = -fveclib=AMDLIBM
# Variables:
OPT_ROOT                 = -march=znver4 $(VECMATHLIB) -ffast-math
OPT_ROOT_BASE            = -O3 $(OPT_ROOT)
OPT_ROOT_PEAK            = -Ofast $(OPT_ROOT) -flto #Ofast enables -ffast-math


###############################################################################
# AOCC 4.0.0 workarounds that do not count as PORTABILITY
################################################################################
# The workarounds in this section would not qualify under the SPEC CPU
# PORTABILITY rule.
#   - In peak, they can be set as needed for individual benchmarks.
#   - In base, individual settings are not allowed; set for whole suite.
# Use EXTRA_CFLAGS, EXTRA_CXXFLAGS, and EXTRA_FFLAGS for them.
#
# See:
#     https://www.spec.org/cpu2017/Docs/runrules.html#portability
#     https://www.spec.org/cpu2017/Docs/runrules.html#BaseFlags

#######################
# Default workarounds #
#######################

default:
# Allow unused compile/link arguments without triggering warnings during build:
EXTRA_CFLAGS             = -Wno-unused-command-line-argument
EXTRA_CXXFLAGS           = -Wno-unused-command-line-argument
EXTRA_FFLAGS             = -Wno-unused-command-line-argument
LDOPTIONS                = -Wno-unused-command-line-argument

####################
# Base workarounds #
####################
#
# *** NONE ***
#

##############################
# Integer workarounds - base #
##############################
#
intrate=base:
# The following is necessary for 502/602 gcc:
EXTRA_LDFLAGS            = -z muldefs

#########################
# FP workarounds - base #
#########################
#
# *** NONE ***
#

####################
# Peak workarounds #
####################
#
# *** NONE ***
#

##############################
# Integer workarounds - peak #
##############################

502.gcc_r=peak:  #lang='C'
EXTRA_CFLAGS             = -Wno-unused-command-line-argument \
                           -fgnu89-inline
EXTRA_LDFLAGS            = -z muldefs

#####################################
# Floating Point workarounds - peak #
#####################################
#
# *** NONE ***
#


################################################################################
# Tuning Flags
################################################################################

#####################
# Base tuning flags #
#####################

default=base:

COPTIMIZE                = $(OPT_ROOT_BASE) \
                           -flto \
                           -fstruct-layout=7 \
                           -mllvm -unroll-threshold=50 \
                           -mllvm -inline-threshold=1000 \
                           -fremap-arrays \
                           -fstrip-mining \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

CXXOPTIMIZE              = $(OPT_ROOT_BASE) \
                           -flto \
                           -mllvm -unroll-threshold=100\
                           -finline-aggressive \
                           -mllvm -loop-unswitch-threshold=200000 \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

FOPTIMIZE                = $(OPT_ROOT_BASE) \
                           -flto \
                           -Kieee \
                           -Mrecursive \
                           -funroll-loops \
                           -mllvm -lsr-in-nested-loop \
                           -mllvm -reduce-array-computations=3 \
                           -fepilog-vectorization-of-inductions \
                           -zopt


LDCXXFLAGS               = -Wl,-mllvm -Wl,-x86-use-vzeroupper=false

LDCFLAGS                 = -Wl,-mllvm -Wl,-ldist-scalar-expand \
                           -fenable-aggressive-gather

LDFLAGS                  = -flto \
                           -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6 \
                           -Wl,-mllvm -Wl,-reduce-array-computations=3

LDFFLAGS                 = -Wl,-mllvm -Wl,-enable-X86-prefetching

# Libraries:
EXTRA_LIBS               = -lamdlibm -lm -lamdalloc -lflang
EXTRA_FLIBS              =

# Don't put the AMD and mvec math libraries in MATH_LIBS because it will trigger a reporting issue
# because GCC won't use them. Forcefeed all benchmarks the math libraries in EXTRA_LIBS and clear
# out MATH_LIBS.
MATH_LIBS               =


########################
# intrate tuning flags #
########################

intrate:

FOPTIMIZE                = $(OPT_ROOT_BASE) \
                           -flto \
                           -fepilog-vectorization-of-inductions \
                           -mllvm -optimize-strided-mem-cost \
                           -floop-transform \
                           -mllvm -unroll-aggressive \
                           -mllvm -unroll-threshold=500

EXTRA_CXXOPTIMIZE        = -fvirtual-function-elimination \
                           -fvisibility=hidden


# LDCXXFLAGS is left empty as intrate CPP bmks have to use VZEROUPPER
# instruction which is the default.
LDCXXFLAGS               =

LDFFLAGS                 = -Wl,-mllvm -Wl,-inline-recursion=4 \
                           -Wl,-mllvm -Wl,-lsr-in-nested-loop \
                           -Wl,-mllvm -Wl,-enable-iv-split

# Libraries:

EXTRA_LIBS               = -lamdlibm -lm  -lflang
EXTRA_CLIBS              = -lamdalloc
EXTRA_CXXLIBS            = -lamdalloc-ext
EXTRA_FLIBS              = -lamdalloc

#####################
# Peak tuning flags #
#####################

default=peak:

COPTIMIZE                = $(OPT_ROOT_PEAK) \
                           -fstruct-layout=7 \
                           -mllvm -unroll-threshold=50 -fremap-arrays \
                           -fstrip-mining \
                           -mllvm -inline-threshold=1000 \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

CXXOPTIMIZE              = $(OPT_ROOT_PEAK) \
                           -finline-aggressive \
                           -mllvm -unroll-threshold=100 \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

FOPTIMIZE                = $(OPT_ROOT_PEAK) \
                           -Mrecursive \
                           -mllvm -reduce-array-computations=3 \
                           -fepilog-vectorization-of-inductions \
                           -zopt

LDFFLAGS                 = -Wl,-mllvm -Wl,-enable-X86-prefetching

LDFLAGS                  = -flto \
                           -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6 \
                           -Wl,-mllvm -Wl,-reduce-array-computations=3

LDCXXFLAGS               = -Wl,-mllvm -Wl,-x86-use-vzeroupper=false

feedback                 = 0
PASS1_CFLAGS             = -fprofile-instr-generate
PASS2_CFLAGS             = -fprofile-instr-use
PASS1_FFLAGS             = -fprofile-generate
PASS2_FFLAGS             = -fprofile-use
PASS1_CXXFLAGS           = -fprofile-instr-generate
PASS2_CXXFLAGS           = -fprofile-instr-use
PASS1_LDFLAGS            = -fprofile-instr-generate
PASS2_LDFLAGS            = -fprofile-instr-use
fdo_run1                 = $command ; llvm-profdata merge --output=default.profdata *.profraw

# Libraries:

EXTRA_LIBS               = -lamdlibm -lm -lamdalloc
EXTRA_FLIBS              = -lflang

# Benchmark specific peak tuning flags:

500.perlbench_r=peak:  #lang='C'
COPTIMIZE                = $(OPT_ROOT_PEAK) \
                           -fstruct-layout=7 \
                           -mllvm -unroll-threshold=50 \
                           -fremap-arrays \
                           -mllvm -inline-threshold=1000 \
                           -mllvm -reduce-array-computations=3 \
                           -faggressive-loop-transform \
                           -fvector-transform \
                           -fscalar-transform
feedback                 = 1

502.gcc_r=peak:  #lang='C'
EXTRA_PORTABILITY        = -D_FILE_OFFSET_BITS=64
CC                       = clang -m32
CLD                      = clang -m32 -L/usr/lib32
EXTRA_LIBS               = -L$[AMDALLOC_LIB32_PATH] -lamdalloc
MATHLIBOPT               = -lm
LDFLAGS                  = -flto

507.cactuBSSN_r=peak:
CXXOPTIMIZE              = $(OPT_ROOT_PEAK) \
                           -mllvm -unroll-threshold=100 \
                           -mllvm -loop-unswitch-threshold=200000 \
                           -finline-aggressive \
                           -mllvm -reduce-array-computations=3 \
                           -faggressive-loop-transform \
                           -fvector-transform \
                           -fscalar-transform

EXTRA_LIBS               += $(EXTRA_FLIBS) #adding flang libs to cxx linker

510.parest_r=peak:
LDFLAGS                  = -flto \
                           -Wl,-mllvm -Wl,-suppress-fmas

511.povray_r=peak:  #lang='CXX,C'
COPTIMIZE                = $(OPT_ROOT_BASE) \
                           -flto \
                           -fstruct-layout=7 \
                           -mllvm -unroll-threshold=50 \
                           -mllvm -inline-threshold=1000 \
                           -fremap-arrays \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

CXXOPTIMIZE              = $(OPT_ROOT_BASE) \
                           -flto \
                           -mllvm -unroll-threshold=100\
                           -finline-aggressive \
                           -mllvm -loop-unswitch-threshold=200000 \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

LDCXXFLAGS               = -Wl,-mllvm -Wl,-x86-use-vzeroupper=false

LDCFLAGS                 = -Wl,-mllvm -Wl,-ldist-scalar-expand \
                           -fenable-aggressive-gather

EXTRA_LIBS               = -lamdlibm -lm -lamdalloc

520.omnetpp_r=peak:  #lang='CXX`
EXTRA_LIBS               = -lamdlibm -lm -lamdalloc-ext

523.xalancbmk_r=peak:  #lang='CXX`
CXX                      = clang++ -m32
CXXLD                    = clang++ -m32 -L/usr/lib32
EXTRA_CXXOPTIMIZE        = -mllvm -do-block-reorder=aggressive \
                           -fvirtual-function-elimination \
                           -fvisibility=hidden
LDCXXFLAGS               = -Wl,-mllvm -Wl,-do-block-reorder=aggressive \
                           -fno-loop-reroll
EXTRA_LIBS               = -L$[AMDALLOC_LIB32_PATH] -lamdalloc-ext
ENV_MALLOC_CONF          = thp:never

525.x264_r=peak:  #lang='C'
basepeak                 = yes

527.cam4_r=peak:
COPTIMIZE                = $(OPT_ROOT_BASE) \
                           -flto \
                           -fstruct-layout=7 \
                           -mllvm -unroll-threshold=50 \
                           -mllvm -inline-threshold=1000 \
                           -fremap-arrays \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

FOPTIMIZE                = $(OPT_ROOT_BASE) \
                           -Kieee \
                           -Mrecursive \
                           -funroll-loops \
                           -mllvm -lsr-in-nested-loop \
                           -mllvm -reduce-array-computations=3 \
                           -fepilog-vectorization-of-inductions \
                           -zopt

LDCFLAGS                 = -Wl,-mllvm -Wl,-ldist-scalar-expand \
                           -fenable-aggressive-gather

LDFFLAGS                 = -Wl,-mllvm -Wl,-enable-X86-prefetching


531.deepsjeng_r=peak:  #lang='CXX'
CXXOPTIMIZE              = $(OPT_ROOT_BASE) \
                           -flto \
                           -mllvm -unroll-threshold=100\
                           -finline-aggressive \
                           -mllvm -loop-unswitch-threshold=200000 \
                           -mllvm -reduce-array-computations=3 \
                           -zopt

EXTRA_CXXOPTIMIZE        = -fvirtual-function-elimination \
                           -fvisibility=hidden

LDCXXFLAGS               =

EXTRA_LIBS               = -lamdlibm -lm
EXTRA_CXXLIBS            = -lamdalloc-ext


544.nab_r=peak:
LDFLAGS                  = -flto \
                           -Wl,-mllvm -Wl,-ldist-scalar-expand \
                           -fenable-aggressive-gather

549.fotonik3d_r=peak:
FOPTIMIZE                = $(OPT_ROOT_PEAK) \
                           -Kieee \
                           -Mrecursive \
                           -mllvm -reduce-array-computations=3 \
                           -fepilog-vectorization-of-inductions \
                           -fvector-transform \
                           -fscalar-transform

# ---- End inclusion of '/home/cpu2017/config/amd_rate_aocc400_genoa_B1_flags.inc'



# The following settings were obtained by running the sysinfo_program
# 'specperl $[top]/bin/sysinfo' (sysinfo:SHA:2eb381fc1a58eb8122e4a1b875c1e38b3489dac84088192aa0ec6d157b084d06)
default:
notes_plat_sysinfo_000 =
notes_plat_sysinfo_005 = Sysinfo program /home/cpu2017/bin/sysinfo
notes_plat_sysinfo_010 = Rev: r6732 of 2022-11-07 fe91c89b7ed5c36ae2c92cc097bec197
notes_plat_sysinfo_015 = running on h13sst-9454p Wed Feb 22 14:18:13 2023
notes_plat_sysinfo_020 =
notes_plat_sysinfo_025 = SUT (System Under Test) info as seen by some common utilities.
notes_plat_sysinfo_030 =
notes_plat_sysinfo_035 = ------------------------------------------------------------
notes_plat_sysinfo_040 = Table of contents
notes_plat_sysinfo_045 = ------------------------------------------------------------
notes_plat_sysinfo_050 =  1. uname -a
notes_plat_sysinfo_055 =  2. w
notes_plat_sysinfo_060 =  3. Username
notes_plat_sysinfo_065 =  4. ulimit -a
notes_plat_sysinfo_070 =  5. sysinfo process ancestry
notes_plat_sysinfo_075 =  6. /proc/cpuinfo
notes_plat_sysinfo_080 =  7. lscpu
notes_plat_sysinfo_085 =  8. numactl --hardware
notes_plat_sysinfo_090 =  9. /proc/meminfo
notes_plat_sysinfo_095 = 10. who -r
notes_plat_sysinfo_100 = 11. Systemd service manager version: systemd 249 (249.11-0ubuntu3.6)
notes_plat_sysinfo_105 = 12. Failed units, from systemctl list-units --state=failed
notes_plat_sysinfo_110 = 13. Services, from systemctl list-unit-files
notes_plat_sysinfo_115 = 14. Linux kernel boot-time arguments, from /proc/cmdline
notes_plat_sysinfo_120 = 15. cpupower frequency-info
notes_plat_sysinfo_125 = 16. sysctl
notes_plat_sysinfo_130 = 17. /sys/kernel/mm/transparent_hugepage
notes_plat_sysinfo_135 = 18. /sys/kernel/mm/transparent_hugepage/khugepaged
notes_plat_sysinfo_140 = 19. OS release
notes_plat_sysinfo_145 = 20. Disk information
notes_plat_sysinfo_150 = 21. /sys/devices/virtual/dmi/id
notes_plat_sysinfo_155 = 22. dmidecode
notes_plat_sysinfo_160 = 23. BIOS
notes_plat_sysinfo_165 = ------------------------------------------------------------
notes_plat_sysinfo_170 =
notes_plat_sysinfo_175 = ------------------------------------------------------------
notes_plat_sysinfo_180 = 1. uname -a
notes_plat_sysinfo_185 =   Linux h13sst-9454p 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64
notes_plat_sysinfo_190 =   GNU/Linux
notes_plat_sysinfo_195 =
notes_plat_sysinfo_200 = ------------------------------------------------------------
notes_plat_sysinfo_205 = 2. w
notes_plat_sysinfo_210 =    14:18:13 up  5:08,  2 users,  load average: 70.38, 89.70, 93.09
notes_plat_sysinfo_215 =   USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
notes_plat_sysinfo_220 =   lab      tty1     -                09:13    5:04m  1.91s  0.01s -bash
notes_plat_sysinfo_225 =   lab      pts/0    -                09:14    5:01m  1.15s  1.88s sudo su -
notes_plat_sysinfo_230 =
notes_plat_sysinfo_235 = ------------------------------------------------------------
notes_plat_sysinfo_240 = 3. Username
notes_plat_sysinfo_245 =   From environment variable $USER:  root
notes_plat_sysinfo_250 =   From the command 'logname':       lab
notes_plat_sysinfo_255 =
notes_plat_sysinfo_260 = ------------------------------------------------------------
notes_plat_sysinfo_265 = 4. ulimit -a
notes_plat_sysinfo_270 =   time(seconds)        unlimited
notes_plat_sysinfo_275 =   file(blocks)         unlimited
notes_plat_sysinfo_280 =   data(kbytes)         unlimited
notes_plat_sysinfo_285 =   stack(kbytes)        unlimited
notes_plat_sysinfo_290 =   coredump(blocks)     0
notes_plat_sysinfo_295 =   memory(kbytes)       unlimited
notes_plat_sysinfo_300 =   locked memory(kbytes) 2097152
notes_plat_sysinfo_305 =   process              4642712
notes_plat_sysinfo_310 =   nofiles              1024
notes_plat_sysinfo_315 =   vmemory(kbytes)      unlimited
notes_plat_sysinfo_320 =   locks                unlimited
notes_plat_sysinfo_325 =   rtprio               0
notes_plat_sysinfo_330 =
notes_plat_sysinfo_335 = ------------------------------------------------------------
notes_plat_sysinfo_340 = 5. sysinfo process ancestry
notes_plat_sysinfo_345 =  /sbin/init
notes_plat_sysinfo_350 =  /bin/login -p --
notes_plat_sysinfo_355 =  -bash
notes_plat_sysinfo_360 =  sudo su -
notes_plat_sysinfo_365 =  sudo su -
notes_plat_sysinfo_370 =  su -
notes_plat_sysinfo_375 =  -bash
notes_plat_sysinfo_380 =  python3 ./run_amd_rate_aocc400_genoa_B1.py
notes_plat_sysinfo_385 =  /bin/bash ./amd_rate_aocc400_genoa_B1.sh
notes_plat_sysinfo_390 =  runcpu --config amd_rate_aocc400_genoa_B1.cfg --tune all --reportable --iterations 3 fprate
notes_plat_sysinfo_395 =  runcpu --configfile amd_rate_aocc400_genoa_B1.cfg --tune all --reportable --iterations 3 --nopower --runmode
notes_plat_sysinfo_400 =    rate --tune base:peak --size test:train:refrate fprate --nopreenv --note-preenv --logfile
notes_plat_sysinfo_405 =    $SPEC/tmp/CPU2017.002/templogs/preenv.fprate.002.0.log --lognum 002.0 --from_runcpu 2
notes_plat_sysinfo_410 =  specperl $SPEC/bin/sysinfo
notes_plat_sysinfo_415 = $SPEC = /home/cpu2017
notes_plat_sysinfo_420 =
notes_plat_sysinfo_425 = ------------------------------------------------------------
notes_plat_sysinfo_430 = 6. /proc/cpuinfo
notes_plat_sysinfo_435 =     model name      : AMD EPYC 9454P 48-Core Processor
notes_plat_sysinfo_440 =     vendor_id       : AuthenticAMD
notes_plat_sysinfo_445 =     cpu family      : 25
notes_plat_sysinfo_450 =     model           : 17
notes_plat_sysinfo_455 =     stepping        : 1
notes_plat_sysinfo_460 =     microcode       : 0xa101111
notes_plat_sysinfo_465 =     bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
notes_plat_sysinfo_470 =     TLB size        : 3584 4K pages
notes_plat_sysinfo_475 =     cpu cores       : 48
notes_plat_sysinfo_480 =     siblings        : 96
notes_plat_sysinfo_485 =     1 physical ids (chips)
notes_plat_sysinfo_490 =     96 processors (hardware threads)
notes_plat_sysinfo_495 =     physical id 0: core ids 0-5,8-13,16-21,24-29,32-37,40-45,48-53,56-61
notes_plat_sysinfo_500 =     physical id 0: apicids 0-11,16-27,32-43,48-59,64-75,80-91,96-107,112-123
notes_plat_sysinfo_505 =   Caution: /proc/cpuinfo data regarding chips, cores, and threads is not necessarily reliable, especially for
notes_plat_sysinfo_510 =   virtualized systems.  Use the above data carefully.
notes_plat_sysinfo_515 =
notes_plat_sysinfo_520 = ------------------------------------------------------------
notes_plat_sysinfo_525 = 7. lscpu
notes_plat_sysinfo_530 =
notes_plat_sysinfo_535 = From lscpu from util-linux 2.37.2:
notes_plat_sysinfo_540 =   Architecture:                    x86_64
notes_plat_sysinfo_545 =   CPU op-mode(s):                  32-bit, 64-bit
notes_plat_sysinfo_550 =   Address sizes:                   52 bits physical, 57 bits virtual
notes_plat_sysinfo_555 =   Byte Order:                      Little Endian
notes_plat_sysinfo_560 =   CPU(s):                          96
notes_plat_sysinfo_565 =   On-line CPU(s) list:             0-95
notes_plat_sysinfo_570 =   Vendor ID:                       AuthenticAMD
notes_plat_sysinfo_575 =   Model name:                      AMD EPYC 9454P 48-Core Processor
notes_plat_sysinfo_580 =   CPU family:                      25
notes_plat_sysinfo_585 =   Model:                           17
notes_plat_sysinfo_590 =   Thread(s) per core:              2
notes_plat_sysinfo_595 =   Core(s) per socket:              48
notes_plat_sysinfo_600 =   Socket(s):                       1
notes_plat_sysinfo_605 =   Stepping:                        1
notes_plat_sysinfo_610 =   Frequency boost:                 enabled
notes_plat_sysinfo_615 =   CPU max MHz:                     3812.0000
notes_plat_sysinfo_620 =   CPU min MHz:                     400.0000
notes_plat_sysinfo_625 =   BogoMIPS:                        5499.72
notes_plat_sysinfo_630 =   Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
notes_plat_sysinfo_635 =                                    clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm
notes_plat_sysinfo_640 =                                    constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl
notes_plat_sysinfo_645 =                                    pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe
notes_plat_sysinfo_650 =                                    popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy
notes_plat_sysinfo_655 =                                    abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext
notes_plat_sysinfo_660 =                                    perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3
notes_plat_sysinfo_665 =                                    invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1
notes_plat_sysinfo_670 =                                    avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap
notes_plat_sysinfo_675 =                                    avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt
notes_plat_sysinfo_680 =                                    xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local
notes_plat_sysinfo_685 =                                    avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt
notes_plat_sysinfo_690 =                                    lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists
notes_plat_sysinfo_695 =                                    pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl avx512vbmi
notes_plat_sysinfo_700 =                                    umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg
notes_plat_sysinfo_705 =                                    avx512_vpopcntdq la57 rdpid overflow_recov succor smca fsrm flush_l1d
notes_plat_sysinfo_710 =   Virtualization:                  AMD-V
notes_plat_sysinfo_715 =   L1d cache:                       1.5 MiB (48 instances)
notes_plat_sysinfo_720 =   L1i cache:                       1.5 MiB (48 instances)
notes_plat_sysinfo_725 =   L2 cache:                        48 MiB (48 instances)
notes_plat_sysinfo_730 =   L3 cache:                        256 MiB (8 instances)
notes_plat_sysinfo_735 =   NUMA node(s):                    8
notes_plat_sysinfo_740 =   NUMA node0 CPU(s):               0-5,48-53
notes_plat_sysinfo_745 =   NUMA node1 CPU(s):               6-11,54-59
notes_plat_sysinfo_750 =   NUMA node2 CPU(s):               12-17,60-65
notes_plat_sysinfo_755 =   NUMA node3 CPU(s):               18-23,66-71
notes_plat_sysinfo_760 =   NUMA node4 CPU(s):               24-29,72-77
notes_plat_sysinfo_765 =   NUMA node5 CPU(s):               30-35,78-83
notes_plat_sysinfo_770 =   NUMA node6 CPU(s):               36-41,84-89
notes_plat_sysinfo_775 =   NUMA node7 CPU(s):               42-47,90-95
notes_plat_sysinfo_780 =   Vulnerability Itlb multihit:     Not affected
notes_plat_sysinfo_785 =   Vulnerability L1tf:              Not affected
notes_plat_sysinfo_790 =   Vulnerability Mds:               Not affected
notes_plat_sysinfo_795 =   Vulnerability Meltdown:          Not affected
notes_plat_sysinfo_800 =   Vulnerability Mmio stale data:   Not affected
notes_plat_sysinfo_805 =   Vulnerability Retbleed:          Not affected
notes_plat_sysinfo_810 =   Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
notes_plat_sysinfo_815 =   Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
notes_plat_sysinfo_820 =   Vulnerability Spectre v2:        Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB
notes_plat_sysinfo_825 =                                    filling, PBRSB-eIBRS Not affected
notes_plat_sysinfo_830 =   Vulnerability Srbds:             Not affected
notes_plat_sysinfo_835 =   Vulnerability Tsx async abort:   Not affected
notes_plat_sysinfo_840 =
notes_plat_sysinfo_845 = From lscpu --cache:
notes_plat_sysinfo_850 =      NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL  SETS PHY-LINE COHERENCY-SIZE
notes_plat_sysinfo_855 =      L1d       32K     1.5M    8 Data            1    64        1             64
notes_plat_sysinfo_860 =      L1i       32K     1.5M    8 Instruction     1    64        1             64
notes_plat_sysinfo_865 =      L2         1M      48M    8 Unified         2  2048        1             64
notes_plat_sysinfo_870 =      L3        32M     256M   16 Unified         3 32768        1             64
notes_plat_sysinfo_875 =
notes_plat_sysinfo_880 = ------------------------------------------------------------
notes_plat_sysinfo_885 = 8. numactl --hardware
notes_plat_sysinfo_890 = NOTE: a numactl 'node' might or might not correspond to a physical chip.
notes_plat_sysinfo_895 =   available: 8 nodes (0-7)
notes_plat_sysinfo_900 =   node 0 cpus: 0-5,48-53
notes_plat_sysinfo_905 =   node 0 size: 144863 MB
notes_plat_sysinfo_910 =   node 0 free: 144012 MB
notes_plat_sysinfo_915 =   node 1 cpus: 6-11,54-59
notes_plat_sysinfo_920 =   node 1 size: 145144 MB
notes_plat_sysinfo_925 =   node 1 free: 144423 MB
notes_plat_sysinfo_930 =   node 2 cpus: 12-17,60-65
notes_plat_sysinfo_935 =   node 2 size: 145144 MB
notes_plat_sysinfo_940 =   node 2 free: 144447 MB
notes_plat_sysinfo_945 =   node 3 cpus: 18-23,66-71
notes_plat_sysinfo_950 =   node 3 size: 145108 MB
notes_plat_sysinfo_955 =   node 3 free: 144385 MB
notes_plat_sysinfo_960 =   node 4 cpus: 24-29,72-77
notes_plat_sysinfo_965 =   node 4 size: 145144 MB
notes_plat_sysinfo_970 =   node 4 free: 144426 MB
notes_plat_sysinfo_975 =   node 5 cpus: 30-35,78-83
notes_plat_sysinfo_980 =   node 5 size: 145144 MB
notes_plat_sysinfo_985 =   node 5 free: 144447 MB
notes_plat_sysinfo_990 =   node 6 cpus: 36-41,84-89
notes_plat_sysinfo_995 =   node 6 size: 145144 MB
notes_plat_sysinfo_1000=   node 6 free: 144409 MB
notes_plat_sysinfo_1005=   node 7 cpus: 42-47,90-95
notes_plat_sysinfo_1010=   node 7 size: 145095 MB
notes_plat_sysinfo_1015=   node 7 free: 144045 MB
notes_plat_sysinfo_1020=   node distances:
notes_plat_sysinfo_1025=   node   0   1   2   3   4   5   6   7
notes_plat_sysinfo_1030=     0:  10  11  12  12  12  12  12  12
notes_plat_sysinfo_1035=     1:  11  10  12  12  12  12  12  12
notes_plat_sysinfo_1040=     2:  12  12  10  11  12  12  12  12
notes_plat_sysinfo_1045=     3:  12  12  11  10  12  12  12  12
notes_plat_sysinfo_1050=     4:  12  12  12  12  10  11  12  12
notes_plat_sysinfo_1055=     5:  12  12  12  12  11  10  12  12
notes_plat_sysinfo_1060=     6:  12  12  12  12  12  12  10  11
notes_plat_sysinfo_1065=     7:  12  12  12  12  12  12  11  10
notes_plat_sysinfo_1070=
notes_plat_sysinfo_1075= ------------------------------------------------------------
notes_plat_sysinfo_1080= 9. /proc/meminfo
notes_plat_sysinfo_1085=    MemTotal:       1188648092 kB
notes_plat_sysinfo_1090=
notes_plat_sysinfo_1095= ------------------------------------------------------------
notes_plat_sysinfo_1100= 10. who -r
notes_plat_sysinfo_1105=   run-level 3 Feb 22 09:12
notes_plat_sysinfo_1110=
notes_plat_sysinfo_1115= ------------------------------------------------------------
notes_plat_sysinfo_1120= 11. Systemd service manager version: systemd 249 (249.11-0ubuntu3.6)
notes_plat_sysinfo_1125=   Default Target  Status
notes_plat_sysinfo_1130=   multi-user      degraded
notes_plat_sysinfo_1135=
notes_plat_sysinfo_1140= ------------------------------------------------------------
notes_plat_sysinfo_1145= 12. Failed units, from systemctl list-units --state=failed
notes_plat_sysinfo_1150=     UNIT                                 LOAD   ACTIVE SUB    DESCRIPTION
notes_plat_sysinfo_1155=   * systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured
notes_plat_sysinfo_1160=
notes_plat_sysinfo_1165= ------------------------------------------------------------
notes_plat_sysinfo_1170= 13. Services, from systemctl list-unit-files
notes_plat_sysinfo_1175=   STATE            UNIT FILES
notes_plat_sysinfo_1180=   enabled          ModemManager apparmor blk-availability cloud-config cloud-final cloud-init
notes_plat_sysinfo_1185=                    cloud-init-local console-setup cron dmesg e2scrub_reap finalrd getty@ gpu-manager
notes_plat_sysinfo_1190=                    grub-common grub-initrd-fallback irqbalance keyboard-setup lm-sensors lvm2-monitor
notes_plat_sysinfo_1195=                    lxd-agent multipathd networkd-dispatcher open-iscsi open-vm-tools pollinate rsyslog
notes_plat_sysinfo_1200=                    secureboot-db setvtrgb ssh systemd-networkd systemd-networkd-wait-online systemd-pstore
notes_plat_sysinfo_1205=                    systemd-resolved systemd-timesyncd thermald ua-reboot-cmds ubuntu-advantage udisks2 ufw
notes_plat_sysinfo_1210=                    vgauth
notes_plat_sysinfo_1215=   enabled-runtime  netplan-ovs-cleanup systemd-fsck-root systemd-remount-fs
notes_plat_sysinfo_1220=   disabled         console-getty debug-shell iscsid nftables rsync serial-getty@
notes_plat_sysinfo_1225=                    systemd-boot-check-no-failures systemd-network-generator systemd-sysext
notes_plat_sysinfo_1230=                    systemd-time-wait-sync upower
notes_plat_sysinfo_1235=   generated        apport trousers
notes_plat_sysinfo_1240=   indirect         uuidd
notes_plat_sysinfo_1245=   masked           cryptdisks cryptdisks-early hwclock lvm2 multipath-tools-boot rc rcS screen-cleanup sudo
notes_plat_sysinfo_1250=                    x11-common
notes_plat_sysinfo_1255=
notes_plat_sysinfo_1260= ------------------------------------------------------------
notes_plat_sysinfo_1265= 14. Linux kernel boot-time arguments, from /proc/cmdline
notes_plat_sysinfo_1270=   BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic
notes_plat_sysinfo_1275=   root=UUID=d0cc852e-9857-40c1-b230-5999cbe027bc
notes_plat_sysinfo_1280=   ro
notes_plat_sysinfo_1285=
notes_plat_sysinfo_1290= ------------------------------------------------------------
notes_plat_sysinfo_1295= 15. cpupower frequency-info
notes_plat_sysinfo_1300=   analyzing CPU 0:
notes_plat_sysinfo_1305=     current policy: frequency should be within 400 MHz and 3.81 GHz.
notes_plat_sysinfo_1310=                     The governor "performance" may decide which speed to use
notes_plat_sysinfo_1315=                     within this range.
notes_plat_sysinfo_1320=     boost state support:
notes_plat_sysinfo_1325=       Supported: yes
notes_plat_sysinfo_1330=       Active: yes
notes_plat_sysinfo_1335=       Boost States: 0
notes_plat_sysinfo_1340=       Total States: 3
notes_plat_sysinfo_1345=       Pstate-P0:  2750MHz
notes_plat_sysinfo_1350=
notes_plat_sysinfo_1355= ------------------------------------------------------------
notes_plat_sysinfo_1360= 16. sysctl
notes_plat_sysinfo_1365=   kernel.numa_balancing               1
notes_plat_sysinfo_1370=   kernel.randomize_va_space           0
notes_plat_sysinfo_1375=   vm.compaction_proactiveness        20
notes_plat_sysinfo_1380=   vm.dirty_background_bytes           0
notes_plat_sysinfo_1385=   vm.dirty_background_ratio          10
notes_plat_sysinfo_1390=   vm.dirty_bytes                      0
notes_plat_sysinfo_1395=   vm.dirty_expire_centisecs        3000
notes_plat_sysinfo_1400=   vm.dirty_ratio                      8
notes_plat_sysinfo_1405=   vm.dirty_writeback_centisecs      500
notes_plat_sysinfo_1410=   vm.dirtytime_expire_seconds     43200
notes_plat_sysinfo_1415=   vm.extfrag_threshold              500
notes_plat_sysinfo_1420=   vm.min_unmapped_ratio               1
notes_plat_sysinfo_1425=   vm.nr_hugepages                     0
notes_plat_sysinfo_1430=   vm.nr_hugepages_mempolicy           0
notes_plat_sysinfo_1435=   vm.nr_overcommit_hugepages          0
notes_plat_sysinfo_1440=   vm.swappiness                       1
notes_plat_sysinfo_1445=   vm.watermark_boost_factor       15000
notes_plat_sysinfo_1450=   vm.watermark_scale_factor          10
notes_plat_sysinfo_1455=   vm.zone_reclaim_mode                1
notes_plat_sysinfo_1460=
notes_plat_sysinfo_1465= ------------------------------------------------------------
notes_plat_sysinfo_1470= 17. /sys/kernel/mm/transparent_hugepage
notes_plat_sysinfo_1475=   defrag          [always] defer defer+madvise madvise never
notes_plat_sysinfo_1480=   enabled         [always] madvise never
notes_plat_sysinfo_1485=   hpage_pmd_size  2097152
notes_plat_sysinfo_1490=   shmem_enabled   always within_size advise [never] deny force
notes_plat_sysinfo_1495=
notes_plat_sysinfo_1500= ------------------------------------------------------------
notes_plat_sysinfo_1505= 18. /sys/kernel/mm/transparent_hugepage/khugepaged
notes_plat_sysinfo_1510=   alloc_sleep_millisecs   60000
notes_plat_sysinfo_1515=   defrag                      1
notes_plat_sysinfo_1520=   max_ptes_none             511
notes_plat_sysinfo_1525=   max_ptes_shared           256
notes_plat_sysinfo_1530=   max_ptes_swap              64
notes_plat_sysinfo_1535=   pages_to_scan            4096
notes_plat_sysinfo_1540=   scan_sleep_millisecs    10000
notes_plat_sysinfo_1545=
notes_plat_sysinfo_1550= ------------------------------------------------------------
notes_plat_sysinfo_1555= 19. OS release
notes_plat_sysinfo_1560=   From /etc/*-release /etc/*-version
notes_plat_sysinfo_1565=   os-release Ubuntu 22.04.1 LTS
notes_plat_sysinfo_1570=
notes_plat_sysinfo_1575= ------------------------------------------------------------
notes_plat_sysinfo_1580= 20. Disk information
notes_plat_sysinfo_1585= SPEC is set to: /home/cpu2017
notes_plat_sysinfo_1590=   Filesystem     Type  Size  Used Avail Use% Mounted on
notes_plat_sysinfo_1595=   /dev/sda2      ext4  1.8T   59G  1.6T   4% /
notes_plat_sysinfo_1600=
notes_plat_sysinfo_1605= ------------------------------------------------------------
notes_plat_sysinfo_1610= 21. /sys/devices/virtual/dmi/id
notes_plat_sysinfo_1615=     Vendor:         Supermicro
notes_plat_sysinfo_1620=     Product:        Super Server
notes_plat_sysinfo_1625=     Product Family: Family
notes_plat_sysinfo_1630=     Serial:         0123456789
notes_plat_sysinfo_1635=
notes_plat_sysinfo_1640= ------------------------------------------------------------
notes_plat_sysinfo_1645= 22. dmidecode
notes_plat_sysinfo_1650=   Additional information from dmidecode 3.3 follows.  WARNING: Use caution when you interpret this section.
notes_plat_sysinfo_1655=   The 'dmidecode' program reads system data which is "intended to allow hardware to be accurately
notes_plat_sysinfo_1660=   determined", but the intent may not be met, as there are frequent changes to hardware, firmware, and the
notes_plat_sysinfo_1665=   "DMTF SMBIOS" standard.
notes_plat_sysinfo_1670=   Memory:
notes_plat_sysinfo_1675=     12x Micron Technology MTC40F204WS1RC48BBZ 96 GB 2 rank 4800
notes_plat_sysinfo_1680=
notes_plat_sysinfo_1685=
notes_plat_sysinfo_1690= ------------------------------------------------------------
notes_plat_sysinfo_1695= 23. BIOS
notes_plat_sysinfo_1700= (This section combines info from /sys/devices and dmidecode.)
notes_plat_sysinfo_1705=    BIOS Vendor:       American Megatrends International, LLC.
notes_plat_sysinfo_1710=    BIOS Version:      1.1
notes_plat_sysinfo_1715=    BIOS Date:         01/17/2023
notes_plat_sysinfo_1720=    BIOS Revision:     5.27
hw_cpu_name        = AMD EPYC 9454P
hw_disk            = 1.8 TB  add more disk info here
hw_memory001       = 1133.583 GB fixme: If using DDR4, the format is:
hw_memory002       = 'N GB (N x N GB nRxn PC4-nnnnX-X)'
hw_nchips          = 1
hw_ncores          = 48
hw_nthreadspercore = 2
prepared_by        = root  (is never output, only tags rawfile)
sw_file            = ext4
sw_os001           = Ubuntu 22.04.1 LTS
sw_state           = Run level 3 (add definition here)
# End of settings added by sysinfo_program


554.roms_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


544.nab_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


538.imagick_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


527.cam4_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


526.blender_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


521.wrf_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


519.lbm_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


511.povray_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


508.namd_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


507.cactuBSSN_r:
# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1


# The following section was added automatically, and contains settings that
# did not appear in the original configuration file, but were added to the
# raw file after the run.
default:
power_management000 = BIOS and OS set to max performance at the cost of
power_management001 = additional power usage.
notes_plat_000 =BIOS Settings:
notes_plat_005 =Determinism Control = Manual
notes_plat_010 =Determinism Enable = Disable Performance Determinism
notes_plat_015 =cTDP Control = Manual
notes_plat_020 =cTDP = 300
notes_plat_025 =Package Power Limit Control = Manual
notes_plat_030 =Package Power Limit = 300
notes_plat_035 =NUMA Nodes Per Socket = NPS4
notes_plat_040 =ACPI SRAT L3 cache As NUMA Domain = Enabled