Skip to main content

Active GPU diagnostic tool that identifies performance bottlenecks

Project description

NVSonar

PyPI version Python License Downloads

Active GPU diagnostic tool with real-time bottleneck detection and performance analysis.

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 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

  • Real-time Bottleneck Detection
  • Subsystem Utilization Analysis
  • Peak Value Tracking
  • Visual Progress Bars
  • Multi-GPU Support**

Installation

pip install nvsonar

Quick Start

# Launch interactive TUI with all GPUs and live metrics
nvsonar

Interface

┌─ NVSonar ──────────────────────────────────────────────────────┐
│  [Overview] [History] [Settings]                               │
├────────────────────────────────────────────────────────────────┤
│                        Available GPUs                          │ 
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━┩
│ Index │ Name                       │ Memory │ Driver    │ CUDA │
│   0   │ NVIDIA GeForce GTX 1650 Ti │ 4.0 GB │ 580.95.05 │ 13.0 │
└───────┴────────────────────────────┴────────┴───────────┴──────┘

╭────────── NVIDIA GeForce GTX 1650 Ti Metrics ─────────────────╮
│  Compute           ████████████░░░░░░░░ 65%                   │
│  Memory            ████████░░░░░░░░░░░░ 35%                   │
│  Thermal           ████████████░░░░░░░░ 68%                   │
│                                                               │
│  Status            GPU cores are the limiting factor          │
│                                                               │
│  Power             ████████████████░░░░ 32.5W / 50.0W         │
│  Temperature       ████████████░░░░░░░░ 68°C / 83°C           │
│  GPU Utilization   ████████████░░░░░░░░ 65%                   │
│  Memory Utilization████████░░░░░░░░░░░░ 35%                   │
│  Memory Used       ██████░░░░░░░░░░░░░░ 2.2 / 4.0 GB          │
│  GPU Clock         1740 MHz                                   │
│  Memory Clock      5000 MHz                                   │
╰───────────────────────────────────────────────────────────────╯

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.

Author

Maintained by Bekmukhamed Tursunbayev
GitHub: https://github.com/btursunbayev · PyPI: https://pypi.org/user/btursunbayev/

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.1.0.tar.gz (16.3 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.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nvsonar-1.1.0.tar.gz
Algorithm Hash digest
SHA256 07d793d7885649cd9da0c115b086f69559462d89b69346dbf163d226867c5743
MD5 1e58bd0bd2afffe57af095d32b161065
BLAKE2b-256 bf5fb7bddae68d7a344797d41cd68e808a2d53a2a86dc1450fe5b6da18ef3a50

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nvsonar-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1244d0225f2cf7a1d1df3f894acb5f9dac3181a3728036dded3140e422924f35
MD5 ab245f753cbf42cbc7dbb3fad7d01142
BLAKE2b-256 69c158a60bdcbe5f5485dfc512205221ce4540c8e1dcab69f8fca69822311a33

See more details on using hashes here.

Provenance

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