Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

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

Excessive Page Faults Generated By Windows Applications May Impact the Performance of Virtual Machines (1687)

Last Updated: 7/6/2020Categories: TroubleshootingTotal Views: 98265Language:
Chinese (Simplified)JapaneseEnglish

20 like this article

Subscribe to get an email
newsletter with new updates

20 people found this helpful Please provide article feedback:

Details

My application generates a large number of page faults. I'm seeing poor performance when I run this application inside the virtual machine. What is wrong?
63882

Solution

Page faults are generated when an application tries to use memory that is part of its working set, but can't find it. Page faults can be either hard or soft:

Hard page faults occur when the page is found in the page file on the hard disk.

Soft page faults happen when the page is found somewhere else in memory.

Hard page faults involve disk I/O and impact performance. Soft page faults also impact performance, but may not result in heavy performance loss in a physical environment. VMware software does not cause the guest operating system running in the virtual machine to see additional page faults, but VMware software must virtualize the page faults that originate from within the virtual machine. Both soft and hard page faults in a virtual machine cause a context switch into the virtualization layer and some additional processing to virtualize memory management data structures. As on native hardware, hard page faults in a virtual machine also require disk I/O to the page file. For best performance, avoid page faults whenever possible. You can investigate if your Windows application is generating page faults by using the Performance Monitor console (perfmon), which shows you the cumulative number of page faults on the system. Generally, if the rate of paging is slow, then the application is generating hard page faults. You can investigate the paging rate by monitoring the "page faults per second" counter. To invoke perfmon in the Windows guest:

From the Start menu, click Run.

Type perfmon in the text box.

When the Performance Monitor console appears:

Click the + (add counter) button.

In the Add Counters dialog box:

Choose Memory from the Performance object drop-down list.

If it is not already selected, click the Select counters from list radio button.

Choose the Page Faults/sec counter from the list box.

The Performance Monitor console now graphs the number of page faults per second for the whole system. The Pages/sec counter is also useful for finding hard page fault issues because it shows the rate at which pages are read from or written to disk. You can also use perfmon to view per-process page faults. In the Add Counters dialog box:

Choose Process from the Performance object drop-down list.

If it is not already selected, click the Select counters from list radio button.

Choose the Page Faults/sec counter from the list box.

Under Select instances from list, choose the processes of interest from the list box.

Additionally, Microsoft provides a tool in its Windows Resource Kit called Page Fault Monitor (pfmon). Page Fault Monitor allows you to find which system calls in the application are generating page faults. If your application generates page faults, you should:

Determine if the page fault is soft or hard (you can use pfmon for this purpose).

Increase the amount of memory allocated to the application's working set. Some applications, like SQL, allow you to change the working set memory in the configuration.

Increase the memory allocated to the virtual machine.

Contact the application vendor to find out if you can prevent the page faults by tuning or modifying the application settings.

If you have an application that generates a large number of page faults, and if your application vendor is interested in working with VMware, please open a support ticket with VMware. Provide complete information about the application and the steps to reproduce the problem. For discussions related to this topic, see the VMware Community Discussion Forums.

Additional Information

For translated versions of this article, see:

日本語: Windows アプリケーションにより生成された過度のページ フォールトが仮想マシンのパフォーマンスに影響する場合がある (2096908)

简体中文: 如果 Windows 应用程序生成的页面错误过多，可能会影响虚拟机的性能 (2116454)

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)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation

VMware GSX Server

VMware ESX Server

VMware ACE

Related Versions:

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