Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Storage IO crash consistency with VMware products (1008542)

Details

This article explains storage IO crash consistency for VMware products.

Solution

IO crash consistency is defined as maintaining the correct order of writes in order to allow an application to restart properly from a crash. Alternately, crash consistency posits an IO acknowledged successfully to the application is available persistently on disk before any other IOs that depend on data read/written by the original IO.

IO crash consistency for any applications running inside a guest operating system varies based on the VMware product used. VMware virtualization products include VMware ESX, which uses a bare-metal or hypervisor architecture, as well as VMware Workstation, Server and Fusion, which use a hosted architecture.

VMware ESX acknowledges a write or read to a guest operating system only after that write or read is acknowledged by the hardware controller to ESX. Applications running inside virtual machines on ESX are afforded the same crash consistency guarantees as applications running on physical machines or physical disk controllers. 

For hosted products, write handling depends on the host operating system.

On Linux hosts, VMware does not use unbuffered IO, because it is not safe or supported across all the Linux versions that VMware supports. So currently, VMware hosted products on Linux hosts always use buffered IO.

On Windows hosts, VMware hosted products use unbuffered IO by default.

On Mac hosts, VMware Fusion uses buffered IO by default. Mac users can change the buffering mode through the Fusion user interface by selecting Optimize for virtual machine disk performance (buffered mode) or Optimize for Mac OS application performance (unbuffered mode). Note: Mac OS X 10.5.0 through 10.5.4 cannot successfully use unbuffered mode.

When using buffered IO, VMware hosted products do not bypass the host's buffer cache to produce crash consistent virtual machine IO. Consequently, if the IO is buffered within the host operating system, an application running inside a guest operating system on VMware hosted products might lose crash consistency.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 15 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 15 Ratings
Actions
KB: