Jump to content

Docker-container inside VM using all CPU cores/ht ignoring CPU pinning


mic.88

Recommended Posts

Hi UNRAID community,

 

as the titel already discribes the issue, I run 2 docker containers (lancache+dns) inside an ubuntu 20.04.6 LTS vm.

The vm is configured to only have 2 cores and 2 ht.

But as soon as the conatiners start to use CPU resources, while steam-downloads for example, the whole physical CPU in the systems goes to almost 100% and ignores the cpu pinning of the vm.

If I start a CPU stress-test on the VM with s-tui, only the 2+2 cpus are used.

The vm has 4 disks (3 passthrough in lvm) but reading or writing to either of them, does not increase the CPU usage

 

My system runs Unraid 6.12.4 on a AMD Ryzen 7 3700X

 

Is this a KVM bug or something?

I know I cloud run the containers in UNRAID directly but I prefere the passthrough disks instead of array disks for the lancache

 

vm-stresstest-cpu.png

docker-cpu.png

disk.png

vm-config.png

Link to comment
  • 1 month later...

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.

×
×
  • Create New...