Solved

VMWare / Linux  and /proc/cpuinfo

Posted on 2013-11-05
4
1,002 Views
Last Modified: 2013-11-05
I created a VM with Linux on it

I set the cores to 1 socket and 5 cores

My machine is HT

I set the affinity to 0-9  (never did that before)

I start the OS and go to /proc/cpuinfo

I see only 5 processors.

I expected to see 10 processors as I asked for 5 physical cores on a HT system

What am I missing ?

Thanks
0
Comment
Question by:Los Angeles1
  • 2
4 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 39625268
How many did you assign in the VM settings? If you set 1 socket, 5 Cores, that's 5 vCPUs.

HT is only at the Physical!

If you want 10 vCPUs ?

either set 10 sockets, or 2 sockets, 5 cores.
0
 

Author Comment

by:Los Angeles1
ID: 39625354
What I want is 5 physical sockets

In other words, if I have HT on Intel and I have 10 cores.  I want half the available cores

5 physical cores, and 10 threads total

How do I get that ?
0
 
LVL 119
ID: 39625364
Is there any reason you want to assign specific cores?

why not just assign 5 vCPUs (sockets), and leave cores as 1.

five physical sockets, would be a 5 physical processor machine.
0
 
LVL 6

Assisted Solution

by:insidetech
insidetech earned 250 total points
ID: 39625399
VMware CPU resource controls are tightly integrated with the HT accounting.
It is probably best that you do not set the affinity and let the server figure out the CPU assignment.
This said, and as a example, if your physical system has 2 sockets with 1 core each and HT is supported, simply assign an equivalent in your VM to 4 single core CPU's.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question