Multiple tweaks(hacks) for Proxmox
pve_cpu_pinning.sh
pve_cpu_pinning.sh VMID CPU_Cores
pve_cpu_pinning.sh 100 0,1,2,3
pve_schd_fifo.sh
pve_schd_fifo.sh VMID
pve_schd_fifo.sh 100
QemuServer_NoHugeFree.patch
patch /usr/share/perl5/PVE/QemuServer.pm ./QemuServer_NoHugeFree.patch
QemuServer_PostCommand.patch
patch /usr/share/perl5/PVE/QemuServer.pm ./QemuServer_PostCommand.patch
Add "postcommand: PATH_TO_COMMAND" in vm config file:
postcommand: /home/vm100_startup.sh
These tweaks are provided as-are, and there are no guarantees that they fit your purposes or that they are bug-free. Use it at your own risk!