Solved

VMWare / Linux  and /proc/cpuinfo

Posted on 2013-11-05
4
1,020 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 120

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 120
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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 …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

735 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