Active GPU diagnostic tool that identifies performance bottlenecks
Project description
NVSonar
GPU monitoring tools show utilization percentages, but this can be misleading. A GPU reporting 100% utilization may actually be computing useful work, or wastefully stalled waiting on memory transfers, thermal throttling, or power limits. NVSonar analyzes real-time patterns from NVML metrics to identify what's actually limiting your GPU performance.
Features
- Bottleneck classification (compute-bound, memory-bandwidth-bound, memory-capacity-bound, power-limited, thermal-throttled, data-starved)
- Temporal pattern detection (clock oscillation, temperature trends, utilization dips, memory leaks)
- Multi-GPU outlier detection via Z-scores
- Health scoring with A-F grades (0-100 per GPU)
- Throttle bitmask decoder with severity levels
- PCIe link degradation and ECC error monitoring
- Actionable recommendations with specific commands
- GPU performance benchmarks (memory bandwidth, compute throughput, PCIe speed)
- Historical tracking with trend analysis over time
- Session monitoring Python API for workload profiling
- JSON and CSV output for automation and scripting
Requirements
- Python 3.10+
- NVIDIA GPU with driver installed
- Linux
Installation and Usage
pip install nvsonar
nvsonar # interactive TUI
nvsonar report # one-shot diagnostic
nvsonar report --json # structured output for scripts/LLMs
nvsonar report --csv # CSV output for spreadsheets
nvsonar report --gpu 0 # specific GPU
nvsonar benchmark # GPU performance benchmarks
nvsonar history # health trends over time
License
Apache License 2.0
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nvsonar-2.1.1.tar.gz.
File metadata
- Download URL: nvsonar-2.1.1.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f3fbb78193e9b6cfc9237f349e76d062e6005de477855631fdd07208366224
|
|
| MD5 |
0b4bc9bb9e38cf347f58e8e3e07c8648
|
|
| BLAKE2b-256 |
b6e8a87153bc192eba637d51ab6711b61af2d8695d7a982d5187439add292695
|
Provenance
The following attestation bundles were made for nvsonar-2.1.1.tar.gz:
Publisher:
ci.yml on btursunbayev/nvsonar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nvsonar-2.1.1.tar.gz -
Subject digest:
47f3fbb78193e9b6cfc9237f349e76d062e6005de477855631fdd07208366224 - Sigstore transparency entry: 1200933514
- Sigstore integration time:
-
Permalink:
btursunbayev/nvsonar@a97b97bc393feb333f6675b817408ec09d16ecbf -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/btursunbayev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a97b97bc393feb333f6675b817408ec09d16ecbf -
Trigger Event:
release
-
Statement type:
File details
Details for the file nvsonar-2.1.1-py3-none-any.whl.
File metadata
- Download URL: nvsonar-2.1.1-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c91492534dc89e0eb0082f003a0b8f43c1c0468efb085f82221e1a3e8e642308
|
|
| MD5 |
d96dcefb2b7d8c79508f30eb01bf3064
|
|
| BLAKE2b-256 |
4e8d8fb34ddc713052eecf2ea488b30182e051acc4565360a6d599c37c5ef208
|
Provenance
The following attestation bundles were made for nvsonar-2.1.1-py3-none-any.whl:
Publisher:
ci.yml on btursunbayev/nvsonar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nvsonar-2.1.1-py3-none-any.whl -
Subject digest:
c91492534dc89e0eb0082f003a0b8f43c1c0468efb085f82221e1a3e8e642308 - Sigstore transparency entry: 1200933519
- Sigstore integration time:
-
Permalink:
btursunbayev/nvsonar@a97b97bc393feb333f6675b817408ec09d16ecbf -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/btursunbayev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a97b97bc393feb333f6675b817408ec09d16ecbf -
Trigger Event:
release
-
Statement type: