Repository navigation
v0.27.0
Added AWS Neuron (Trainium and Inferentia) monitoring, cut per-tick collection cost on macOS and Linux, fixed Apple Silicon and Rebellions power over-counts, and stopped all_smi_gpu_info label churn
all-smi v0.27.0
30 commits since v0.26.3. (20308 lines added, 1454 lines deleted)
New Features
- Added AWS Neuron support on Linux for Trainium and Inferentia devices, covering inventory, per-NeuronCore memory and utilization, Prometheus metrics, doctor checks, mock-server data, and packaging (#417)
- Added the
all_smi_gpu_card_power_wattsgauge for the board power of a multi-die Rebellions card (#435) - Added the
all_smi_gpu_clock_memory_current_mhzgauge, fed by the Linux AMD companion and the Windows ADL reader (#441, #442) - Added the
all_smi_gpu_memory_free_bytesgauge for Intel Gaudi and theall_smi_gpu_fan_duty_cyclegauge for fans that report a duty cycle instead of an RPM (#442) - Added the
all_smi_gpu_process_vram_used_bytesandall_smi_gpu_process_vram_budget_bytesgauges on Windows (#442)
Improvements
- Cut macOS collection cost by enumerating the mount table on a background thread at most every 30 s, reading process priority through
proc_pidinfoinstead of spawningps, and subscribing only to the IOReport channels the parsers read;all-smi api --interval 1dropped from 3.3 to 3.8 % of a core to 1.0 to 1.4 % on an M5 Max (#413) - Sampled IOReport every 2 s and SMC temperatures twice per 5 s on Apple Silicon, which halved
collect_oncefrom 13.27 ms to 6.76 ms per tick on an M1 Ultra (#426) - Overlapped the first tick's two warm-up waits on macOS, reducing time to first data from 554 ms to 385 ms on an M1 Ultra (#426)
- Bounded the per-tick storage capacity refresh to 50 ms on a worker thread so a hung volume no longer stalls collection (#426)
- Replaced sysinfo's process refresh on selective ticks with a native
proc_pidinfosampler on macOS, cutting the selective refresh from 16.28 ms to 4.24 ms (#432) - Replaced sysinfo's process refresh on selective ticks with a
/proc/<pid>/statsampler on Linux, cutting the selective process pass from 11.19 ms to 3.81 ms (#443) - Sorted the detail labels on
all_smi_gpu_infoso the exposition text is byte-identical between scrapes when nothing changed (#435) - Showed a sibling die's card power in parentheses in the TUI for Rebellions ATOM Max (#423)
Bug Fixes
- Fixed Apple Silicon power readings that alternated between 0 W and inflated values by matching IOReport energy channels exactly and timing each channel by the driver's publication timestamp (#412)
- Fixed Rebellions telemetry against live RBLN-CA22 output: device memory is parsed as bytes, SI-prefixed power is normalized, PCI detection uses vendor
1eff, and malformed workload contexts no longer hide devices (#416) - Counted each Rebellions ATOM Max card's power once per card instead of once per die, which had reported four times the real draw (#423)
- Kept changing readings out of
all_smi_gpu_infolabels for Rebellions, Tenstorrent, Apple Silicon, Furiosa, Intel Gaudi, Google TPU, and AWS Neuron, which had started a new Prometheus series on nearly every scrape (#435) - Registered the remaining volatile detail keys for Intel Gaudi, AMD ADL, Intel engine and Level Zero frequency families, and Windows per-process VRAM (#442)
- Emitted the
all_smi_tenstorrent_*vendor gauges, including the throttler, ARC health, and fault registers, which were documented but never fired (#435, #439) - Emitted
all_smi_gpu_pcie_gen_currentandall_smi_gpu_pcie_width_currentfor NVIDIA and Linux AMD GPUs; no reader had written the keys the exporter read (#441) - Fixed the Tenstorrent topology view rendering
Gen4 xx16(#439) - Dropped remote Prometheus lines whose value does not parse instead of recording a fabricated
0.0reading (#438) - Fixed the fivefold CPU percent inflation of processes outside the tracked top 500 on macOS full ticks (#432)
- Fixed the same inflation on Linux, where it applied on every tick and decided which processes were displayed (#443)
- Omitted chassis system power on a Mac without the
PSTRSMC key instead of reporting 0 W (#413) - Removed the generic
all_smi_npu_*metric declarations, which never appeared in a/metricsresponse for any vendor (#440) - Fixed AMD GPU power on Linux reading 1000 times too low, such as 0.148 for an Instinct MI300X drawing 148 W: the hwmon reading is no longer divided a second time and the
gpu_metricssocket power is scaled by table format (#447, #449) - Stopped a default
cargo installfrom installing thedebug-pid-mappingdebug tool besideall-smi; the tool moved toexamples/(#448) - Gated the Neuron doctor import to Linux so
cargo clippy --all-targets -- -D warningspasses on macOS and Windows (#422)
CI/CD Improvements
- Added a
macos-unit-testsjob onmacos-14that runs the macOS-only native, storage, and process-list unit tests on every push and PR (#426) - Added a clippy gate to macOS CI to catch lint breaks in code that is not compiled on Linux (#444)
- Fixed the Windows self-hosted
cargo test --libjob, which had failed on a Unix-only path assertion since #416 (#437)
Technical Details
- Added
detail_keys::VOLATILE_DETAIL_KEYSandVOLATILE_DETAIL_KEY_PREFIXESas the single registry of detail keys that hold a changing measurement; the exporter filters labels only and leavesdetailreadable (#435, #442) - Added a shared
insert_pcie_detailswriter and key constants so the PCIe key contract between readers and the exporter is compiler-checked (#441) - Removed the
CommonNpuMetricstrait, its six vendor implementations, and the uncalled export methods inCommonNpuExporter(#440) - Added
storage::DiskCache,NativeMetricsManager::last_collection_timings(), and thetests/perf_tick_stages.rsstage benchmark (#413) - Added an M1 Ultra IOReport fixture with 321 channels and tests for rail channels, per-die sums, and the package-over-die rule in
sum_rails(#424) - Routed every per-tick process pass through
process_list::refresh_processeson macOS and Linux; Windows keeps the sysinfo path (#432, #443) - Executed PATH-discovered Rebellions tools through resolved absolute paths (#416)
- Corrected the Rebellions metrics, labels, PromQL, and alert documentation (#419)
- Removed stale powermetrics and sudo references from ARCHITECTURE.md (25ffafb)
- Scoped the libdrm build requirement in DEVELOPERS.md and README.md to the AMD companion (#446)
- Added technical reports for PR #423, #424, #426, and #432
Dependencies
- Updated
dirsto 7 andzstdto 0.14 withzstd-safe8.0 (#409) homestays at 0.5.5 andmatchitat 0.8.4 becauseluwen-api0.9.0 andaxum0.8.9 pin them exactly (#409)
Breaking Changes
- Live readings no longer appear as labels on
all_smi_gpu_info; queries that read them from labels must move to the gauges listed in the API.md migration table (#435, #441, #442) - The
fan_speedlabel leftall_smi_gpu_infofor AMD and Intel devices (#439) - For Tenstorrent, the
pcie_generationlabel becamepcie_link_genand thepcie_link_widthvalue lost itsxprefix (#439) - Removed
all_smi_tenstorrent_collection_method_info,all_smi_tenstorrent_outlet1_temperature_celsius,all_smi_tenstorrent_outlet2_temperature_celsius, andall_smi_tenstorrent_power_raw_watts(#439) - Renamed snapshot JSON and CSV detail fields: Tenstorrent keys moved to snake_case (
detail.AI Clocktodetail.aiclk_mhz),detail.Current Linktodetail.pcie_gen_currentanddetail.pcie_width_current, anddetail.Memory Clocktodetail.clock_memory_current(#435, #439, #441) - On Rebellions ATOM Max, one die per card reports power and its siblings read absent, so per-node power sums drop to a quarter of the previous value; snapshot JSON and CSV serialize the non-reporting dies as
power_consumption: -1.0(#423) - On macOS, PRI is the task's base priority from
proc_pidinfoinstead of the highest current thread priority reported byps(#413) - On Apple Silicon at
--interval 1, frequency, residency, and power update every 2 s (#426)
Known Issues
- The AMD power unit fix is checked against the kernel amdgpu sources and unit tests, not against MI300X hardware (#449)
- Renoir APU firmware that reports
gpu_metricssocket power in watts still reads 1000 times too low when hwmon power is unavailable (#449) cargo install all-smiinstalls only the main binary, so Linux AMD monitoring is unavailable unlessliball_smi_amd.sois built and installed separately (#402)- The NVIDIA PCIe current gauges report the link state at reader initialization, while the Linux AMD gauges are live (#441)
- The Apple Silicon energy rules are verified on M5 Max and M1 Ultra only (#424)
- Local-mode interval benchmarks on multi-GPU NVIDIA and Windows hosts are still unmeasured (#408)
- Summing
all_smi_gpu_card_power_wattsacross the dies of one card recreates the ATOM Max 4x over-count (#435) - The ATOM Max power fix is tested against a synthetic fixture, not a hardware capture (#423)
What's Changed
- update: bump dirs to 7 and zstd to 0.14 by @inureyes in #409
- fix: correct Apple Silicon power over-count and 0 W ticks by @inureyes in #412
- update: cut per-tick collection cost on macOS by @inureyes in #413
- fix: Rebellions NPU devices vanish under load, plus four silent parsing/routing defects by @hoyajigi in #416
- feat: AWS Neuron (Trainium/Inferentia) device backend by @hoyajigi in #417
- docs: correct the Rebellions metric table and stale reader paths by @hoyajigi in #419
- fix: gate the Neuron doctor import to Linux by @inureyes in #422
- fix: count Rebellions ATOM Max card power once per card by @inureyes in #423
- test: verify IOReport energy channels and SMC keys on an M1 Ultra by @inureyes in #424
- update: reduce the remaining per-tick collection cost on macOS by @inureyes in #426
- fix: keep changing readings out of all_smi_gpu_info labels by @inureyes in #435
- update: sample macOS process metrics through proc_pidinfo by @inureyes in #432
- fix: run the Unix path assertion for rbln command discovery on Unix only by @inureyes in #437
- fix: parse_prometheus! drops lines with unparseable values by @inureyes in #438
- fix: re-key the remaining dead Tenstorrent detail lookups so the vendor metrics fire by @inureyes in #439
- fix: delete the generic all_smi_npu_* metrics that never fire by @inureyes in #440
- fix: feed the PCIe current gauges and drop AMD live values from one gpu line by @inureyes in #441
- fix: register the remaining volatile detail keys and give their readings a series by @inureyes in #442
- fix: compute the Linux process CPU percent from a /proc sampler by @inureyes in #443
- chore: add clippy gate to macOS CI for non-Linux lint breaks by @inureyes in #444
- docs: scope the libdrm build requirement to the AMD companion by @inureyes in #446
- fix: keep debug-pid-mapping out of the default cargo install by @inureyes in #448
- fix: report AMD GPU power in watts instead of 1000 times too low by @inureyes in #449
New Contributors
Full Changelog: v0.26.3...v0.27.0