#!/usr/bin/env bash # Campaign 3 (2026-05-31): the uncapped d2048/o128 reuse sweep stalled on a # collapse-draining high-reuse PD arm (4P+4D @ reuse 0.90, ~1 req/several-min). # Finish it by re-running ONLY the high-reuse points (0.90, 0.95) WITH the PD # wall-cap (low-reuse arms already completed and are cap-insensitive). Then run # the capped conc sweep. STRICTLY serial. NO set -e. cd /home/admin/cpfs/wjh/agentic-kv-fresh export MB5_VENV="${MB5_VENV:-/home/admin/cpfs/wjh/agentic-kv-fresh/.venv_dash0}" FS=microbench/fresh_setup echo "=== CAMPAIGN3 START $(date) ===" echo "=== [1/2] finish reuse d2048/o128: re-run pts pfx=18432,38912 (PD capped 500s) $(date) ===" DELTA=2048 OL=128 PFXS="18432 38912" REUSE_PD_MAXDUR=500 bash "$FS/run_reuse_fixed.sh"; rc1=$? echo "=== reuse d2048 o128 finish rc=$rc1 $(date) ===" sleep 12; nvidia-smi --query-gpu=index,memory.used --format=csv,noheader | head -8 echo "=== [2/2] CONC capped (PD wall=600s, colo uncapped), N 8..128 $(date) ===" NLIST="8 16 32 48 64 96 128" CONC_PD_MAXDUR=600 bash "$FS/run_conc.sh"; rc2=$? echo "=== conc rc=$rc2 $(date) ===" echo "=== CAMPAIGN3 DONE reuse_finish=$rc1 conc=$rc2 $(date) ==="