How to assign cpu cores?


Recommended Posts

I am using Xeon E3-1240 v2.  It has 4 cores, 8 threads.  

 

I am using several docker apps.  Now, that I am using VMs, how do you assign 4 cores to the VM?  0,1,2,3?  and 4,5,6,7 for a different VM?

 

But when activies are running, I oftentimes see 1 core maxing out, and not all of them.  Is this normal?

Link to comment

If you look on your dashboard you can see the CPU cores in two columns.  Each row is a physical and a hyperthreaded core.  I would recommend that you keep your related physical and hyperthreaded cores together on any VM.  

 

Edit:

You can also see this in tools --> system devices

 

CPU Thread Pairings

cpu 0 <===> cpu 14
cpu 1 <===> cpu 15
cpu 2 <===> cpu 16
cpu 3 <===> cpu 17
cpu 4 <===> cpu 18
cpu 5 <===> cpu 19
cpu 6 <===> cpu 20
cpu 7 <===> cpu 21
cpu 8 <===> cpu 22
cpu 9 <===> cpu 23
cpu 10 <===> cpu 24
cpu 11 <===> cpu 25
cpu 12 <===> cpu 26
cpu 13 <===> cpu 27
Edited by zyurph
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.