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 ──────────────────────────────────────────────────────┐
│                          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.2.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.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nvsonar-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 83a34203a3f64a33664631607dcd1f0d559bd8c5451f8f7e6cf2c6b94158d4d4
MD5 a5dda47e45c8acbcc737c63a83f9aee4
BLAKE2b-256 bcf8869dcde46913f2ddee5e0b8da021be4d1709ec31fb1a4860b1d1f4df2dcb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nvsonar-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7dce180c9f271c6437a6a02903ea441bab0ca7c8267c4f34059f7daf303e7a
MD5 5e8f6a3b8651e79576a4228e234fbf98
BLAKE2b-256 e5eceaef249ec6d5e5682f7f4256509f9cb169c10d8f7c7bb6a7a12ce691a8b7

See more details on using hashes here.

Provenance

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