CPU isolation


Active Member
Oct 28, 2015
I am looking into assign cpu affinity to a particular VM via /usr/sbin/taskset -cpa 0-3 [PID]

However, I notice that pve host itself has also other process will trying to use cpu core 0~3, how to I exclude other process from using core 0~3?

I tried add kernel parameter

GRUB_CMDLINE_LINUX="... isolcpus=0-3 nohz_full=0-3 rcu_nocbs=0-3 ..."

but it totally disabled those core and not able to assign those core via taskset.

How to achieve CPU isolation on PVE?
  • Like
Reactions: eedev


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!