2024-10-30
This guide assume proxmox have been already installed on zfs with systemd boot manager.
Open webui by going to proxmox_host_ip:8006.
Login as root, disable enterprise repository and enable no-subscription reposity
Head to Shell and update repos with
apt update
and upgrade the whole system with
apt dist-upgrade
then reboot
reboot
Open /etc/kernel/cmdline with your text editor
Add following line after boot=zfs
quiet intel_iommu=on i915.enable_gvt=1 drm.debug=0
Open /etc/modules and add
# Modules required for PCI passthrough
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
# Modules required for Intel GVT-g Split
kvmgt
Run update-initramfs -u -k all and proxmox-boot-tool refresh
then reboot
Install powertop with
apt install powertop
Create a file /etc/systemd/system/powertop.service with text editor
[Unit]
Description=Powertop Auto-Tune
[Service]
Type=oneshot
ExecStart=/usr/sbin/powertop --auto-tune
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Save & exit
Enable & start unit with
systemctl enable --now powertop.service