cpu pinning for VMs (PCIe passthrough)

Spiros Pap

Well-Known Member
Aug 1, 2017
87
1
48
44
Hi all,

I have a VM that runs a passthroughed ethernet x710 adapter with dpdk (danos). Since dpdk does polling, the CPU is occupied 100% all the time. So, i would like to pin specific cores to this VM (in proxmox), in order to disallow the host task scheduler to change the association of the cores with the VM and have more consistent performance.

Any ideas on how to do this?

Thanx,
Sp
 
Hi all,

I have a VM that runs a passthroughed ethernet x710 adapter with dpdk (danos). Since dpdk does polling, the CPU is occupied 100% all the time. So, i would like to pin specific cores to this VM (in proxmox), in order to disallow the host task scheduler to change the association of the cores with the VM and have more consistent performance.

Any ideas on how to do this?

Thanx,
Sp
you can try reading here

https://forum.proxmox.com/threads/cpu-pinning.67805/

there is also a good video here pinning and hook script

Xristos Anesti

Kind Regards,
Spiro
 
Last edited: