# Invocation command line:
# /root/cpu2017/bin/harness/runcpu --define external --copies 104 --configfile ic18.0-lin-core-avx512-rate-20170901.cfg --define cores=104 --define physicalfirst --define invoke_with_interleave --define drop_caches --tune base --output_format all --nopower --runmode rate --tune base --size refrate fprate
# output_root was not used for this run
############################################################################
#------------------------------------------------------------------------------
# This is a sample SPEC CPU2017 config file. It is applicable for:
#
#  Compiler name/version:       Intel(R) C/C++ and Fortran 18.0.0.128 Compilers for Linux
#  Operating system version:    Redhat Enterprise Linux 7.4, GLIBC 2.17
#  Hardware:                    Intel(R) processors supporting CORE-AVX512 tuning
#
# If you wish to build your own:
#        (1) Copy this to a new name
#             cd %SPEC%/config
#             copy this.cfg that.cfg
#        (2) Change items that are marked 'EDIT' (search for it)
#
# If you have different software or hardware, this config file may not work.
# You may find a better config file for your system next to posted results:
#     http://www.spec.org/cpu2017/results
#
# Compiler issues: Contact your compiler vendor, not SPEC.
# For SPEC help:   http://www.spec.org/auto/cpu2017/Docs/techsupport.html
#------------------------------------------------------------------------------


#--------- Preprocessor -------------------------------------------------------
#

# Optionally edit if you wish:
%define build_ncpus 8       # controls number of simultaneous compiles

# Used to date the label
%define version 20170901

# Used for the optimization tuning part of the label (not required)
%if defined(%{noopt})
%define opt_label -noopt
%elif defined(%{medopt})
%define opt_label -medopt
%else
%define opt_label
%endif

# Used for labeling static linked builds (not required)
%if defined(%{static})
%define static_label -static
%else
%define static_label
%endif



#--------- Label --------------------------------------------------------------
# Arbitrary string, tags your binaries & directories.
#                  Two Suggestions:              # (1) Change this label as you try new ideas.
label                = ic18.0-lin-core-avx512-rate%{opt_label}%{static_label}-%{version}          # (2) Make the label meaningful to YOU.



#--------- Global Settings ----------------------------------------------------
# For info, see:
#            https://www.spec.org/auto/cpu2017/Docs/config.html#fieldname   XXX
#   Example: https://www.spec.org/auto/cpu2017/Docs/config.html#tune
     ########################################################
     #         ATTENTION     ATTENTION     ATTENTION
     ########################################################
     #
     #     NOTE If you change fail_build then PLEASE also
     #     change the line 'define version', because
     #     SPEC review tools use 'label' to track binaries.
     #
     ########################################################
     #
     # vvvvvvvvvvvv # do not change unless you read NOTE above
       fail_build=0 # do not change unless you read NOTE above
     # ^^^^^^^^^^^^ # do not change unless you read NOTE above
     #
     ########################################################
     #

action               = validate
command_add_redirect = 1
line_width           = 1020
log_line_width       = 1020
makeflags            = -j%{build_ncpus}
output_format        = txt,cfg,pdf,csv
preenv               = 1
tune                 = base
bench_post_setup     = sync
parallel_test        = 1
mean_anyway          = 1
reportable           = 1
copies               = 1

#Reference the flags Files
flagsurl000=http://www.spec.org/cpu2017/flags/Intel-ic18.0-official-linux64.2017-10-19.xml
flagsurl001 = http://www.spec.org/cpu2017/flags/Dell-Platform-Flags-PowerEdge14G-revD.xml
%ifdef %{default-platform-flags}
flagsurl2=Dell-Platform-Flags-PowerEdge14G-revC.xml
%endif

# Set some environment variables
preENV_LD_LIBRARY_PATH = $[top]/lib/ia32:$[top]/lib/intel64:$[top]/je5.0.1-32:$[top]/je5.0.1-64

# Affinitization
# For UP systems, we need to know if the processors are ordered across cores first or in order
# If across cores, processors 0, 1, 2 and 3 are on distinct physical cores
# Otherwise, processors 0, 2, 4 and 6 are on distinct physical cores

default:
submit       = numactl --localalloc --physcpubind=$SPECCOPYNUM -- $command

%ifdef %{no-numa}
submit       = taskset -c $SPECCOPYNUM $command
%endif


#--------- Compilers ----------------------------------------------------------
intrate,fprate:
   CC                      = icc -m64 -std=c11
   CXX                     = icpc -m64
   FC                      = ifort -m64

default:
   # How to say "Show me your version, please"
   CC_VERSION_OPTION       = --version
   CXX_VERSION_OPTION      = --version
   FC_VERSION_OPTION       = --version
   JEMALLOC32_DIR = /usr/local/je5.0.1-32/lib
   JEMALLOC64_DIR = /usr/local/je5.0.1-64/lib
%if !defined(%{static})
   JEMALLOC32             = jemalloc
   JEMALLOC64             = jemalloc
%else
   JEMALLOC32             = libjemalloc.a
   JEMALLOC64             = libjemalloc.a
%endif


#--------- Portability --------------------------------------------------------

intrate,fprate:
PORTABILITY= -DSPEC_LP64

500.perlbench_r:
CPORTABILITY = -DSPEC_LINUX_X64

521.wrf_r:
CPORTABILITY = -DSPEC_CASE_FLAG
FPORTABILITY= -convert big_endian

523.xalancbmk_r:
CXXPORTABILITY=-DSPEC_LINUX

526.blender_r:
CPORTABILITY= -DSPEC_LINUX -funsigned-char

527.cam4_r:
CPORTABILITY= -DSPEC_CASE_FLAG



#--------- How Many CPUs? -----------------------------------------------------
# Both SPECrate and SPECspeed can test multiple chips / cores / hw threads
#    - For SPECrate,  you set the number of copies.
# See: https://www.spec.org/cpu2017/Docs/system-requirements.html#MultipleCPUs
#
#    q. How many should I set?
#    a. Unknown, you will have to try it and see!
#
# To get you started, some suggestions:
#
#     copies - This config file defaults to testing only 1 copy.   You might
#              try changing it to match the number of cores on your system,
#              or perhaps the number of virtual CPUs as reported by:
#                     grep -c processor /proc/cpuinfo
#              Be sure you have enough memory.  See:
#              https://www.spec.org/cpu2017/Docs/system-requirements.html#memory
#
default:
   copies           = 1   # EDIT to change number of copies (see above)

#-------- Tuning Flags -------------------------------------------------
intspeed,fpspeed:
   #reconsider using a speed config file instead of a rate config file
   fail=1

intrate,fprate:
   SSE                     = -xCORE-AVX512

   EXTRA_FOPTIMIZE         = -nostandard-realloc-lhs -align array32byte

intrate=default:
   EXTRA_LIBS              = -L$(JEMALLOC64_DIR) -l$(JEMALLOC64)
   EXTRA_LDFLAGS           = -Wl,-z,muldefs

intrate=base:
%if defined(%{noopt})
   OPT_ROOT                = -O0
%elif defined(%{medopt})
   OPT_ROOT                = -O2
%else
   OPT_ROOT                = -ipo -O3 -no-prec-div
%endif
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC)  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT)
   CXXOPTIMIZE             = $(OPT_ROOT)
   FOPTIMIZE               = $(OPT_ROOT)
%endif
%else
   COPTIMIZE               = $(FAST)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST)  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT) -static
   CXXOPTIMIZE             = $(OPT_ROOT) -static
   FOPTIMIZE               = $(OPT_ROOT) -static
%endif
%endif

fprate=base:
%if defined(%{noopt})
   OPT_ROOT                = -O0
%elif defined(%{medopt})
   OPT_ROOT                = -O2
%else
   OPT_ROOT                = -ipo -O3 -no-prec-div
%endif
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT)
   CXXOPTIMIZE             = $(OPT_ROOT)
   FOPTIMIZE               = $(OPT_ROOT)
%endif
%else
   COPTIMIZE               = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT) -static
   CXXOPTIMIZE             = $(OPT_ROOT) -static
   FOPTIMIZE               = $(OPT_ROOT) -static
%endif
%endif

intrate=peak:
%if defined(%{noopt}) || defined(%{medopt})
   #not building or executing peak against less opt
   fail=1
%endif
   PASS1_CFLAGS               = -prof-gen
   PASS2_CFLAGS               = -prof-use
   PASS1_FFLAGS               = -prof-gen
   PASS2_FFLAGS               = -prof-use
   PASS1_CXXFLAGS             = -prof-gen
   PASS2_CXXFLAGS             = -prof-use
   PASS1_LDFLAGS              = -prof-gen
   PASS2_LDFLAGS              = -prof-use
   OPT_ROOT                   = -ipo -O3 -no-prec-div
   FAST_NO_STATIC_PASS1       = $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS1  = $(OPT_ROOT)
   FAST_PASS1                 = $(OPT_ROOT) -static
   FORT_FAST_PASS1            = $(OPT_ROOT) -static
   FAST_NO_STATIC_PASS2       = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS2  = $(SSE) $(OPT_ROOT)
   FAST_PASS2                 = $(SSE) $(OPT_ROOT) -static
   FORT_FAST_PASS2            = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   PASS1_COPTIMIZE            = $(FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
%else
   PASS1_COPTIMIZE            = $(FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_PASS2)   -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_PASS2)   -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_PASS2)   -qopt-mem-layout-trans=3
%endif

fprate=peak:
%if defined(%{noopt}) || defined(%{medopt})
   #not building or executing peak against less opt
   fail=1
%endif
   PASS1_CFLAGS               = -prof-gen
   PASS2_CFLAGS               = -prof-use
   PASS1_FFLAGS               = -prof-gen
   PASS2_FFLAGS               = -prof-use
   PASS1_CXXFLAGS             = -prof-gen
   PASS2_CXXFLAGS             = -prof-use
   PASS1_LDFLAGS              = -prof-gen
   PASS2_LDFLAGS              = -prof-use
   OPT_ROOT                   = -ipo -O3 -no-prec-div
   FAST_NO_STATIC_PASS1       = $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS1  = $(OPT_ROOT)
   FAST_PASS1                 = $(OPT_ROOT) -static
   FORT_FAST_PASS1            = $(OPT_ROOT) -static
   FAST_NO_STATIC_PASS2       = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS2  = $(SSE) $(OPT_ROOT)
   FAST_PASS2                 = $(SSE) $(OPT_ROOT) -static
   FORT_FAST_PASS2            = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   PASS1_COPTIMIZE            = $(FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%else
   PASS1_COPTIMIZE            = $(FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%endif

#some benchmarks do not want to share a core
%ifdef %{smt-on}
%define numpeakcopies %{cores}

510.parest_r,521.wrf_r,554.roms_r=peak:
   copies = %{numpeakcopies}
%endif

500.perlbench_r=peak=default:
#[56]00.perlbench[rs] has non standard signed overflow
   EXTRA_OPTIMIZE             = -fno-strict-overflow

525.x264_r=peak:
   EXTRA_OPTIMIZE          = -fno-alias

502.gcc_r,523.xalancbmk_r=peak:
   CC                      = icc -m32 -std=c11 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   CXX                     = icpc -m32 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   FC                      = ifort -m32 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   EXTRA_LIBS              = -L$(JEMALLOC32_DIR) -l$(JEMALLOC32)
   EXTRA_LDFLAGS           = -Wl,-z,muldefs
#Change portability for 32b, large file support for safety
   PORTABILITY             = -D_FILE_OFFSET_BITS=64

#int rate subset for removing FDO

505.mcf_r,525.x264_r,548.exchange2_r,557.xz_r=peak=default:
   feedback                = 0
   OPT_ROOT                = -ipo -O3 -no-prec-div
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static
%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC)  -qopt-mem-layout-trans=3
%else
   COPTIMIZE               = $(FAST)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST)  -qopt-mem-layout-trans=3
%endif

#fp rate subset for removing FDO
503.bwaves_r,538.imagick_r,549.fotonik3d_r=peak=default:
   feedback                = 0
   OPT_ROOT                = -ipo -O3 -no-prec-div

   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%else
   COPTIMIZE               = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%endif



#-------------------------------------------------------------------------------
# Tester and System Descriptions - EDIT the sections below
#-------------------------------------------------------------------------------
#   For info about any field, see
#             https://www.spec.org/auto/cpu2017/Docs/config.html#fieldname
#   Example:  https://www.spec.org/auto/cpu2017/Docs/config.html#hw_memory
#-------------------------------------------------------------------------------

#--------- If you install new compilers, EDIT this section --------------------

intrate,intspeed,fpspeed,fprate:
   sw_compiler000   = C/C++: Version 18.0.0.128 of Intel C/C++
   sw_compiler001   = Compiler for Linux;
   sw_compiler002   = Fortran: Version 18.0.0.128 of Intel Fortran
   sw_compiler003   = Compiler for Linux
   sw_base_ptrsize  = 64-bit

fprate,fpspeed:
   sw_peak_ptrsize  = 64-bit

intrate,intspeed:
   sw_peak_ptrsize  = 32/64-bit
   sw_other001      = jemalloc: jemalloc memory allocator library V5.0.1;
   sw_other002      = jemalloc: configured and built at default for 32bit (i686) and 64bit (x86_64) targets;
   sw_other003      = jemalloc: built with the RedHat Enterprise 7.4, and the system compiler gcc 4.8.5;
   sw_other004      = jemalloc: sources available via jemalloc.net;

#--------- EDIT Your info ---------------------------------------------------------
# To understand the difference between hw_vendor/sponsor/tester, see:
#     www.spec.org/auto/cpu2017/Docs/config.html#test_sponsor
intrate,intspeed,fprate,fpspeed: # Important: keep this line
   hw_vendor          = Dell Inc.
   tester             = Dell Inc.
   test_sponsor       = Dell Inc.
   license_num        = 55
   prepared_by        = Dell Inc.

#--------- EDIT system availability dates and system information ----------------------------------------------
intrate,intspeed,fprate,fpspeed: # Important: keep this line
                        # Example                             # Brief info about field
   hw_avail           = Sep-2017                            # Date of LAST hardware component to ship
   sw_avail           = Sep-2017
# Nov-2099                            # Date of LAST software component to ship
   hw_cpu_nominal_mhz = 2000
   hw_cpu_max_mhz     = 3700
   hw_ncores          = 52
   hw_nthreadspercore = 2                                   # number threads enabled per core
   hw_ncpuorder       = 1,2 chips

   hw_model000        = PowerEdge FC640 (Intel Xeon Platinum 8164, 2.00
hw_model001 = GHz)
   hw_other           = None              # Other perf-relevant hw, or "None"
   sw_other           = None              # Other perf-relevant sw, or "None"

   hw_pcache          = 32 KB I + 32 KB D on chip per core  # Primary cache size, type, location
   hw_scache          = 1 MB I+D on chip per core       # Second cache or "None"
   hw_tcache          = 35.75 MB I+D on chip per chip
   hw_ocache          = None  # Other cache or "None"

   hw_memory000       =  192 GB (12 x 16 GB 2Rx8 PC4-2666V-R) # N GB (M x N GB nRxn
#   hw_memory002       = # running at 1600 MHz)                # PCn-nnnnnR-n[, ECC and other info])


#--------- Sysinfo fields - You may need to adjust this section ---------------
# Note: Some commented-out fields above are automatically set to preliminary
# values by sysinfo
#       www.spec.org/auto/cpu2017/Docs/config.html#sysinfo
# Uncomment lines for which you already have a better answer than sysinfo
#
intrate,intspeed,fprate,fpspeed: # Important: keep this line
                        # Example               # Brief info about field
 # hw_cpu_name        = # Intel Xeon E9-9999 v9               # chip name
 # hw_disk            = # 9 x 9 TB SATA III 9999 RPM          # Size, type, other perf-relevant info
 # hw_nchips          = # 99                                  # number chips enabled
 # sw_file            = # ext99                               # File system
 # sw_state           = # Run level 99                        # Software state.

 # sw_os001           = # Linux Sailboat                      # Operating system
 # sw_os002           = # Distribution 7.2 SP1                # and version



#--------- EDIT Intel Recommended Fields - You may wish to adjust this section -----

default:
   notes_015        = Binaries compiled on a system with 1x Intel Core i7-4790 CPU + 32GB RAM
   notes_020        = memory using Redhat Enterprise Linux 7.4
   notes_os_000     = Stack size set to unlimited using "ulimit -s unlimited"
#Ease of tagging results from the runcpu command line with commands run outside of runcpu harneess
#Adjust as necessary for your SUT
%if defined(%{THP_enabled})
   notes_200        = Transparent Huge Pages enabled with:
   notes_201        = echo always > /sys/kernel/mm/transparent_hugepage/enabled
%elif defined(%{THP_disabled})
   notes_200        = Transparent Huge Pages disabled with:
   notes_201        = echo never  > /sys/kernel/mm/transparent_hugepage/enabled
%else
   notes_025        = Transparent Huge Pages enabled by default
%endif

%ifdef %{drop_caches}
   notes_030        = Prior to runcpu invocation
   notes_035        = Filesystem page cache synced and cleared with:
   notes_040        = sync; echo 3>       /proc/sys/vm/drop_caches
%endif

%ifdef %{invoke_with_interleave}
   notes_045        = runcpu command invoked through numactl i.e.:
   notes_050        = numactl --interleave=all runcpu <etc>
notes_055 =No: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Meltdown)
notes_060 =is mitigated in the system as tested and documented.
notes_065 =No: The test sponsor attests, as of date of publication, that CVE-2017-5753 (Spectre variant 1)
notes_070 =is mitigated in the system as tested and documented.
notes_075 =No: The test sponsor attests, as of date of publication, that CVE-2017-5715 (Spectre variant 2)
notes_080 =is mitigated in the system as tested and documented.
notes_085 =
notes_090 =This benchmark result is intended to provide perspective on
notes_095 =past performance using the historical hardware and/or
notes_100 =software described on this result page.
notes_105 =
notes_110 =The system as described on this result page was formerly
notes_115 =generally available.  At the time of this publication, it may
notes_120 =not be shipping, and/or may not be supported, and/or may fail
notes_125 =to meet other tests of General Availability described in the
notes_130 =SPEC OSG Policy document, http://www.spec.org/osg/policy.html
notes_135 =
notes_140 =This measured result may not be representative of the result
notes_145 =that would be measured were this benchmark run with hardware
notes_150 =and software available as of the publication date.
%endif

intrate,fprate:
%if defined(%{no-numa})
   notes_submit_000 = The taskset mechanism was used to bind copies to processors. The config file option 'submit'
   notes_submit_001 = was used to generate taskset commands to bind each copy to a specific processor.
   notes_submit_002 = For details, please see the config file.
%else
   notes_submit_000 = The numactl mechanism was used to bind copies to processors. The config file option 'submit'
   notes_submit_005 = was used to generate numactl commands to bind each copy to a specific processor.
   notes_submit_010 = For details, please see the config file.
%endif



# The following settings were obtained by running the sysinfo_program
# 'specperl $[top]/bin/sysinfo' (sysinfo:SHA:ecd2bef08f316af97f5a7768b641e2a3307c1b4b68efb5a57fa76367d790d233)
default:
notes_plat_sysinfo_000 = Sysinfo program /root/cpu2017/bin/sysinfo
notes_plat_sysinfo_005 = Rev: r5797 of 2017-06-14 96c45e4568ad54c135fd618bcc091c0f
notes_plat_sysinfo_010 = running on linux-u8yg Fri Nov 17 03:09:28 2017
notes_plat_sysinfo_015 =
notes_plat_sysinfo_020 = SUT (System Under Test) info as seen by some common utilities.
notes_plat_sysinfo_025 = For more information on this section, see
notes_plat_sysinfo_030 =    https://www.spec.org/cpu2017/Docs/config.html#sysinfo
notes_plat_sysinfo_035 =
notes_plat_sysinfo_040 = From /proc/cpuinfo
notes_plat_sysinfo_045 =    model name : Intel(R) Xeon(R) Platinum 8164 CPU @ 2.00GHz
notes_plat_sysinfo_050 =       2  "physical id"s (chips)
notes_plat_sysinfo_055 =       104 "processors"
notes_plat_sysinfo_060 =    cores, siblings (Caution: counting these is hw and system dependent. The following
notes_plat_sysinfo_065 =    excerpts from /proc/cpuinfo might not be reliable.  Use with caution.)
notes_plat_sysinfo_070 =       cpu cores : 26
notes_plat_sysinfo_075 =       siblings  : 52
notes_plat_sysinfo_080 =       physical 0: cores 0 1 2 3 4 5 6 8 9 10 11 12 13 16 17 18 19 20 21 22 24 25 26 27 28
notes_plat_sysinfo_085 =       29
notes_plat_sysinfo_090 =       physical 1: cores 0 1 2 3 4 5 6 8 9 10 11 12 13 16 17 18 19 20 21 22 24 25 26 27 28
notes_plat_sysinfo_095 =       29
notes_plat_sysinfo_100 =
notes_plat_sysinfo_105 = From lscpu:
notes_plat_sysinfo_110 =      Architecture:          x86_64
notes_plat_sysinfo_115 =      CPU op-mode(s):        32-bit, 64-bit
notes_plat_sysinfo_120 =      Byte Order:            Little Endian
notes_plat_sysinfo_125 =      CPU(s):                104
notes_plat_sysinfo_130 =      On-line CPU(s) list:   0-103
notes_plat_sysinfo_135 =      Thread(s) per core:    2
notes_plat_sysinfo_140 =      Core(s) per socket:    26
notes_plat_sysinfo_145 =      Socket(s):             2
notes_plat_sysinfo_150 =      NUMA node(s):          4
notes_plat_sysinfo_155 =      Vendor ID:             GenuineIntel
notes_plat_sysinfo_160 =      CPU family:            6
notes_plat_sysinfo_165 =      Model:                 85
notes_plat_sysinfo_170 =      Model name:            Intel(R) Xeon(R) Platinum 8164 CPU @ 2.00GHz
notes_plat_sysinfo_175 =      Stepping:              4
notes_plat_sysinfo_180 =      CPU MHz:               2000.090
notes_plat_sysinfo_185 =      BogoMIPS:              4000.18
notes_plat_sysinfo_190 =      Virtualization:        VT-x
notes_plat_sysinfo_195 =      L1d cache:             32K
notes_plat_sysinfo_200 =      L1i cache:             32K
notes_plat_sysinfo_205 =      L2 cache:              1024K
notes_plat_sysinfo_210 =      L3 cache:              36608K
notes_plat_sysinfo_215 =      NUMA node0 CPU(s):
notes_plat_sysinfo_220 =      0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100
notes_plat_sysinfo_225 =      NUMA node1 CPU(s):
notes_plat_sysinfo_230 =      1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101
notes_plat_sysinfo_235 =      NUMA node2 CPU(s):
notes_plat_sysinfo_240 =      2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102
notes_plat_sysinfo_245 =      NUMA node3 CPU(s):
notes_plat_sysinfo_250 =      3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103
notes_plat_sysinfo_255 =      Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
notes_plat_sysinfo_260 =      pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp
notes_plat_sysinfo_265 =      lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
notes_plat_sysinfo_270 =      aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg
notes_plat_sysinfo_275 =      fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes
notes_plat_sysinfo_280 =      xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm intel_pt
notes_plat_sysinfo_285 =      tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2
notes_plat_sysinfo_290 =      erms invpcid rtm cqm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd
notes_plat_sysinfo_295 =      avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc
notes_plat_sysinfo_300 =
notes_plat_sysinfo_305 = /proc/cpuinfo cache data
notes_plat_sysinfo_310 =    cache size : 36608 KB
notes_plat_sysinfo_315 =
notes_plat_sysinfo_320 = From numactl --hardware  WARNING: a numactl 'node' might or might not correspond to a
notes_plat_sysinfo_325 = physical chip.
notes_plat_sysinfo_330 =   available: 4 nodes (0-3)
notes_plat_sysinfo_335 =   node 0 cpus: 0 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96
notes_plat_sysinfo_340 =   100
notes_plat_sysinfo_345 =   node 0 size: 46971 MB
notes_plat_sysinfo_350 =   node 0 free: 46604 MB
notes_plat_sysinfo_355 =   node 1 cpus: 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97
notes_plat_sysinfo_360 =   101
notes_plat_sysinfo_365 =   node 1 size: 48369 MB
notes_plat_sysinfo_370 =   node 1 free: 48107 MB
notes_plat_sysinfo_375 =   node 2 cpus: 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 66 70 74 78 82 86 90 94 98
notes_plat_sysinfo_380 =   102
notes_plat_sysinfo_385 =   node 2 size: 48369 MB
notes_plat_sysinfo_390 =   node 2 free: 48070 MB
notes_plat_sysinfo_395 =   node 3 cpus: 3 7 11 15 19 23 27 31 35 39 43 47 51 55 59 63 67 71 75 79 83 87 91 95 99
notes_plat_sysinfo_400 =   103
notes_plat_sysinfo_405 =   node 3 size: 48366 MB
notes_plat_sysinfo_410 =   node 3 free: 48087 MB
notes_plat_sysinfo_415 =   node distances:
notes_plat_sysinfo_420 =   node   0   1   2   3
notes_plat_sysinfo_425 =     0:  10  21  11  21
notes_plat_sysinfo_430 =     1:  21  10  21  11
notes_plat_sysinfo_435 =     2:  11  21  10  21
notes_plat_sysinfo_440 =     3:  21  11  21  10
notes_plat_sysinfo_445 =
notes_plat_sysinfo_450 = From /proc/meminfo
notes_plat_sysinfo_455 =    MemTotal:       196687100 kB
notes_plat_sysinfo_460 =    HugePages_Total:       0
notes_plat_sysinfo_465 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_470 =
notes_plat_sysinfo_475 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_480 =    SuSE-release:
notes_plat_sysinfo_485 =       SUSE Linux Enterprise Server 12 (x86_64)
notes_plat_sysinfo_490 =       VERSION = 12
notes_plat_sysinfo_495 =       PATCHLEVEL = 2
notes_plat_sysinfo_500 =       # This file is deprecated and will be removed in a future service pack or release.
notes_plat_sysinfo_505 =       # Please check /etc/os-release for details about this release.
notes_plat_sysinfo_510 =    os-release:
notes_plat_sysinfo_515 =       NAME="SLES"
notes_plat_sysinfo_520 =       VERSION="12-SP2"
notes_plat_sysinfo_525 =       VERSION_ID="12.2"
notes_plat_sysinfo_530 =       PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
notes_plat_sysinfo_535 =       ID="sles"
notes_plat_sysinfo_540 =       ANSI_COLOR="0;32"
notes_plat_sysinfo_545 =       CPE_NAME="cpe:/o:suse:sles:12:sp2"
notes_plat_sysinfo_550 =
notes_plat_sysinfo_555 = uname -a:
notes_plat_sysinfo_560 =    Linux linux-u8yg 4.4.16-56-default #1 SMP Mon Aug 8 14:24:26 UTC 2016 (5b281a8) x86_64
notes_plat_sysinfo_565 =    x86_64 x86_64 GNU/Linux
notes_plat_sysinfo_570 =
notes_plat_sysinfo_575 = run-level 3 Nov 16 04:03
notes_plat_sysinfo_580 =
notes_plat_sysinfo_585 = SPEC is set to: /root/cpu2017
notes_plat_sysinfo_590 =    Filesystem     Type   Size  Used Avail Use% Mounted on
notes_plat_sysinfo_595 =    /dev/sda1      btrfs  921G   35G  885G   4% /
notes_plat_sysinfo_600 =
notes_plat_sysinfo_605 = Additional information from dmidecode follows.  WARNING: Use caution when you interpret
notes_plat_sysinfo_610 = this section. The 'dmidecode' program reads system data which is "intended to allow
notes_plat_sysinfo_615 = hardware to be accurately determined", but the intent may not be met, as there are
notes_plat_sysinfo_620 = frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_625 =   BIOS Dell Inc. 1.1.3 09/21/2017
notes_plat_sysinfo_630 =   Memory:
notes_plat_sysinfo_635 =    3x 002C00B3002C 18ASF2G72PDZ-2G6D1 16 GB 2 rank 2666
notes_plat_sysinfo_640 =    9x 00AD00B300AD HMA82GR7AFR8N-VK 16 GB 2 rank 2666
notes_plat_sysinfo_645 =    4x Not Specified Not Specified
notes_plat_sysinfo_650 =
notes_plat_sysinfo_655 = (End of data from sysinfo program)
hw_cpu_name    = Intel Xeon Platinum 8164
hw_disk        = 960 GB SATA SSD
hw_memory001   = 187.575 GB fixme: If using DDR3, format is:
hw_nchips      = 2
prepared_by    = root  (is never output, only tags rawfile)
fw_bios = Version 1.1.3 released Sep-2017
sw_file        = btrfs
sw_os000       = SUSE Linux Enterprise Server 12 SP2 (x86_64)
sw_os001       = 4.4.16-56-default
sw_state       = Run level 3 (multi-user)
# End of settings added by sysinfo_program


# 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:
notes_000 =Environment variables set by runcpu before the start of the run:
notes_005 =LD_LIBRARY_PATH = "/root/cpu2017/lib/ia32:/root/cpu2017/lib/intel64:/root/cpu2017/je5.0.1-32:/root/cpu2017/je5.0.1-64"
notes_010 =
notes_plat_000 =BIOS settings:
notes_plat_005 =Virtualization Technology disabled
notes_plat_010 =System Profile set to Custom
notes_plat_015 =CPU Power Management set to Maximum Performance
notes_plat_020 =Memory Frequency set to Maximum Performance
notes_plat_025 =Turbo Boost enabled
notes_plat_030 =C States disabled
notes_plat_035 =Memory Patrol Scrub disabled
notes_plat_040 =PCI ASPM L1 Link Power Management disabled