Skip to main content

Active GPU diagnostic tool that identifies performance bottlenecks

Project description

NVSonar

PyPI version Python License Downloads

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.

nvsonar demo

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

Bekmukhamed Tursunbayev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nvsonar-2.1.1.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvsonar-2.1.1-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

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

Hashes for nvsonar-2.1.1.tar.gz
Algorithm Hash digest
SHA256 47f3fbb78193e9b6cfc9237f349e76d062e6005de477855631fdd07208366224
MD5 0b4bc9bb9e38cf347f58e8e3e07c8648
BLAKE2b-256 b6e8a87153bc192eba637d51ab6711b61af2d8695d7a982d5187439add292695

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvsonar-2.1.1.tar.gz:

Publisher: ci.yml on btursunbayev/nvsonar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for nvsonar-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c91492534dc89e0eb0082f003a0b8f43c1c0468efb085f82221e1a3e8e642308
MD5 d96dcefb2b7d8c79508f30eb01bf3064
BLAKE2b-256 4e8d8fb34ddc713052eecf2ea488b30182e051acc4565360a6d599c37c5ef208

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvsonar-2.1.1-py3-none-any.whl:

Publisher: ci.yml on btursunbayev/nvsonar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page