[GH-ISSUE #174] [Feature Request] PCIE transmission speed #109

Closed
opened 2026-05-05 03:25:46 -06:00 by gitea-mirror · 10 comments
Owner

Originally created by @OutisLi on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/174

Originally assigned to: @XuehaiPan on GitHub.

Required prerequisites

  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

Motivation

Can nvitop show pcie versions and Tx/Rx speed like nvtop, which is quite necessary for memory monitoring?

Solution

No response

Alternatives

No response

Additional context

No response

Originally created by @OutisLi on GitHub (Jul 30, 2025). Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/174 Originally assigned to: @XuehaiPan on GitHub. ### Required prerequisites - [x] I have searched the [Issue Tracker](https://github.com/XuehaiPan/nvitop/issues) that this hasn't already been reported. (comment there if it has.) - [x] I have tried the latest version of nvitop in a new isolated virtual environment. ### Motivation Can nvitop show pcie versions and Tx/Rx speed like nvtop, which is quite necessary for memory monitoring? ### Solution _No response_ ### Alternatives _No response_ ### Additional context _No response_
gitea-mirror 2026-05-05 03:25:46 -06:00
Author
Owner

@XuehaiPan commented on GitHub (Jul 30, 2025):

Hi @OutisLi, you can try nvitop-exporter with:

cd nvitop-exporter/grafana
docker compose up --build --detach

It provides TX/RX throughput for PCIe and NVLink.

<!-- gh-comment-id:3135216540 --> @XuehaiPan commented on GitHub (Jul 30, 2025): Hi @OutisLi, you can try [`nvitop-exporter`](https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter) with: ```bash cd nvitop-exporter/grafana docker compose up --build --detach ``` It provides TX/RX throughput for PCIe and NVLink.
Author
Owner

@OutisLi commented on GitHub (Jul 30, 2025):

Hi @OutisLi, you can try nvitop-exporter with:

cd nvitop-exporter/grafana
docker compose up --build --detach
It provides TX/RX throughput for PCIe and NVLink.

emmm,I do not have docker

<!-- gh-comment-id:3135262617 --> @OutisLi commented on GitHub (Jul 30, 2025): > Hi [@OutisLi](https://github.com/OutisLi), you can try [`nvitop-exporter`](https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter) with: > > cd nvitop-exporter/grafana > docker compose up --build --detach > It provides TX/RX throughput for PCIe and NVLink. emmm,I do not have docker
Author
Owner

@XuehaiPan commented on GitHub (Jul 30, 2025):

You can set up your Grafana and Prometheus services manually without docker.

For example:

brew install grafana prometheus
vim "$(brew --prefix)/etc/prometheus.yml"
brew services start grafana
brew services start prometheus
uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050
<!-- gh-comment-id:3135304925 --> @XuehaiPan commented on GitHub (Jul 30, 2025): You can set up your Grafana and Prometheus services manually without docker. For example: ```bash brew install grafana prometheus vim "$(brew --prefix)/etc/prometheus.yml" brew services start grafana brew services start prometheus uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050 ```
Author
Owner

@OutisLi commented on GitHub (Jul 30, 2025):

You can set up your Grafana and Prometheus services manually without docker.

For example:

brew install grafana prometheus
vim "$(brew --prefix)/etc/prometheus.yml"
brew services start grafana
brew services start prometheus
uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050

thanks, I'll look into this, since I just installed via pixi global install nvitop

<!-- gh-comment-id:3135310363 --> @OutisLi commented on GitHub (Jul 30, 2025): > You can set up your Grafana and Prometheus services manually without docker. > > For example: > > brew install grafana prometheus > vim "$(brew --prefix)/etc/prometheus.yml" > brew services start grafana > brew services start prometheus > uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050 thanks, I'll look into this, since I just installed via `pixi global install nvitop`
Author
Owner

@XuehaiPan commented on GitHub (Jul 30, 2025):

BTW, you can monitor the per-process memory bandwidth utilization via %GMBW.

<!-- gh-comment-id:3135333372 --> @XuehaiPan commented on GitHub (Jul 30, 2025): BTW, you can monitor the per-process memory bandwidth utilization via `%GMBW`.
Author
Owner

@OutisLi commented on GitHub (Jul 30, 2025):

BTW, you can monitor the per-process memory bandwidth utilization via %GMBW.

So I need to install grafana and prometheus to use this function? I cannot just install nvitop through pixi to use?

<!-- gh-comment-id:3135426653 --> @OutisLi commented on GitHub (Jul 30, 2025): > BTW, you can monitor the per-process memory bandwidth utilization via `%GMBW`. So I need to install grafana and prometheus to use this function? I cannot just install nvitop through pixi to use?
Author
Owner

@XuehaiPan commented on GitHub (Jul 30, 2025):

So I need to install grafana and prometheus to use this function?

No. You don't need Grafana or Prometheus.

<!-- gh-comment-id:3135437382 --> @XuehaiPan commented on GitHub (Jul 30, 2025): > So I need to install grafana and prometheus to use this function? No. You don't need Grafana or Prometheus.
Author
Owner

@OutisLi commented on GitHub (Jul 30, 2025):

So I need to install grafana and prometheus to use this function?

No. You don't need Grafana or Prometheus.

Then I installed nvitop-exporter, and run it using nvitop-exporter --bind-address 0.0.0.0 --port 5050. I configured a port redirecting to my laptop. There is just some texts on http://localhost:5050/metrics.

# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 452.0
python_gc_objects_collected_total{generation="1"} 34.0
python_gc_objects_collected_total{generation="2"} 0.0
# HELP python_gc_objects_uncollectable_total Uncollectable objects found during GC
# TYPE python_gc_objects_uncollectable_total counter
python_gc_objects_uncollectable_total{generation="0"} 0.0
python_gc_objects_uncollectable_total{generation="1"} 0.0
python_gc_objects_uncollectable_total{generation="2"} 0.0
# HELP python_gc_collections_total Number of times this generation was collected
# TYPE python_gc_collections_total counter
python_gc_collections_total{generation="0"} 25.0
python_gc_collections_total{generation="1"} 2.0

Can the Tx/Rx be shown in nvitop by just calling nvitop?

<!-- gh-comment-id:3135460154 --> @OutisLi commented on GitHub (Jul 30, 2025): > > So I need to install grafana and prometheus to use this function? > > No. You don't need Grafana or Prometheus. Then I installed nvitop-exporter, and run it using `nvitop-exporter --bind-address 0.0.0.0 --port 5050`. I configured a port redirecting to my laptop. There is just some texts on http://localhost:5050/metrics. ```text # HELP python_gc_objects_collected_total Objects collected during gc # TYPE python_gc_objects_collected_total counter python_gc_objects_collected_total{generation="0"} 452.0 python_gc_objects_collected_total{generation="1"} 34.0 python_gc_objects_collected_total{generation="2"} 0.0 # HELP python_gc_objects_uncollectable_total Uncollectable objects found during GC # TYPE python_gc_objects_uncollectable_total counter python_gc_objects_uncollectable_total{generation="0"} 0.0 python_gc_objects_uncollectable_total{generation="1"} 0.0 python_gc_objects_uncollectable_total{generation="2"} 0.0 # HELP python_gc_collections_total Number of times this generation was collected # TYPE python_gc_collections_total counter python_gc_collections_total{generation="0"} 25.0 python_gc_collections_total{generation="1"} 2.0 ``` Can the Tx/Rx be shown in nvitop by just calling nvitop?
Author
Owner

@XuehaiPan commented on GitHub (Jul 30, 2025):

You need to setup Grafana: https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter#grafana-dashboard

<!-- gh-comment-id:3135467721 --> @XuehaiPan commented on GitHub (Jul 30, 2025): You need to setup Grafana: https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter#grafana-dashboard
Author
Owner

@OutisLi commented on GitHub (Jul 30, 2025):

You need to setup Grafana: https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter#grafana-dashboard

Thanks, but this is too complicated than just running nvitop or nvtop in ssh terminal considering that I need to configure port redirecting for the server (some may even need VPN). I'll probably turn to nvtop instead.

<!-- gh-comment-id:3135475705 --> @OutisLi commented on GitHub (Jul 30, 2025): > You need to setup Grafana: https://github.com/XuehaiPan/nvitop/tree/main/nvitop-exporter#grafana-dashboard Thanks, but this is too complicated than just running nvitop or nvtop in ssh terminal considering that I need to configure port redirecting for the server (some may even need VPN). I'll probably turn to nvtop instead.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#109
No description provided.