Skip to main content

Active GPU diagnostic tool that identifies performance bottlenecks

Project description

NVSonar

PyPI version Python License

Active GPU diagnostic tool that identifies performance bottlenecks using targeted micro-probes.

Why NVSonar?

Traditional GPU monitoring tools show utilization percentages, but this can be misleading. A GPU reporting 100% utilization may actually be computing useful work, or it may be stalled waiting on memory transfers (memory-bound) or PCIe transfers (PCIe-bound).

Features

  • Runs CUDA micro-probes to stress-test specific GPU subsystems
  • Monitor temperature, power, utilization, clocks
  • Provides an interactive TUI with multi-GPU support
  • Detects performance bottlenecks in memory, compute, or PCIe
  • Generates an overall GPU health and performance score

Installation

pip install nvsonar

Quick Start

# Launch interactive TUI with all GPUs and live metrics
nvsonar

Interface

┌─ NVSonar v1.0 ─────────────────────────────────────────────────┐
│                          Available GPUs                        │  
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━┩
│ Index │ Name                       │ Memory │ Driver    │ CUDA │
│   0   │ NVIDIA GeForce GTX 1650 Ti │ 4.0 GB │ 580.95.05 │ 13.0 │
└───────┴────────────────────────────┴────────┴───────────┴──────┘

╭─────────────────────── GPU 0 Metrics ──────────────────────────╮
│  Temperature         45.0°C                                    │
│  Power               2.8W                                      │
│  GPU Utilization     0%                                        │
│  Memory Utilization  0%                                        │
│  Memory Used         0.4 / 4.0 GB                              │
│  GPU Clock           300 MHz                                   │
│  Memory Clock        405 MHz                                   │
╰────────────────────────────────────────────────────────────────╯
  • All available GPUs displayed in table at top
  • Live metrics for each GPU (updates every 0.5s)
  • Press 'q' to quit

Requirements

  • Python 3.10+
  • NVIDIA GPU with driver installed
  • CUDA toolkit (for active probes)
  • Linux (tested on Ubuntu)

License

Apache License 2.0 - see LICENSE for details.

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-1.0.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

nvsonar-1.0.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file nvsonar-1.0.0.tar.gz.

File metadata

  • Download URL: nvsonar-1.0.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nvsonar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8b29e4495d0bc46d87fc975a2c721efcdc0e6549630e46606290ffff181a3aef
MD5 fffe7cc10c564845d22b82fb94aaadd9
BLAKE2b-256 5258088125dc0c5e466f2da8e9b6563cb8fa8038ce153634e7ca18de8a428650

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvsonar-1.0.0.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-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nvsonar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nvsonar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d03d2f2bb93a44dd10d773fdf514a41e2dbe72645561ef46540b9690adba8bcd
MD5 5c491c09535c3b98406d16082125fb28
BLAKE2b-256 871cc8fd40c220721f39db26355ab4beb65366043fb7317f21074b9c5529e20f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvsonar-1.0.0-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