I am running
After reading this post about CPU pinning, I have tried to use
Upon inspection via
Does anybody have any suggestions?
proxmox 7.1
on a Ryzen 5950x with 5 vms, and would like to pin each of the respective vms to particular cores. After reading this post about CPU pinning, I have tried to use
taskset
to do so. However, when running taskset --cpu-list --all-tasks --pid 0-5 $vm-pid
as suggested in the post, I receive the following error:pid <pid> current affinity list: 0-31
pid <pid> new affinity list: 0-5
pid <pid> current affinity list: 0-31
pid <pid> new affinity list: 0-5
pid <pid> current affinity list: 0-31
taskset: failed to set pid <pid> affinity: Invalid argument
Upon inspection via
ps -Tp <pid>
, the pid
in question has iou-wrk-<pid>
threads causing taskset
to fail, leaving me stumped on how to proceed.Does anybody have any suggestions?