cpu pinning for VMs (PCIe passthrough)

Spiros Pap

Well-Known Member
Aug 1, 2017
83
0
46
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!