Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Determining the number of cores per socket in a Windows virtual machine (1030067)

Last Updated: 6/19/2020Categories: How toTotal Views: 18244Language:
Chinese (Simplified)JapaneseEnglish

8 like this article

Subscribe to get an email
newsletter with new updates

8 people found this helpful Please provide article feedback:

Purpose

This article provides information on the utilities that can be used to determine the number of cores each virtual CPU is configured to use in a Windows virtual machine.

Resolution

Notes:

VMware does not endorse or recommend any particular third-party utility, nor is this list meant to be exhaustive.

The links provided here were correct as of October 19, 2012. If you find a link is broken, provide feedback and a VMware employee will update the link.

To check the number of cores for a CPU in a virtual machine, you can use one of these utilities:

Coreinfo

Coreinfo is a Microsoft command-line utility, developed by Mark Russinovich. It displays the mapping between logical processors and the physical processor, NUMA node, and socket on which they reside. It also provides information on the cache assigned to each logical processor.

To check the distribution of cores across a socket, use the coreinfo -c -s command. To download and install Coreinfo, click here.

CPU-Z utility

CPU-Z is a freeware application for Microsoft Windows operating systems which provides information about CPU, processor, cache, memory, system board, graphics, and other hardware features. To download and install CPU-Z, see http://www.cpuid.com/.

In the figure below, the cpuid.coresPerSocket is set to 4, therefore the number of cores per CPU is 4:

Note: For information about setting the number of cores per socket in a virtual machine, see Setting the number of cores per CPU in a virtual machine (1010184).

Microsoft System Information (MSINFO32)

MSINFO32 displays a comprehensive view of your hardware, system components, and software environment. For information on the list of switches that can be used with the MSINFO32 command in Windows 7, Windows Vista, and Windows XP.

Microsoft wmic command

On Windows XP and 2008, you can use the wmic command. At a Windows command prompt, run the command:

wmic cpu get NumberOfCores

Note: For more information on the wmic command, see the Microsoft TechNet article WMIC - Take Command-line Control over WMI.

Related Information

CPU: The part of a computer system that performs the instructions of a computer program. It is the primary element that carries out the computer's functions.

Core: A logical execution unit containing an L1 cache and functional units needed to execute programs. Cores can independently execute programs or threads.

Socket: A physical connector on a computer motherboard that accepts a single physical chip.

Windows 仮想マシンでソケットあたりのコア数を確認する
确定 Windows 虚拟机中每个插槽的核数

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vCenter Server

VMware ESX Server

Related Versions:

Take Our Survey

Support Assistant