Repository navigation
Releases
Releases · bramvanoploo/strata-performance-setup
v1.6.0
Changes
- macOS (Apple Silicon / Metal /
launchd) Platform & Service Support:- Added Bash 4.3+ bootstrap auto-re-exec for macOS (
/bin/bash3.2 -> Homebrew/MacPorts/Nix Bash 4.3+ with interactivebrew install bashprompt), HomebrewPATHand formula helpers (pkg_installed,pkg_available,pkg_install),has_working_python3(guarding macOS/usr/bin/python3Xcode CLT stub),file_mtime, BSDwc -ltrimming, and Bash 5.2+patsub_replacement-safe_xml_escape. - Added Darwin / Apple Silicon hardware detection (
detect_platform_basics,detect_environment): SoC brand, P+E core split, unified memory capacity, GPU core count and Metal version (system_profiler SPDisplaysDataType),iogpu.wired_limit_mb,pmsetHigh Power Mode capability, and MacBook /InternalBatterylaptop detection. - Implemented
launchdservice management (install_service,service_ctl,remove_service,service_installed,unit_enabled,unit_active): mapsstrata.serviceto user LaunchAgentcom.strata.server(~/Library/LaunchAgents/com.strata.server.plistwithAbandonProcessGroup=true,~/Library/Logs/strata*.log, and dynamic~/.config/strata/macos-metal-env.shloading) and root helpers to system LaunchDaemons (com.strata.<name>). - Added
MACOS_ALLOWED_STEPSfiltering inbuild_active_stepsand surfacedformat_strata_hw_warnings(Intel Macx86_64, macOS< 15,< 16 GiBunified memory, and16–48 GiBSSD expert streaming tier) in both the TUI and--check.
- Added Bash 4.3+ bootstrap auto-re-exec for macOS (
- macOS Optimization Steps:
macos_wired_limit(5★,[OPT]): Raisessysctl iogpu.wired_limit_mbabove macOS's ~75% Metal residency cap with per-tier safe OS headroom recommendations (24–128+GiB) and persists it via LaunchDaemon (com.strata.macos-wired-limit).macos_power_mode(4★, excluded from[L]): Enables High Power Mode (pmset powermode 2, where supported on Max/Ultra Macs) and disables Low Power Mode (scoped to-cAC power on MacBooks) with idempotent baseline preservation.macos_spotlight_exclude(4★,[L]): Places reversible.metadata_never_indexmarkers in Strata data, cache, and model folders (~/.local/share/strata,~/.cache/strata,~/.strata,~/Documents/Strata, plus optional custom paths) to prevent Spotlightmds_storesSSD I/O contention during expert streaming.macos_metal_tuning(4★,[OPT]): Configures Strata Metal engine environment switches (STRATA_METAL_F16=1,STRATA_MACOS_SENSORS=1,STRATA_METAL_PROMPT_CHUNK,STRATA_METAL_ARENA_GB,STRATA_METAL_WIRE_ARENA=0) in~/.config/strata/macos-metal-env.conf&macos-metal-env.shwith optional~/.zprofileintegration.prevent_sleep(1★, excluded from[L]): Extended to macOS viapmset(sleep 0,standby 0,autopoweroff 0,powernap 0, and optional closed-clamshelldisablesleep 1) with idempotent snapshot and restore.
- Apple Hardware on Linux & Live Telemetry:
apple_smc_cooling(3★, excluded from[L]): Detects Intel Macs running Linux via DMI /applesmcand configures either an aggressivembpfanthermal curve or a persistentapplesmcsysfs manual fan speed floor, restoring automatic SMC control on revert.- Asahi Linux Detection: Detects Apple Silicon running Linux (
aarch64+apple,*device-tree) and displays an advisory note regarding upstream Strata Metal / Linux ARM64 engine support while hiding Intel Macapplesmcfan steps. - Live Dashboard & Benchmark Power Sampler: Added macOS CPU (
host_statistics/ps), RAM (vm_stat), Apple Silicon GPU utilization & wired unified memory (ioreg -c IOAcceleratorwithRenderer Utilization %andAlloc system memoryfallbacks), andpowermetricsGPU/CPU/Combined/ANE wattage & thermal pressure inprint_live_statsandstart_bench_power_sampler, plusapplesmcCPU temperature sensor labels on Linux.
Full Changelog: v1.5.0...v1.6.0
v1.5.0
Changes
- NVIDIA Tesla & Datacenter Hardening:
- Expanded detection across Kepler (
K10–K80), Maxwell (M4–M60), Pascal (P4–P100), Volta (V100sm_70), Turing/Ampere/Ada/Hopper/Blackwell datacenter cards (T4,A2–A100,L4–L40S,H100–H200,B100–B300,GB200,GH200,CMP *HX,RTX PRO 6000 Server), NVSwitch fabrics, and passive thermal capabilities (refresh_nvidia_caps,refresh_nvidia_mig). - Added hardware-gated datacenter steps:
nvidia_fabricmanager(NVSwitch Fabric Manager),nvidia_mig_disable(disable MIG partitioning vianvidia-smi -mig 0),nvidia_sm70_table(STRATA_SM70_TABLE=1for V100sm_70),nvidia_pstate(nvidia-pstated/ Pythonnvidia-pstateidle P0→P8 fix with cleanSIGTERM/revert restoration), andnvidia_power_cap(opt-in passive/datacenter thermal power cap preserving[a]mutual exclusivity). - Hardened clock locking (
-lgcerror-text check with-ac+--auto-boost-default=0fallback), BIOS ReBAR capability detection (BAR1:display for legacy Tesla cards), non-systemdnvidia_persistencedfallback, consumer-onlygpu_unlock/lact_overclockscoping, and CUDA 12 / R580 driver branch advisories.
- Expanded detection across Kepler (
- Multi-GPU, DGX Spark, Jetson, Instinct & Intel Arc Expansion:
- Added bare-metal multi-GPU
pcie_acs_disabletargeting PCIe bridges (0604) viasetpciwhen NVLink/XGMI is absent. - Added NVIDIA DGX Spark (
GB10) unified memory detection, NVIDIA JetsonOrin/Xavier/Thor/TX2+ L4T R35/R36ina3221telemetry &tegra_pwmfansupport, AMD Instinct CDNA 1–4 (gfx908,gfx90a,gfx942,gfx950) PCI class0x1200+ XGMI +amd_instinct_partition(SPX/CPX,NPS1/NPS4) + wave64 local HIP builds, and Intel Arc Battlemage/Alchemist/Flex/Max (B580,B570,Pro B50,Pro B60) VRAM tally, multi-GPU topology, openSUSE compute packages, andxehwmonlive telemetry & power sampling (while filtering out0x1200Intel NPU/QAT devices).
- Added bare-metal multi-GPU
- Index Legend Flags, Route Classification & Performance:
- Added dynamic
[!],[OPT],[EXP], and[L]legend rows in the TUI index with aligned cursor offset math and[a]/[l]/--checkroute filtering. - Consolidated
nvidia-smiprobing into a single query when supported, cached livenvidia-smiextra fields, eliminated hot-path subshells inrun_as_user()/run_as_user_exec(), fixed\bati\b/\bArc\bword boundaries in GPU detection, updated documentation, and bumpedmanifest.jsonto1.5.0.
- Added dynamic
Full Changelog: v1.4.0...v1.5.0
v1.4.0
Changes
- AMD
gfxArchitecture-Family Detection & APU Reporting:- Probing via KFD sysfs topology (
/sys/class/kfd/kfd/topology/nodes),rocminfo, PCI device IDs (/sys/class/drmandlspci -nn), and marketing-name fallback across AMD architecture families (gfx101x,gfx103x,gfx110x,gfx115x,gfx120x, andgfx906). - Distinguishes compute APUs from Ryzen 7000/9000 2-CU desktop display iGPUs (
gfx1036) alongside discrete NVIDIA/Arc/Radeon GPUs, reports unified GTT memory pool capacity without double-counting across multi-AMD DRM cards, and combines VRAM + GTT usage for AMD APUs in the live dashboard ([STATS]).
- Probing via KFD sysfs topology (
- Local Strata HIP Engine Builder (
[STRATA]→Build Local Strata HIP Engine):- Automated source build, runtime packaging, integrity verification, and component registration from
Niko1221/Stratafor AMD architectures without official prebuilt Linux engines (such as Strix Pointgfx1150/ Radeon 890M, Phoenix/Hawk Pointgfx1103/ Radeon 780M, Krackangfx1152, Rembrandtgfx1035, Van Goghgfx1033,gfx1034, RDNA 1gfx1010–gfx1012, and wave64gfx906). - Acquires AMD TheRock ROCm SDK tarballs across matching target families (or uses a compatible system
/opt/rocm), patchesengine/cmake/hip_backend.cmakeif needed (as in Strata #1217), stagesrocblas/hipblasltkernel data and tuning tables, and activates viastrata components use. - Automatically exports
STRATA_EXPERIMENTAL_GFX1150=1/STRATA_EXPERIMENTAL_GFX1103=1in wizard CLI calls,strata.service, and non-systemd RC scripts.
- Automated source build, runtime packaging, integrity verification, and component registration from
- Radeon 780M / 760M MES Reset Workaround (
amd_cwsr_disable):- Adds optional
amdgpu.cwsr_enable=0kernel parameter step ongfx1103systems to prevent MESREMOVE_QUEUEGPU resets (Strata #6132).
- Adds optional
- Performance & Hardening:
- Eliminated hot-path subshell forks in
run_as_user()/run_as_user_exec(), added mtime/size-keyed in-memory caching for local HIP engine manifest scans, and updated documentation andmanifest.json(1.4.0).
- Eliminated hot-path subshell forks in
Full Changelog: v1.3.4...v1.4.0
v1.3.4
- Gate
numactl_interleaveon nativesystemdinstalls (HAS_SYSTEMD=trueand not running in Docker-only mode), preventing false[WOULD APPLY]on containerized/Unraid hosts wherestrata.serviceis not used andnumactlis not in the engine container - Recalibrate NUMA ratings and descriptions based on multi-socket ABBA benchmarks:
- Lower
numa_balancingfrom3★to2★, qualify title withpage-migration hygiene, and append(no measured throughput gain on containerised host)in--check/[c] - Adjust
numactl_interleavefrom4★to3★to keep4★–5★reserved for direct hardware/VRAM/power/compute unlocks
- Lower
- Add engine warmup guidance to
explain_strata_benchmarkand documentation for accurate A/B host comparisons after cold model loads
v1.3.3
- Add laptop-recommended optimization mode (
[l]/[L]) for minimal idle battery impact and comfortable unplugged usage across any laptop vendor - Show
[L]indicator and legend only when running on a laptop - Prompt to revert or keep currently applied out-of-scope options when applying
[a]or[l] - Update README TUI screenshot and wizard documentation
v1.3.2
Bug Fixes
- Dell thermal profile routing (
dell_thermal/acpi_platform_profile): Automatically skipsmbios-thermal-ctlwhen the kernel natively supports/sys/firmware/acpi/platform_profile(e.g.,dell_pcon modern kernels), surfacesmbios-thermal-ctlerrors instead of silently ignoring them, and integrateacpi_platform_profilewithpower-profiles-daemon(powerprofilesctl) when active. sched_extscheduler (scx_scheduler): Installscx-tools(scx_loader.service) when available in the repo, and fall back to creating a managedstrata-scx.servicerunningscx_bpflandwhen no distroscxsystemd unit is present.
v1.3.1
Changes
--strata-api-keyCLI Option &STRATA_API_KEYForwarding: Added--strata-api-key KEY(and--strata-api-key=KEY), overridingSTRATA_API_KEYwhen set in the environment, and wired the key into all Strata requests—including live/metricstelemetry polling (with a1stimeout),strata bench run(--credential-env STRATA_API_KEY --telemetry-credential-env STRATA_API_KEY), andrun_as_user/run_as_user_execCLI calls.- BMC / Management VGA Filtering in
GPU_SUMMARY: Filtered server BMC video adapters (ASPEED,Matrox G200/G200e,ServerEngines,Pilot,Hi171x,XGI Volari) out ofGPU(s):when a renderable GPU is present, or labelled them(BMC video, not used)on BMC-only headless boards. - Clearer Power-Limit & Pre-Applied Step Labels: Added
, headroom onlytotitle_nvidia_power_limit(plus(no measured speedup at default PL)in--check/[c]), and tagged[APPLIED]steps that are already active from stock host defaults as(already active on host)in--check/[c].
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Changes
- Dedicated
[STRATA]Page & Benchmark Summaries: Moved Strata lifecycle management (Install,Update,Remove,Service,Benchmark,History) and benchmark summaries (Latest,Previous, andBestbenchmarks with%diffs vs. previous and vs. best) to a dedicated[STRATA]page on the main index. - Read-Only
--checkCLI Flag &[c]TUI Summary View: Added--check(and--help/-h) for non-interactive, sudo-free hardware/OS/Strata/Docker detection and step-applicability reporting, plus a matching[c] Check / detection summary (read-only)view inside the TUI and a hardrun_rootguard whenCHECK_ONLY=true. - Docker Container & Memlock Detection: Match containerized Strata by image name (
strata(:|@|$)) rather than container name (avoiding false matches likestrata-studio), capture container image metadata, and inspect containerHostConfig.Ulimits(memlock=-1:-1) viadocker inspectinstatus_memlock_realtime. - Unraid
/bootPersistence Hardening: Invoke/boot/config/strata/rc.strata.*viashwith-fchecks in/boot/config/go,resolve_rc_script,service_ctl, andremove_servicesovfatmounts without execute permissions work across reboots, and automatically upgrade stale boot hooks inadd_boot_hook. - TUI Responsiveness: Offloaded
refresh_strata_runningpolling on the[STRATA]page to a background poller and skipped redundantstrata launch --statuschecks on non-stats headers.
Full Changelog: v1.2.5...v1.3.0