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

Skip to main content

My Subscriptions

Loading

Knowledge Base

Slow reboot of vSMP virtual machines on ESX when a lot of guest memory is page-shared (1004901)

Last Updated: 7/7/2020Categories: TroubleshootingTotal Views: 26774Language:
English

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

Rebooting a virtual machine that has multiple vCPUs takes significantly longer than a single vCPU on an ESX host when using certain hardware

Slow performance of virtual machines that use more than one vCPU on an ESX host when using certain hardware

Caution: The most noticeable symptom is your virtual machine taking a significant amount of time to reboot, but it does not take significant amount of time for a fresh power on. If you are not seeing slow reboot times of virtual machines, this article does not apply to you. Do not turn off page-sharing if you are not experiencing these symptoms.

Resolution

This issue occurs because of changes in the architecture of certain CPUs. These changes affect the way that ESX hosts perform COW (Copy-on-Write) memory operations when using vSMP in a virtual machine.

There are two common ways to workaround this problem. Perform one of the following workarounds:

Instead of rebooting the virtual machine, power it off, then power it back on. This resolves the issue because the COW memory is cleared and repopulated upon startup of the virtual machine.

Disable page-sharing to resolve the slow performance. Page-sharing is used to reclaim duplicated memory pages across and within virtual machines. If page-sharing is disabled, virtual machines do not share memory in this way and therefore the virtual machine consumes more physical memory because all memory pages are duplicated for each virtual machine running on the ESX host.

Note: Turning page-sharing off can potentially increase the amount of swapping if you are over-committing the ESX host memory resources.

To disable page-sharing on the ESX host:

Log in to VirtualCenter (or the ESX host directly) with an administrative account using the VMware Infrastructure (VI) Client.

Click on the ESX host on which you want to disable page-sharing.

Click the Configuration tab.

Click the Advanced Settings link.

Click Mem in the Advanced Settings window.

Look for the Mem.ShareScanGHz option and set the value to 0.

Note: By default, Mem.ShareScanGHz is set to 4.

Click OK.

Reboot the ESX host.

If disabling page-sharing for the ESX is not an option, you can disable page-sharing for the virtual machine.

To disable page-sharing in a virtual machine:

Right-click on the virtual machine in the VI Client Inventory and choose Edit Settings.

Click Options and click Advanced > General.

Click Configuration Parameters.

In the dialog box that appears, click Add Row.

Enter sched.mem.pshare.enable and set its value to False.

Related Information

This issue is also outlined in the known issues section of the vCenter Server release notes, for further information, see the VMware vCenter Server 4.0 Update 3 Release Notes.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

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)

KB
•
vCenter Server 5.5 から 6.0 へのアップグレードがアップグレード前チェック中に失敗する (2140225)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant