Remove Phoronix Test Suite

Drops the optional RUN_PTS group, the pts-core phase, and every Phoronix
reference from the scripts and docs. The suite is now just PassMark, the
bundled llama.cpp, the app workloads, and the quick tools.
This commit is contained in:
smill 2026-09-29 21:21:06 -04:00
commit 13da8e986a
5 changed files with 22 additions and 57 deletions

View file

@ -24,7 +24,6 @@
# Env options:
# INSTALL_DEPS=1 auto-install missing tools via sudo dnf (fresh Fedora)
# default is 'ask' (prompts); 0 disables
# RUN_PTS=1 add the 3 short Phoronix tests (needs download cache)
# RUN_GPU=0 skip the headed GPU tests in 'all' mode
# TOOLS=/path where PassMark lives (default ./tools)
# FIOFILE=/path fio scratch file (must be on the target filesystem)
@ -99,7 +98,6 @@ TAG="$TAG_BASE"
[[ "$PART" != "all" ]] && TAG="$TAG-$PART"
RUN_GPU="${RUN_GPU:-1}"
RUN_PTS="${RUN_PTS:-0}"
TOOLS="${TOOLS:-$DIR/tools}"
if [[ -z "${PT:-}" ]]; then
for cand in "$TOOLS/pt/pt_linux_x64" \
@ -115,12 +113,12 @@ LLAMA_MODEL="${LLAMA_MODEL:-$LLAMA_DIR/models/MiniCPM5-2B-Q8_0.gguf}"
LLAMA_NGL="${LLAMA_NGL:-0}" # 0 = CPU/RAM only (no GPU offload)
LLAMA_TG="${LLAMA_TG:-128}" # generated tokens
LLAMA_REPS="${LLAMA_REPS:-2}"
# App workloads (no Phoronix Test Suite): stock distro applications run over a
# App workloads: stock distro applications run over a
# fixed sample corpus, fetched once and checksum-pinned, then cached under
# CORPUS and reused by every run so both sides process identical input bytes.
RUN_APPS="${RUN_APPS:-1}"
CORPUS="${CORPUS:-$TOOLS/corpus}"
CORPUS_URL="${CORPUS_URL:-http://phoronix-test-suite.com/benchmark-files}"
CORPUS_URL="${CORPUS_URL:-http://phoronix-test-suite.com/benchmark-files}" # sample-file CDN
SAMPLER="$DIR/powerlog.py"
REPORT="$DIR/power-report.py"
PHASES="$RES/phases-$TAG.csv"
@ -258,7 +256,7 @@ parse_passmark() { # $1 = yml, $2 = phase name, $3 = suite ("cpu"|"mem")
}' "$yml"
}
# --- app workloads: fixed corpora + timing (no Phoronix Test Suite) -----------
# --- app workloads: fixed corpora + timing ------------------------------------
# Each app benchmark runs the stock command-line tool over a fixed input set and
# reports a rate (items/s, higher is better) so the score/W table stays meaningful.
fetch_corpus() { # $1=file $2=url $3=sha256 -> ensures $CORPUS/<file> is present
@ -390,7 +388,7 @@ doctor() {
printf 'model: %s\n' "$([ -f "$LLAMA_MODEL" ] && echo "$LLAMA_MODEL ($(du -h "$LLAMA_MODEL" 2>/dev/null | cut -f1))" || echo "MISSING ($LLAMA_MODEL)")"
printf 'tools:\n'
for t in 7z openssl sysbench fio stress-ng sensors turbostat cpupower \
glmark2 vkmark glxinfo vulkaninfo phoronix-test-suite nproc; do
glmark2 vkmark glxinfo vulkaninfo nproc; do
printf ' %-22s %s\n' "$t" "$(command -v "$t" || echo MISSING)"
done
printf 'apps:\n'
@ -454,7 +452,6 @@ run_env() {
lscpu
free -h
lsblk
have phoronix-test-suite && phoronix-test-suite version
have stress-ng && stress-ng --version
have glxinfo && glxinfo -B 2>/dev/null
have vulkaninfo && vulkaninfo --summary 2>/dev/null | head -70
@ -501,7 +498,7 @@ run_llama() {
reg_score "llama-tg" "$tg"
}
# --- app workloads (stock apps + fixed corpora; no Phoronix Test Suite) -------
# --- app workloads (stock apps + fixed corpora) -------------------------------
# Phases and score names are the benchmark names: libreoffice gegl inkscape gimp.
# Each registers a rate (items/s) so higher stays better for the score/W table.
@ -810,12 +807,6 @@ run_headless() {
systemd-analyze | tee "systemd-analyze-$TAG.txt"
systemd-analyze blame | head -20 >> "systemd-analyze-$TAG.txt"
fi
if [[ "$RUN_PTS" == "1" ]] && have phoronix-test-suite; then
section "PHORONIX TEST SUITE (core)"
phase "pts-core"
phoronix-test-suite benchmark pts/build-linux-kernel pts/c-ray pts/stream
fi
}
run_headed() {