diff --git a/RELEASE_NOTES b/RELEASE_NOTES index fbd5c92..1eb70b2 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -2,10 +2,15 @@ RELEASE NOTES IntelĀ® System Health Inspector (AKA svr-info) Fully Supported Platforms -- Xeon Micro-Architectures: SRF,EMR,SPR,CPX,ICX,CLX,SKX,BDX,HSX +- Xeon Micro-Architectures: GNR,SRF,EMR,SPR,CPX,ICX,CLX,SKX - Operating Systems: Ubuntu 18.04, 20.04, 22.04, 24.04, CentOS 7, Amazon Linux 2, Debian 11, RHEL 9, Rocky Linux 8 Note: svr-info may work on other micro-architectures and Linux distributions, but has not been thoroughly tested +2.11.1 +Bugs Fixed +- Fix frequency benchmark on GNR +- Add ELC mode for compute dies on SRF and GNR + 2.11.0 Features Added - Report Efficiency Latency Control (ELC) configuration on SRF and GNR diff --git a/builder/build b/builder/build index 3da15e1..c07d9da 100755 --- a/builder/build +++ b/builder/build @@ -2,11 +2,21 @@ # run this script from repo's root directory # set GITHUB_ACCESS_TOKEN environment variable to your token, if you want to build MLC - +set -x +set -e TAG=v1 # build third-party components image docker build -f third_party/build.Dockerfile --build-arg GITHUB_ACCESS_TOKEN="${GITHUB_ACCESS_TOKEN}" --tag svr-info-third-party:$TAG ./third_party +# Create a temporary container +id=$(docker create svr-info-third-party:$TAG foo) + +# Copy the files from the container to your local disk +# Note: not used in build process, but useful to have around +docker cp "$id":/bin ./third_party + +# Remove the temporary container +docker rm "$id" # build go cmd builder image docker build -f cmd/build.Dockerfile --tag svr-info-cmd-builder:$TAG . diff --git a/builder/build.Dockerfile b/builder/build.Dockerfile index e161e39..41fba8b 100644 --- a/builder/build.Dockerfile +++ b/builder/build.Dockerfile @@ -11,7 +11,7 @@ ARG TAG= FROM ${REGISTRY}${PREFIX}svr-info-third-party:${TAG} AS third-party # STAGE 2- image contains svr-info's Go components build environment -FROM ${REGISTRY}${PREFIX}svr-info-cmd-builder:${TAG} as svr-info +FROM ${REGISTRY}${PREFIX}svr-info-cmd-builder:${TAG} AS svr-info RUN mkdir /prebuilt RUN mkdir /prebuilt/third-party RUN mkdir /prebuilt/bin diff --git a/cmd/orchestrator/resources/collector_reports.yaml.tmpl b/cmd/orchestrator/resources/collector_reports.yaml.tmpl index 5b5f852..122f09c 100644 --- a/cmd/orchestrator/resources/collector_reports.yaml.tmpl +++ b/cmd/orchestrator/resources/collector_reports.yaml.tmpl @@ -560,8 +560,75 @@ commands: done - label: avx-turbo command: |- + # Function to expand a range of numbers, e.g. "0-24", into an array of numbers + expand_range() { + local range=$1 + local expanded=() + IFS=',' read -ra parts <<< "$range" + for part in "${parts[@]}"; do + if [[ $part == *-* ]]; then + IFS='-' read -ra limits <<< "$part" + for ((i=${limits[0]}; i<=${limits[1]}; i++)); do + expanded+=("$i") + done + else + expanded+=("$part") + fi + done + echo "${expanded[@]}" + } + + # Get the number of NUMA nodes and sockets + num_nodes=$(lscpu | grep 'NUMA node(s):' | awk '{print $3}') + num_sockets=$(lscpu | grep 'Socket(s):' | awk '{print $2}') + + # echo "Number of NUMA nodes: $num_nodes" + # echo "Number of sockets: $num_sockets" + + # Calculate the number of NUMA nodes per socket + nodes_per_socket=$((num_nodes / num_sockets)) + + # Array to hold the expanded core lists for each NUMA node + declare -a core_lists + + # Loop through each NUMA node in the first socket and expand the core IDs + for ((i=0; i max_length )); then + max_length=${#core_array[@]} + fi + done + + # Interleave the core IDs + for ((i=0; i oss_source.tgz.md5 diff --git a/third_party/build.Dockerfile b/third_party/build.Dockerfile index 0c72d59..7cb9804 100644 --- a/third_party/build.Dockerfile +++ b/third_party/build.Dockerfile @@ -4,8 +4,10 @@ # build image (third_party directory): # $ GITHUB_ACCESS_TOKEN= # $ docker image build -f build.Dockerfile --tag svr-info-third-party:v1 . -FROM ubuntu:18.04 as builder -ENV LANG en_US.UTF-8 +FROM ubuntu:18.04 AS builder +ENV http_proxy=${http_proxy} +ENV https_proxy=${https_proxy} +ENV LANG=en_US.UTF-8 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y apt-utils locales wget curl git netcat-openbsd software-properties-common jq zip unzip RUN locale-gen en_US.UTF-8 && echo "LANG=en_US.UTF-8" > /etc/default/locale @@ -24,9 +26,9 @@ RUN cp /usr/local/lib/libz.a /usr/lib/x86_64-linux-gnu/libz.a RUN mkdir workdir COPY Makefile workdir/ ARG GITHUB_ACCESS_TOKEN -ENV GITHUB_ACCESS_TOKEN ${GITHUB_ACCESS_TOKEN} +ENV GITHUB_ACCESS_TOKEN=${GITHUB_ACCESS_TOKEN} RUN cd workdir && make -j4 tools && make oss-source -FROM scratch as output +FROM scratch AS output COPY --from=builder workdir/bin /bin COPY --from=builder workdir/oss_source* / diff --git a/version.txt b/version.txt index ed0edc8..c200bec 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.11.0 \ No newline at end of file +2.11.1 \ No newline at end of file