vault backup: 2026-04-27 23:02:13
This commit is contained in:
@@ -22,5 +22,23 @@ passing thought gpu to [[Proxmox]] lxc container
|
|||||||
- exec `update-initramfs -u`
|
- exec `update-initramfs -u`
|
||||||
- reboot
|
- reboot
|
||||||
- enable power management on the host
|
- enable power management on the host
|
||||||
- `nvidia-smi -pm 1`
|
- exec `nvidia-smi -pm 1`
|
||||||
-
|
- you will need to create a system service that starts this a boot
|
||||||
|
- `nano /etc/systemd/system/nvidia-monitor.service`
|
||||||
|
```
|
||||||
|
[Unit]
|
||||||
|
Description=Enable NVIDIA Persistence Mode
|
||||||
|
After=nvidia-kernel-common.service
|
||||||
|
Wants=nvidia-kernel-common.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/bin/nvidia-smi -pm 1
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
```
|
||||||
|
|
||||||
|
- systemctl daemon-reload
|
||||||
|
- systemctl enable --now nvidia-monitor.service
|
||||||
|
|||||||
Reference in New Issue
Block a user