-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# HoloInsight Internals | ||
This directory contains HoloInsight internal details or uncategorized documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# GPU | ||
HoloInsight-Agent uses a query on the [nvidia-smi](https://developer.nvidia.com/nvidia-system-management-interface) binary to pull GPU stats including memory and GPU usage, temp and other. | ||
|
||
This GPU plugin is automatically activated if `nvidia-smi` is present. | ||
|
||
This plugin does not require any configuration. | ||
|
||
![GPU dashboard](../../../resources/images/dev-guide/internals/dashboard-gpu.png) | ||
![GPU dashboard](../../../resources/images/dev-guide/internals/app-gpu.png) | ||
|
||
# nvidia-smi commands | ||
|
||
List all GPUs | ||
```bash | ||
nvidia-smi -L | ||
``` | ||
|
||
Query GPU,memory utilization | ||
```bash | ||
nvidia-smi --query-gpu=index,utilization.gpu,utilization.memory --format=csv | ||
``` | ||
|
||
> nvidia-smi --help-query-gpu | ||
Query memory usage | ||
```bash | ||
nvidia-smi --query-gpu=index,memory.used,memory.free,memory.total --format=csv | ||
``` | ||
|
||
Query version and driver | ||
```bash | ||
nvidia-smi --query-gpu=index,name,vbios_version,driver_version --format=csv | ||
``` | ||
|
||
Query temperature,power,clocks | ||
```bash | ||
nvidia-smi --query-gpu=index,power.draw,temperature.gpu,clocks.current.sm,clocks.current.memory,fan.speed --format=csv | ||
``` | ||
|
||
Query GPU used memory of pids | ||
```bash | ||
nvidia-smi --query-compute-apps=gpu_uuid,pid,used_memory --format=csv | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.