Skip to content

v0.29.0

Choose a tag to compare

@inureyes inureyes released this 22 Nov 21:50
· 12 commits to main since this release

Added N-tier CPU topology and wider Linux CPU temperature sensor coverage, fixed AMD MI300X metrics and ROCm 7.x detection, and cut per-tick collection, API and TUI overhead across platforms.

all-smi v0.29.0

27 commits since v0.28.1. (30048 lines added, 7802 lines deleted)

New Features

  • Added N-tier CPU topology on Linux and Windows ARM: Linux detects tiers from Intel hybrid PMU cpumasks, arm64 MIDR part numbers, or the firmware cpu_capacity table (honoring the container cpuset), Windows ARM reports P/M/E clusters, and the local TUI renders every tier (#474).
  • Added the all_smi_cpu_tier_core_count, all_smi_cpu_tier_utilization, all_smi_cpu_tier_frequency_mhz and all_smi_cpu_tier_l2_cache_mb metrics and a cpu_tier label on all_smi_cpu_core_utilization; remote view reads them back (#474).
  • Added the ALL_SMI_CPU_TEMP_SENSOR override for the Linux CPU temperature sensor (<driver>:temp<N>, <driver>:<label>, or an absolute /sys path), and all-smi doctor shows which sensor was picked and whether the override took effect (#496).
  • Added Linux CPU temperature selection from motherboard sensor chips by tempN_label (PECI, AMD TSI, CPU Package, SoC Temperature on Ampere, and others), from the kernel temp*_type value on unlabelled Super I/O chips, and from ARM thermal zone types (#496, #498).
  • Added the amd.gpu_metrics.revision doctor check, which warns when a card's gpu_metrics revision is newer than the bundled parser reads and names the fallbacks in use (#481).
  • Added VRAM used/total to the local TUI GPU row (#469).

Improvements

  • Remote collection bounds each tick: 1 s connect and 3 s request timeouts inside a 4 s budget, no retry after a timeout, and per-host backoff from 2 s to 60 s shown as backing-off; bodies are parsed in each host task without a regex, and the hostfile is re-read only when it changes (#509).
  • The TUI no longer deep-clones AppState every frame, local mode idles at the 1 s tick instead of a permanent 5 Hz tick when nothing animates, and mouse motion no longer triggers redraws (#506).
  • API mode collects on the blocking pool with a fixed tick period, renders /metrics once per collection instead of once per scrape, and serializes each /events and /snapshot frame once per filter instead of once per client (#510).
  • Linux CPU collection reads static /proc/cpuinfo fields and the machine string once per reader and the current frequency from scaling_cur_freq; process collection refreshes only the fields it uses and caches priority and user names (#508).
  • Hardware detection reads the PCI inventory once from sysfs instead of spawning lspci up to eight times at startup, and Apple Silicon no longer runs system_profiler SPPCIDataType (#508).
  • Accelerator readers no longer spawn the same vendor CLI twice per tick (Neuron, Rebellions, Furiosa, Intel xe), Neuron reads one long-lived neuron-monitor child, Jetson memory comes from /proc/meminfo instead of tegrastats, and failed CLI lookups and probes back off instead of retrying every tick (#513).
  • NVIDIA shares one NVML handle per process, and a failed NVML init backs off from 30 s to 5 min while readers use the nvidia-smi fallback (#490).
  • Windows: one WMI worker thread owns a cached connection per namespace, CPU temperature sources back off for 30 s to 300 s after 3 consecutive failures, and Win32_VideoController and Win32_Processor results are cached (#507).
  • A hung reader no longer leaks one blocking thread per tick in record and /snapshot; the section is reported as busy until the reader returns, and sections are collected concurrently (#510).

Bug Fixes

  • Fixed the AMD GPU process list being empty on every Linux host that had a GPU process: the plugin computed memory percent against an unrefreshed total and sent null, which the host rejected (#469).
  • Fixed AMD utilization reading 0% on drivers that emit gpu_metrics newer than the parser supports, such as MI300X with v1.9; it falls back to sysfs gpu_busy_percent (#469).
  • Fixed MI300 temperature reading 0 °C on boards without an edge sensor; it falls back to the junction sensor (#469).
  • Fixed doctor reporting "ROCm not detected" on ROCm 7.x; the version now comes from librocm-core, then the legacy version files, then the 7.x core-* files (#469).
  • Fixed the header showing 0°C on hosts without a CPU temperature sensor (now Tmp N/A) and the GPU Metrics panel truncating power range badges wider than 5 characters (#469).
  • Fixed a base M5 being reported as Super + Performance with no efficiency cores, which dropped its E-cluster frequency and L2 cache (#472).
  • Fixed the Linux CPU temperature reader taking the first of four fixed sysfs paths, which could report a motherboard sensor; it selects coretemp, k10temp/zenpower or cpu_thermal by driver name (#493).
  • Stopped automatic Linux CPU temperature selection from preferring asus_wmi_sensors, whose BIOS can stop or pin fans when polled often (#498).
  • Fixed the /metrics and snapshot --format prometheus exposition repeating # HELP and # TYPE once per device and interleaving metric families, which strict parsers such as promtool check metrics rejected (#510).
  • Fixed replay ignoring the recorded frame spacing and speed setting, never pausing or looping at the end, and showing the wrong elapsed time after 1024 frames or a seek (#510).
  • Fixed API and library process lists containing one row per thread on NVIDIA, Jetson, Tenstorrent, Intel and Windows readers, and repeating every system process once per GPU reader on multi-reader hosts (#508, #511).
  • Fixed the Windows hybrid case where an Intel or AMD baseline row overwrote NVIDIA GPU memory with 0 on the remote Users tab (#511).
  • Fixed the Linux TUI command column showing [name] instead of the full command line (#508).
  • Fixed hosts added by a hostfile reload getting no tab, record --hostfile scraping nothing, a ~/ hostfile path breaking reloads, and a stale "connected" status after a deadline abort (#509).
  • Fixed Furiosa devices staying hidden for the rest of the process when the first furiosa-smi info call failed (#513).
  • Fixed the macOS GPU core estimate reading a CPU model cached only after the call (#507).
  • Fixed the hl-smi monitor thread leaking on shutdown (#507).
  • Fixed installing the Debian package on a host whose NVIDIA driver came from NVIDIA's CUDA repository replacing that driver: the driver moved from Recommends to Suggests (#476).

CI/CD Improvements

  • Moved macOS CI and the aarch64-apple-darwin release leg from the retired macos-14 label to macos-15 (#485).
  • Fixed the Windows self-hosted workspace left sparse by the release signing job, which had failed every Windows Checks run since 2026-10-19 (#487).
  • The packaging-sync job fails when a control file puts the NVIDIA driver in Depends, Pre-Depends or Recommends, when the three control files disagree, or when debian/control drifts from debian/control.source (#476, #480).
  • Made the all-features clippy gate pass and the elevation test honor its unprivileged-only guard (#482).
  • The Homebrew formula updater writes the version stanza only when Homebrew misreads the release url, matching brew audit in lablup/homebrew-tap (#512).
  • Raised the Launchpad PPA toolchain to Rust 1.97 (#468).
  • Fixed Windows clippy and unit-test failures from the new code in #508, #509 and #510 (#515), and dead-code warnings in builds without the cli feature (#491).

Technical Details

  • CPU tiers are an ordered, fastest-first cpu_tiers list on CpuInfo consumed by the platform readers, the TUI, the exporter and the remote parser; tier detection runs once per reader and never shells out (#474).
  • Tier frequency and L2 cache are reported only on Apple Silicon today; Linux and Windows tiers carry count and utilization (#474).
  • The Linux CPU temperature resolution order is: override, CPU driver, thermal zone, board label (excluding asus_wmi_sensors), sensor type, board label on asus_wmi_sensors, legacy paths. The result is resolved once per process; GB10 still reads thermal_zone0 (#493, #496, #498).
  • libnvidia-ml is pinned with one extra, never-closed dlopen, so nvml-wrapper init and shutdown pairs only move a reference count (#490).
  • The remote metrics line cap rose from 1024 bytes to 32 KiB, because a fully populated NVIDIA all_smi_gpu_info line measured 769 bytes (#509).
  • Process rows are unique per (PID, device); a new GpuReader::includes_system_processes lets one system process pass serve every reader (#511).

Dependencies

  • Updated sysinfo from 0.39.6 to 0.40.4 and russh from 0.64.1 to 0.65.2; sysinfo's new default gpu feature stays disabled (#470, #494).
  • Refreshed the lockfile within existing requirements, including prost 0.14.6, clap 4.6.9, toml 1.2.2 and rsa 0.10.0 stable (#494).

Breaking Changes

  • The minimum supported Rust version is now 1.97 (#468).
  • /metrics sample lines are unchanged, but their order in the body changes because each family is now contiguous (#510).
  • The Debian package no longer pulls in nvidia-utils or nvidia-driver through Recommends; install the driver explicitly. apt --install-suggests still installs it and is unsafe on CUDA-repo hosts (#476, #480).
  • Process lists from the API, snapshot and library no longer include thread rows. On a Windows AMD-only or Intel-only host with no GPU process, the list now holds the system processes instead of being empty (#508, #511).
  • Library API: removed all_smi::device::is_running_in_container, get_container_pid_namespace, the container_utils and process_utils modules, and all_smi::utils::refresh_global_processes (#508).
  • Library API: nvidia_vgpu::collect_vgpu_info and nvidia_mig::collect_mig_info take a second &NotSupportedSkipSet argument (#513).
  • Library API: renamed CollapseStrategy::PECluster to TierCluster, and added the public CpuInfo::cpu_tiers and CoreUtilization::tier_index fields, so struct literals must set them or use ..CpuInfo::test_default() (#474, #482).

Known Issues

  • The N-tier topology paths for Intel hybrid, three-cluster ARM Linux and Windows ARM are covered by fixture tests only; no hardware check was run (#474).
  • ROCm versions older than 7.x after the detection change are covered by unit tests only (#469).
  • The TUI shows a backing-off remote host as CONNECTION LOST, the same as a timed-out host (#509).

What's Changed

  • chore: bump Rust PPA toolchain to 1.97 by @inureyes in #468
  • update: bump sysinfo to 0.40 and russh to 0.65 by @inureyes in #470
  • fix: identify Apple Silicon cores by perflevel name by @inureyes in #472
  • feat: support N-tier CPU topology on Linux and Windows ARM by @inureyes in #474
  • fix: demote the NVIDIA driver to Suggests so apt leaves it alone by @inureyes in #476
  • fix: support MI300X metrics, ROCm 7.x version detection and local VRAM display by @daemyung-lablup in #469
  • feat: report AMD gpu_metrics revision support in doctor by @inureyes in #481
  • fix: close remaining driver-relation packaging risks by @inureyes in #480
  • fix: make the all-features clippy gate and test guards honest by @inureyes in #482
  • fix: move macOS jobs to the supported macos-15 runner label by @inureyes in #485
  • fix: repair the Windows self-hosted workspace before checkout by @inureyes in #487
  • fix: share one NVML handle per process and back off failed inits by @inureyes in #490
  • fix: silence NVML probe dead code in builds without the cli feature by @inureyes in #491
  • fix: select the Linux CPU temperature sensor by driver name by @inureyes in #493
  • update: refresh Cargo.lock to latest compatible dependencies by @inureyes in #494
  • feat: add board sensor labels and CPU temp override on Linux by @inureyes in #496
  • feat: widen Linux CPU temperature coverage for board and ARM sensors by @inureyes in #498
  • perf: stop per-frame AppState clones and idle fast ticks in the TUI by @inureyes in #506
  • fix(perf): cache Windows WMI and macOS probes; fix hl-smi monitor leak by @inureyes in #507
  • update(perf): cut per-tick Linux CPU and process collection work by @inureyes in #508
  • perf: bound remote scrape latency and parsing cost per tick by @inureyes in #509
  • perf: cut per-request and per-tick waste in api, snapshot and record by @inureyes in #510
  • fix: deduplicate process rows across GPU readers in api and snapshot by @inureyes in #511
  • perf: stop redundant CLI spawns and re-probes in readers by @inureyes in #513
  • fix: write Homebrew version stanza only when the url misreads it by @inureyes in #512
  • fix: make the audit's new code and tests pass on Windows by @inureyes in #515

Full Changelog: v0.28.1...v0.29.0