# Invocation command line: # /home/cpu2017/bin/harness/runcpu --configfile amd_rate_aocc320_milanx_A1.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 320 SPEC CPU2017 V1.1.8 Rate Configuration File for 64-bit Linux # # File name : amd_rate_aocc320_milanx_A1.cfg # Creation Date : January 22, 2022 # CPU2017 Version : 1.1.8 # Supported benchmarks : All Rate benchmarks (intrate, fprate) # Compiler name/version : AOCC 3.2.0 # Operating system version : OpenSUSE 15.2 # Supported OS's : Ubuntu 20.04, RHEL 8.3, SLES 15 SP2 # Hardware : AMD Milan, Rome, Naples (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 Parallization : 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_aocc320_milanx_A1.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 CPU2017 under optimized conditions on AMD Milan-X/Milan/Rome/Naples-based # server platforms within Linux (AMD64). # # The binary package was built specifically for AMD Milan-X/Milan/Rome/Naples microprocessors and # is not intended to run on other products. # # Please install the binary package by following the instructions in # "Readme.amd_rate_aocc320_milanx_A1.txt" under the "How To Use the Binaries" section. # # The binary package is designed to work without alteration on two socket AMD # Milan-X/Milan/Rome/Naples-based servers with 64 cores per socket, SMT enabled and 1 TiB of DDR4 # memory distributed evenly among all 16 channels using 32 GiB DIMMs. # # To run the binary package on other Milan-X/Milan/Rome/Naples configurations, please review # "Readme.amd_rate_aocc320_milanx_A1.txt". In general, Milan-X/Milan/Rome or Naples CPUs # should be autodetected with no action required by the user. # # In most cases, it should be unnecessary to edit "amd_rate_aocc320_milanx_A1.cfg" or any # other file besides "ini_amd_rate_aocc320_milanx_A1.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 # 20.04, RHEL 8.3 and SLES 15 SP2. # # 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 aocc320 %define binary_package_name amd_rate_%{compiler_name}_milanx_A %define binary_package_ext amd_rate_%{compiler_name}_milanx_A %define binary_package_revision 1 %define build_path /sppo/bin/cpu2017v118-aocc3-milanX/ %define flags_file_name %{compiler_name}-flags-A1.xml # Do NOT change build_lib_dir after the build or it will trigger a # rebuild of the xalanc: %define build_lib_dir amd_rate_aocc320_milanx_A_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 name ################################################################################ # 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. %define inc_file_name %{binary_package_full_name}.inc # Binary label extension: # Only modify the binary label extension if you plan to rebuild the binaries. # If you plan to recompile these CPU2017 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: JEMALLOC_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_aocc320_milanx_A1.inc' ############################################################################ ################################################################################ ################################################################################ # File name: amd_rate_aocc320_milanx_A1.inc # File generation code date: January 27, 2022 # File generation date/time: May 06, 2022 / 01:39:21 # # 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 64 %define physical_core_count 32 ################################################################################ # 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 '16p' section of CPU info ################################################################################ # default copy counts: default: copies = 64 # 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 submit = echo "$command" > run.sh ; $BIND bash run.sh ################################################################################ ################################################################################ # peak copy counts: 32 510.parest_r,521.wrf_r,549.fotonik3d_r,554.roms_r=peak: copies = 32 # 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 submit = echo "$command" > run.sh ; $BIND bash run.sh ################################################################################ ################################################################################ # peak copy counts: 16 503.bwaves_r=peak: copies = 16 # 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 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 =9019 tester =Cisco Systems test_sponsor =Cisco Systems hw_vendor =Cisco Systems hw_model000 =Cisco UCS C225 M6 (AMD EPYC 7343 16-core) hw_model001 = Processor) #--------- If you install new compilers, edit this section -------------------- sw_compiler =C/C++/Fortran: Version 3.2.0 of AOCC ################################################################################ ################################################################################ # Hardware, firmware and software information ################################################################################ hw_avail =Mar-2022 sw_avail =Dec-2021 hw_cpu_name =AMD EPYC 7343 hw_cpu_nominal_mhz =3200 hw_cpu_max_mhz =3900 hw_ncores =32 hw_nthreadspercore =2 hw_ncpuorder =1,2 chips hw_other =None # Other perf-relevant hw, or "None" fw_bios =Version 4.2.1.30 released Feb-2022 sw_base_ptrsize =64-bit hw_pcache =32 KB I + 32 KB D on chip per core hw_scache =512 KB I+D on chip per core hw_tcache000 =128 MB I+D on chip per chip, 32 MB shared / 4 hw_tcache001 = cores hw_ocache =None ################################################################################ # Notes ################################################################################ # Enter notes_000 through notes_100 here. notes_000 =Binaries were compiled on a system with 2x AMD EPYC 7742 CPU + 1TiB Memory using OpenSUSE 15.2 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 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_other =jemalloc: jemalloc memory allocator library v5.1.0 ################################################################################ # The following note fields describe platorm settings. ################################################################################ # example: (uncomment as necessary) # notes_plat_000 =BIOS settings: # notes_plat_002 = cTDP: 280 # notes_plat_004 = Determinism Slider set to Power # notes_plat_006 = Package Power: 280 # notes_plat_008 = EDC: 300 # notes_plat_010 = NPS: 1 # notes_plat_011 = ACPI SRAT L3 Cache as NUMA Domain: enabled # notes_plat_012 = Memory interleaving: Disabled # notes_plat_014 = 4-link xGMI max speed: 16Gbps # 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 960 GB M.2 SSD SATA hw_memory000 =2 TB (16 x 128 GB 4Rx4 PC4-3200AA-L) hw_memory002 = hw_nchips =2 prepared_by =Cisco Systems sw_file =xfs sw_os000 =SUSE Linux Enterprise Server 15 SP2 (x86_64) sw_os001 =kernel version # ex: Kernel 4.4.0-87-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_aocc320_milanx_A1.inc' # Switch back to default block after the include file: default: fail_build = 1 %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/aocc320-flags-A1.xml flagsurl001 = http://www.spec.org/cpu2017/flags/Cisco-Platform-Settings-AMD-v2-revD.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 ################################################################################ # Compilers ################################################################################ default: CC = clang -m64 CXX = clang++ -m64 -std=c++98 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 ################################################################################ # Default Flags ################################################################################ EXTRA_PORTABILITY = -DSPEC_LP64 EXTRA_LIBS = -ljemalloc -lamdlibm -lm MATHLIBOPT = #clearing this variable or else SPEC will set it to -lm VECMATHLIB = -fveclib=AMDLIBM OPT_ROOT = -march=znver3 $(VECMATHLIB) -ffast-math OPT_ROOT_BASE = -O3 $(OPT_ROOT) OPT_ROOT_PEAK = -Ofast $(OPT_ROOT) -flto #Ofast enables -ffast-math CROSSPLAT_PORT_OPTS = -mno-adx -mno-sse4a ################################################################################ # Portability Flags ################################################################################ default: # *** 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 CXXPORTABILITY = -D__BOOL_DEFINED 527.cam4_r: #lang='F,C' PORTABILITY = -DSPEC_CASE_FLAG ################################################################################ # Tuning Flags ################################################################################ ##################### # Base tuning flags # ##################### default=base: COPTIMIZE = $(OPT_ROOT_BASE) -flto -fstruct-layout=5 \ -mllvm -unroll-threshold=50 \ -mllvm -inline-threshold=1000 -fremap-arrays -mllvm \ -function-specialize -flv-function-specialization \ -mllvm -enable-gvn-hoist -mllvm \ -global-vectorize-slp=true -mllvm -enable-licm-vrp \ -mllvm -reduce-array-computations=3 \ -mllvm -enable-loop-fusion \ -Wno-unused-command-line-argument CXXOPTIMIZE = $(OPT_ROOT_BASE) -flto -mllvm -enable-partial-unswitch \ -mllvm -unroll-threshold=100\ -finline-aggressive -flv-function-specialization \ -mllvm -loop-unswitch-threshold=200000 \ -mllvm -reroll-loops -mllvm -aggressive-loop-unswitch\ -mllvm -extra-vectorizer-passes -mllvm \ -reduce-array-computations=3 -mllvm \ -global-vectorize-slp=true \ -mllvm -convert-pow-exp-to-int=false \ -mllvm -enable-loop-fusion \ -Wno-unused-command-line-argument FOPTIMIZE = -Hz,1,0x1 $(OPT_ROOT_BASE) -Kieee -Mrecursive \ -mllvm -fuse-tile-inner-loop -funroll-loops \ -mllvm -extra-vectorizer-passes -mllvm \ -lsr-in-nested-loop -mllvm -enable-licm-vrp -mllvm \ -reduce-array-computations=3 -mllvm \ -global-vectorize-slp=true \ -mllvm -enable-loop-fusion \ -mllvm -enable-loopinterchange \ -mllvm -compute-interchange-order \ -Wno-unused-command-line-argument LDCXXFLAGS = -Wl,-mllvm -Wl,-x86-use-vzeroupper=false EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-region-vectorize \ -Wl,-mllvm -Wl,-function-specialize \ -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6 \ -Wl,-mllvm -Wl,-reduce-array-computations=3 \ -Wl,-mllvm -Wl,-enable-loop-fusion LDFFLAGS = -Wl,-mllvm -Wl,-enable-X86-prefetching \ -Wl,-mllvm -Wl,-enable-licm-vrp EXTRA_LIBS = -lamdlibm -lm -ljemalloc -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 = # The following is necessary for 502/602 gcc: LDOPTIMIZE = -z muldefs ######################## # intrate tuning flags # ######################## intrate: FOPTIMIZE = $(OPT_ROOT_BASE) -flto EXTRA_FFLAGS = -mllvm -unroll-aggressive \ -mllvm -unroll-threshold=500 EXTRA_CXXFLAGS = -fvirtual-function-elimination -fvisibility=hidden LDCFLAGS = -Wl,-allow-multiple-definition -Wl,-mllvm \ -Wl,-enable-licm-vrp LDFFLAGS = -Wl,-mllvm -Wl,-inline-recursion=4 \ -Wl,-mllvm -Wl,-lsr-in-nested-loop \ -Wl,-mllvm -Wl,-enable-iv-split # LDCXXFLAGS is left empty as intrate CPP bmks have to use VZEROUPPER # instruction which is the default. LDCXXFLAGS = ####################### # fprate tuning flags # ####################### fprate: CXX = clang++ -m64 -std=c++98 $[CROSSPLAT_PORT_OPTS] ##################### # Peak tuning flags # ##################### default=peak: COPTIMIZE = $(OPT_ROOT_PEAK) -fstruct-layout=7 \ -mllvm -unroll-threshold=50 -fremap-arrays \ -flv-function-specialization -mllvm \ -inline-threshold=1000 -mllvm -enable-gvn-hoist \ -mllvm -global-vectorize-slp=true -mllvm \ -function-specialize -mllvm -enable-licm-vrp \ -mllvm -reduce-array-computations=3 \ -Wno-unused-command-line-argument CXXOPTIMIZE = $(OPT_ROOT_PEAK) -finline-aggressive \ -mllvm -unroll-threshold=100 \ -flv-function-specialization -mllvm -enable-licm-vrp\ -mllvm -reroll-loops -mllvm \ -aggressive-loop-unswitch -mllvm \ -reduce-array-computations=3 -mllvm \ -global-vectorize-slp=true \ -Wno-unused-command-line-argument FOPTIMIZE = $(OPT_ROOT_PEAK) -Mrecursive \ -mllvm -reduce-array-computations=3 \ -mllvm -global-vectorize-slp=true \ -mllvm -enable-licm-vrp \ -Wno-unused-command-line-argument EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-function-specialize \ -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6 \ -Wl,-mllvm -Wl,-reduce-array-computations=3 LDFFLAGS = -Wl,-mllvm -Wl,-enable-X86-prefetching \ -Wl,-mllvm -Wl,-enable-licm-vrp LDCXXFLAGS = -Wl,-mllvm -Wl,-x86-use-vzeroupper=false \ -Wl,-mllvm -Wl,-enable-licm-vrp 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 -ljemalloc 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 \ -flv-function-specialization -mllvm \ -inline-threshold=1000 -mllvm -enable-gvn-hoist \ -mllvm -global-vectorize-slp=false \ -mllvm -function-specialize -mllvm -enable-licm-vrp\ -mllvm -reduce-array-computations=3 \ -Wno-unused-command-line-argument feedback = 1 502.gcc_r=peak: #lang='C' EXTRA_PORTABILITY = -D_FILE_OFFSET_BITS=64 EXTRA_COPTIMIZE = -fgnu89-inline CC = clang -m32 CLD = clang -m32 -L/usr/lib EXTRA_LIBS = -L$[JEMALLOC_LIB32_PATH] -ljemalloc MATHLIBOPT = -lm EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-function-specialize 507.cactuBSSN_r=peak: CXXOPTIMIZE = $(OPT_ROOT_PEAK) \ -mllvm -unroll-threshold=100 \ -flv-function-specialization \ -mllvm -loop-unswitch-threshold=200000 \ -finline-aggressive -mllvm -reroll-loops \ -mllvm -aggressive-loop-unswitch \ -mllvm -reduce-array-computations=3 \ -mllvm -extra-vectorizer-passes \ -mllvm -convert-pow-exp-to-int=false EXTRA_LIBS += $(EXTRA_FLIBS) #adding flang libs to cxx linker 510.parest_r=peak: EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-suppress-fmas \ -Wl,-mllvm -Wl,-function-specialize 523.xalancbmk_r=peak: #lang='CXX` CXX = clang++ -m32 CXXLD = clang++ -m32 -L/usr/lib EXTRA_CXXFLAGS = -mllvm -do-block-reorder=aggressive \ -fvirtual-function-elimination -fvisibility=hidden LDCXXFLAGS = -Wl,-mllvm -Wl,-do-block-reorder=aggressive EXTRA_LIBS = -L$[JEMALLOC_LIB32_PATH] -ljemalloc ENV_MALLOC_CONF = thp:never 525.x264_r=peak: #lang='C' basepeak = yes 527.cam4_r=peak: FOPTIMIZE = $(OPT_ROOT_BASE) -funroll-loops \ -mllvm -extra-vectorizer-passes \ -mllvm -lsr-in-nested-loop -Mrecursive EXTRA_FFLAGS = -Hz,1,0x1 -mllvm -enable-loopinterchange -mllvm \ -compute-interchange-order EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-function-specialize \ -Wl,-mllvm -Wl,-force-vector-interleave=1 544.nab_r=peak: EXTRA_LDFLAGS = -flto -Wl,-mllvm -Wl,-region-vectorize \ -Wl,-mllvm -Wl,-function-specialize 549.fotonik3d_r=peak: FOPTIMIZE = $(OPT_ROOT_PEAK) -Kieee -Mrecursive \ -mllvm -reduce-array-computations=3 \ -mllvm -global-vectorize-slp=true \ -mllvm -enable-licm-vrp \ -Wno-unused-command-line-argument 554.roms_r=peak: EXTRA_FFLAGS = -Hz,1,0x1 -mllvm -fuse-tile-inner-loop # The following settings were obtained by running the sysinfo_program # 'specperl $[top]/bin/sysinfo' (sysinfo:SHA:679c83684f6f4fc369a093999b6661d0a378911de2a006d3245423ad80d3fb9a) default: notes_plat_sysinfo_000 = notes_plat_sysinfo_005 = Sysinfo program /home/cpu2017/bin/sysinfo notes_plat_sysinfo_010 = Rev: r6622 of 2021-04-07 982a61ec0915b55891ef0e16acafc64d notes_plat_sysinfo_015 = running on localhost Fri May 6 01:39:30 2022 notes_plat_sysinfo_020 = notes_plat_sysinfo_025 = SUT (System Under Test) info as seen by some common utilities. notes_plat_sysinfo_030 = For more information on this section, see notes_plat_sysinfo_035 = https://www.spec.org/cpu2017/Docs/config.html#sysinfo notes_plat_sysinfo_040 = notes_plat_sysinfo_045 = From /proc/cpuinfo notes_plat_sysinfo_050 = model name : AMD EPYC 7343 16-Core Processor notes_plat_sysinfo_055 = 2 "physical id"s (chips) notes_plat_sysinfo_060 = 64 "processors" notes_plat_sysinfo_065 = cores, siblings (Caution: counting these is hw and system dependent. The following notes_plat_sysinfo_070 = excerpts from /proc/cpuinfo might not be reliable. Use with caution.) notes_plat_sysinfo_075 = cpu cores : 16 notes_plat_sysinfo_080 = siblings : 32 notes_plat_sysinfo_085 = physical 0: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 notes_plat_sysinfo_090 = physical 1: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 notes_plat_sysinfo_095 = notes_plat_sysinfo_100 = From lscpu from util-linux 2.33.1: notes_plat_sysinfo_105 = Architecture: x86_64 notes_plat_sysinfo_110 = CPU op-mode(s): 32-bit, 64-bit notes_plat_sysinfo_115 = Byte Order: Little Endian notes_plat_sysinfo_120 = Address sizes: 48 bits physical, 48 bits virtual notes_plat_sysinfo_125 = CPU(s): 64 notes_plat_sysinfo_130 = On-line CPU(s) list: 0-63 notes_plat_sysinfo_135 = Thread(s) per core: 2 notes_plat_sysinfo_140 = Core(s) per socket: 16 notes_plat_sysinfo_145 = Socket(s): 2 notes_plat_sysinfo_150 = NUMA node(s): 8 notes_plat_sysinfo_155 = Vendor ID: AuthenticAMD notes_plat_sysinfo_160 = CPU family: 25 notes_plat_sysinfo_165 = Model: 1 notes_plat_sysinfo_170 = Model name: AMD EPYC 7343 16-Core Processor notes_plat_sysinfo_175 = Stepping: 1 notes_plat_sysinfo_180 = CPU MHz: 1777.067 notes_plat_sysinfo_185 = CPU max MHz: 3200.0000 notes_plat_sysinfo_190 = CPU min MHz: 1500.0000 notes_plat_sysinfo_195 = BogoMIPS: 6387.82 notes_plat_sysinfo_200 = Virtualization: AMD-V notes_plat_sysinfo_205 = L1d cache: 32K notes_plat_sysinfo_210 = L1i cache: 32K notes_plat_sysinfo_215 = L2 cache: 512K notes_plat_sysinfo_220 = L3 cache: 32768K notes_plat_sysinfo_225 = NUMA node0 CPU(s): 0-3,32-35 notes_plat_sysinfo_230 = NUMA node1 CPU(s): 4-7,36-39 notes_plat_sysinfo_235 = NUMA node2 CPU(s): 8-11,40-43 notes_plat_sysinfo_240 = NUMA node3 CPU(s): 12-15,44-47 notes_plat_sysinfo_245 = NUMA node4 CPU(s): 16-19,48-51 notes_plat_sysinfo_250 = NUMA node5 CPU(s): 20-23,52-55 notes_plat_sysinfo_255 = NUMA node6 CPU(s): 24-27,56-59 notes_plat_sysinfo_260 = NUMA node7 CPU(s): 28-31,60-63 notes_plat_sysinfo_265 = Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov notes_plat_sysinfo_270 = pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm notes_plat_sysinfo_275 = constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq notes_plat_sysinfo_280 = monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand notes_plat_sysinfo_285 = lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw notes_plat_sysinfo_290 = ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb notes_plat_sysinfo_295 = cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase notes_plat_sysinfo_300 = bmi1 avx2 smep bmi2 invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni notes_plat_sysinfo_305 = xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local notes_plat_sysinfo_310 = clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale notes_plat_sysinfo_315 = vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif notes_plat_sysinfo_320 = umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca notes_plat_sysinfo_325 = notes_plat_sysinfo_330 = /proc/cpuinfo cache data notes_plat_sysinfo_335 = cache size : 512 KB notes_plat_sysinfo_340 = notes_plat_sysinfo_345 = From numactl --hardware notes_plat_sysinfo_350 = WARNING: a numactl 'node' might or might not correspond to a physical chip. notes_plat_sysinfo_355 = available: 8 nodes (0-7) notes_plat_sysinfo_360 = node 0 cpus: 0 1 2 3 32 33 34 35 notes_plat_sysinfo_365 = node 0 size: 257859 MB notes_plat_sysinfo_370 = node 0 free: 257578 MB notes_plat_sysinfo_375 = node 1 cpus: 4 5 6 7 36 37 38 39 notes_plat_sysinfo_380 = node 1 size: 258044 MB notes_plat_sysinfo_385 = node 1 free: 257825 MB notes_plat_sysinfo_390 = node 2 cpus: 8 9 10 11 40 41 42 43 notes_plat_sysinfo_395 = node 2 size: 258044 MB notes_plat_sysinfo_400 = node 2 free: 257772 MB notes_plat_sysinfo_405 = node 3 cpus: 12 13 14 15 44 45 46 47 notes_plat_sysinfo_410 = node 3 size: 258032 MB notes_plat_sysinfo_415 = node 3 free: 257821 MB notes_plat_sysinfo_420 = node 4 cpus: 16 17 18 19 48 49 50 51 notes_plat_sysinfo_425 = node 4 size: 258044 MB notes_plat_sysinfo_430 = node 4 free: 257767 MB notes_plat_sysinfo_435 = node 5 cpus: 20 21 22 23 52 53 54 55 notes_plat_sysinfo_440 = node 5 size: 258044 MB notes_plat_sysinfo_445 = node 5 free: 257830 MB notes_plat_sysinfo_450 = node 6 cpus: 24 25 26 27 56 57 58 59 notes_plat_sysinfo_455 = node 6 size: 258044 MB notes_plat_sysinfo_460 = node 6 free: 257782 MB notes_plat_sysinfo_465 = node 7 cpus: 28 29 30 31 60 61 62 63 notes_plat_sysinfo_470 = node 7 size: 258010 MB notes_plat_sysinfo_475 = node 7 free: 257784 MB notes_plat_sysinfo_480 = node distances: notes_plat_sysinfo_485 = node 0 1 2 3 4 5 6 7 notes_plat_sysinfo_490 = 0: 10 12 12 12 32 32 32 32 notes_plat_sysinfo_495 = 1: 12 10 12 12 32 32 32 32 notes_plat_sysinfo_500 = 2: 12 12 10 12 32 32 32 32 notes_plat_sysinfo_505 = 3: 12 12 12 10 32 32 32 32 notes_plat_sysinfo_510 = 4: 32 32 32 32 10 12 12 12 notes_plat_sysinfo_515 = 5: 32 32 32 32 12 10 12 12 notes_plat_sysinfo_520 = 6: 32 32 32 32 12 12 10 12 notes_plat_sysinfo_525 = 7: 32 32 32 32 12 12 12 10 notes_plat_sysinfo_530 = notes_plat_sysinfo_535 = From /proc/meminfo notes_plat_sysinfo_540 = MemTotal: 2113664492 kB notes_plat_sysinfo_545 = HugePages_Total: 0 notes_plat_sysinfo_550 = Hugepagesize: 2048 kB notes_plat_sysinfo_555 = notes_plat_sysinfo_560 = /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor has notes_plat_sysinfo_565 = performance notes_plat_sysinfo_570 = notes_plat_sysinfo_575 = From /etc/*release* /etc/*version* notes_plat_sysinfo_580 = os-release: notes_plat_sysinfo_585 = NAME="SLES" notes_plat_sysinfo_590 = VERSION="15-SP2" notes_plat_sysinfo_595 = VERSION_ID="15.2" notes_plat_sysinfo_600 = PRETTY_NAME="SUSE Linux Enterprise Server 15 SP2" notes_plat_sysinfo_605 = ID="sles" notes_plat_sysinfo_610 = ID_LIKE="suse" notes_plat_sysinfo_615 = ANSI_COLOR="0;32" notes_plat_sysinfo_620 = CPE_NAME="cpe:/o:suse:sles:15:sp2" notes_plat_sysinfo_625 = notes_plat_sysinfo_630 = uname -a: notes_plat_sysinfo_635 = Linux localhost 5.3.18-22-default #1 SMP Wed Jun 3 12:16:43 UTC 2020 (720aeba) x86_64 notes_plat_sysinfo_640 = x86_64 x86_64 GNU/Linux notes_plat_sysinfo_645 = notes_plat_sysinfo_650 = Kernel self-reported vulnerability status: notes_plat_sysinfo_655 = notes_plat_sysinfo_660 = CVE-2018-12207 (iTLB Multihit): Not affected notes_plat_sysinfo_665 = CVE-2018-3620 (L1 Terminal Fault): Not affected notes_plat_sysinfo_670 = Microarchitectural Data Sampling: Not affected notes_plat_sysinfo_675 = CVE-2017-5754 (Meltdown): Not affected notes_plat_sysinfo_680 = CVE-2018-3639 (Speculative Store Bypass): Mitigation: Speculative Store notes_plat_sysinfo_685 = Bypass disabled via prctl and notes_plat_sysinfo_690 = seccomp notes_plat_sysinfo_695 = CVE-2017-5753 (Spectre variant 1): Mitigation: usercopy/swapgs notes_plat_sysinfo_700 = barriers and __user pointer notes_plat_sysinfo_705 = sanitization notes_plat_sysinfo_710 = CVE-2017-5715 (Spectre variant 2): Mitigation: Full AMD retpoline, notes_plat_sysinfo_715 = IBPB: conditional, IBRS_FW, STIBP: notes_plat_sysinfo_720 = always-on, RSB filling notes_plat_sysinfo_725 = CVE-2020-0543 (Special Register Buffer Data Sampling): Not affected notes_plat_sysinfo_730 = CVE-2019-11135 (TSX Asynchronous Abort): Not affected notes_plat_sysinfo_735 = notes_plat_sysinfo_740 = run-level 3 Apr 17 06:12 notes_plat_sysinfo_745 = notes_plat_sysinfo_750 = SPEC is set to: /home/cpu2017 notes_plat_sysinfo_755 = Filesystem Type Size Used Avail Use% Mounted on notes_plat_sysinfo_760 = /dev/sda2 xfs 223G 9.3G 214G 5% / notes_plat_sysinfo_765 = notes_plat_sysinfo_770 = From /sys/devices/virtual/dmi/id notes_plat_sysinfo_775 = Vendor: Cisco Systems Inc notes_plat_sysinfo_780 = Product: UCSC-C225-M6S notes_plat_sysinfo_785 = Serial: WZP252408JE notes_plat_sysinfo_790 = notes_plat_sysinfo_795 = Additional information from dmidecode 3.2 follows. WARNING: Use caution when you notes_plat_sysinfo_800 = interpret this section. The 'dmidecode' program reads system data which is "intended to notes_plat_sysinfo_805 = allow hardware to be accurately determined", but the intent may not be met, as there are notes_plat_sysinfo_810 = frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard. notes_plat_sysinfo_815 = Memory: notes_plat_sysinfo_820 = 16x 0xCE00 M386AAG40AM3-CWE 128 GB 4 rank 3200 notes_plat_sysinfo_825 = 16x Unknown Unknown notes_plat_sysinfo_830 = notes_plat_sysinfo_835 = BIOS: notes_plat_sysinfo_840 = BIOS Vendor: Cisco Systems, Inc. notes_plat_sysinfo_845 = BIOS Version: C225M6.4.2.1.30.0221222139 notes_plat_sysinfo_850 = BIOS Date: 02/21/2022 notes_plat_sysinfo_855 = BIOS Revision: 5.22 notes_plat_sysinfo_860 = notes_plat_sysinfo_865 = (End of data from sysinfo program) hw_cpu_name = AMD EPYC 7343 hw_disk = 223 GB add more disk info here hw_memory001 = 2015.748 GB fixme: If using DDR4, the format is: hw_memory002 = 'N GB (N x N GB nRxn PC4-nnnnX-X)' hw_nchips = 2 prepared_by = root (is never output, only tags rawfile) sw_file = xfs sw_os001 = NAME="SLES" sw_os002 = 5.3.18-22-default sw_state = Run level 3 (add definition here) # End of settings added by sysinfo_program 544.nab_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 510.parest_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 prefer performance at the cost power_management001 = of additional power usage notes_plat_000 =BIOS Configuration notes_plat_005 = SMT Mode set to Enabled notes_plat_010 = NUMA nodes per socket set to NPS4 notes_plat_015 = ACPI SRAT L3 Cache As NUMA Domain set to Enabled notes_plat_020 = DRAM Scrub Time set to Disabled notes_plat_025 = Determinism Slider set to Power notes_plat_030 = Memory Interleaving set to Disabled notes_plat_035 = APBDIS set to 1