Solved

VMWare / Linux  and /proc/cpuinfo

Posted on 2013-11-05
4
993 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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 118
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Apache application gives "Forbidden" message 5 45
Backup Exec Failure 3 47
AWS - HAProxy- KeepAlived 5 17
VMWare ESXi Guest VM shuts down itself 35 64
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now