Clarity on how CPU Pinning and CPU Isolation work


Recommended Posts

Hi All,

 

I am struggling to understand how CPU Pinning and CPU Isolation work.

 

Can you please confirm if I am understanding this correctly?

 

If I have my set up like this:

 

image.png.64df460e7d8368aa4e92fe4c68961383.png

 

tempsnip.png.0c999c7b5a7652d8889e56fb671df930.png

 

Does that mean the Unraid OS is only able to use CPUs 0 and 1 (and not 2 and 3), the first 4 VMs will only use CPU 1 and the last VM will have exclusive use of CPUs 2 and 3?

 

Thank you for your help. 🙂

 

Link to comment

Yes and No. In theory, yes all you did is correct.

 

However, heavy disk activities still have a chance of using the isolated cores.

There are mitigation that helps (see bug report below) but they don't resolve the issue.

 

I'm starting to think that it may not be an Unraid issue but a Linux issue as btrfs scrub shouldn't be Unraid specific.

 

Bug Report:

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.