Oracle Databases On VMware - Best Practices Guide
Oracle Databases On VMware - Best Practices Guide
2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. This product is covered by one or more patents listed at http://www.vmware.com/download/patents.html. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc. 3401 Hillview Ave Palo Alto, CA 94304 www.vmware.com 2011 VMware, Inc. All rights reserved. Page 2 of 26
Contents
1. 2. 3. 4. Introduction ...................................................................................... 5 vSphere ........................................................................................... 5 Production Support for Oracle Databases on vSphere ..................... 6 ESX Host Guidelines........................................................................ 7
4.1 General .......................................................................................................................... 7 4.2 Memory ........................................................................................................................ 10 4.3 Virtual CPU .................................................................................................................. 12
5.
6. 7. 8. 9. 10.
Networking Guidelines ................................................................... 21 Performance Monitoring on vSphere .............................................. 22 Timekeeping in Virtual Machines ................................................... 23 Summary ....................................................................................... 24 References ................................................................................ 25
1.
Introduction
This Oracle Databases on VMware Best Practices Guide provides best practice guidelines for deploying Oracle databases on VMware vSphere . The recommendations in this guide are not specific to any particular set of hardware, or size and scope of any particular Oracle database implementation. The examples and considerations provide guidance, but do not represent strict design requirements. The successful deployment of Oracle on VMware vSphere 5 is not significantly different from deploying Oracle on physical servers. DBAs can fully leverage their current skill set while also delivering the benefits associated with virtualization. In addition to this guide, VMware has created separate best practice documents for storage, networking, and performance. This document also includes information from a white paper, Oracle Databases on VMware vSphere 4: Essential Deployment Tips (http://www.vmware.com/files/pdf/Oracle_Databases_on_vSphere_Deployment_Tips.pdf). See Section 10, References, for a list of other documents that can help you successfully deploy Oracle on vSphere.
2. vSphere
VMware virtualization solutions provide numerous benefits to DBA administrators. VMware virtualization creates a layer of abstraction between the resources required by an application and operating system, and the underlying hardware that provides those resources. This abstraction layer provides value for the following: Consolidation VMware technology allows multiple application servers to be consolidated onto one physical server, with little or no decrease in overall performance. Ease of provisioning VMware virtualization encapsulates an application into an image that can be duplicated or moved, greatly reducing the cost of application provisioning and deployment. Manageability Virtual machines can be moved from server to server with no downtime using VMware vSphere vMotion , which simplifies common operations such as hardware maintenance, and reduces planned downtime. Availability If an unplanned hardware failure occurs, VMware vSphere High Availability (HA) restarts affected virtual machines on another host in a VMware cluster. With VMware HA you can reduce unplanned downtime and provide higher service levels to an application. VMware vSphere Fault Tolerance (FT) features zero downtime and zero data loss, providing continuous availability in the face of server hardware failures for any application running in a virtual machine.
VMware recommends that customers take a logical approach and test Oracles support statement. Begin with pre-production systems, and as issues are encountered and SRs are filed, track Oracles response. Our experience is that customers see no difference in the quality and timeliness of Oracle Supports response.
Item Recommendation
Justification
Power-Saving
No
Virus Warning
No
Hyperthreading
Yes
No Yes
Execute Disable
Yes
Video BIOS Shadowable Video RAM Cacheable On-Board Audio On-Board Modem On-Board Firewire On-Board Serial Ports On-Board Parallel Ports On-Board Game Port
No No No No No No No No
VMware vSphere supports large capacity virtual machines, so it can support larger sized Oracle databases and SGA footprints. vSphere host and virtual machine specifications are as follows: Each ESXi host supports up to 2TB RAM, 512 virtual machines and 2048 virtual CPUs. Each virtual machine can support up to 32 virtual CPUs and 1TB RAM.
4.2
Memory
Comments Set memory reservations equal to the size of the Oracle SGA. The memory reservation should be large enough to avoid kernel swapping between ESX and the guest OS because Oracle databases can be memoryintensive. Comments Use large memory pages. Large page support is enabled by default in ESX 3.5 and later, and is supported from Oracle 9i R2 for Linux operating systems and 10g R2 for Windows. Enable large pages in the guest OS to improve the performance of Oracle databases on vSphere.
Appendix A provides a description of virtual machine memory settings that are discussed in this section. For further background on VMware memory management concepts, refer to vSphere Resource Management (http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenterserver-50-resource-management-guide.pdf). When consolidating Oracle database instances, vSphere presents the opportunity to share memory across virtual machines that are running the same operating systems, applications, or components. In this case, vSphere uses a proprietary transparent page sharing technique to reclaim memory, which allows databases to run with less memory than on a physical machine. Transparent page sharing also allows DBAs to overcommit memory without any performance degradation. In production environments, carefully consider the impact of overcommitting memory and overcommit only after collecting data to determine the amount of overcommitment possible. To determine the effectiveness of memory sharing and the degree of acceptable overcommitment for a given database, run the workload and use resxtop or esxtop to observe the actual savings.
Oracle Databases on VMware Best Practices Guide Because Oracle databases can be memory-intensive, and to account for situations where performance is a key factor (and to avoid kernel swapping between ESX/ESXi and the guest OS in mission critical production environments), VMware recommends the following: Set the memory reservation equal to the size of the Oracle SGA. Where the Oracle database is part of a third-party commercial enterprise application (ERP), follow virtualization guidelines from the ERP vendor. Note that setting reservations can limit vMotion operations. A virtual machine can be live migrated only if the target ESX/ESXi host has free physical memory equal to or greater than the size of the reservation. Do not disable the balloon driver. The guest operating system within the virtual machine still needs its own separate swap/page file. Follow the same swap space guidelines given for physical environments.
Though VMware recommends setting memory reservations equal to the size of the Oracle SGA in production environments, it is acceptable to overcommit more aggressively in non-production environments such as development, test, or QA. In these environments, a DBA can introduce memory overcommitment to take advantage of VMware memory reclamation features and techniques. Even in these environments, the type and number of databases that can be deployed using overcommitment largely depend on their actual workload.
4.3
Virtual CPU
Comments Use as few virtual CPUs (vCPUs) as possible. If monitoring of the actual workload shows that the Oracle database is not benefitting from the increased virtual CPUs, the excess vCPUs impose scheduling constraints and can degrade overall performance of the virtual machine. Comments Enable hyperthreading for Intel Core i7 processors. With the release of Intel Xeon 5500 series processors, enabling hyperthreading is recommended.
The following are virtual CPU-related best practices. Item Recommendation Justification
VMware uses the terms virtual CPU (vCPU) and physical CPU to distinguish between the processors within the virtual machine and the underlying physical x86-based processors. Virtual machines with more than one virtual CPU are also called SMP (symmetric multiprocessing) virtual machines. VMware vSphere Virtual Symmetric Multiprocessing (Virtual SMP) enhances virtual machine performance by enabling a single virtual machine to use multiple physical processors simultaneously. vSphere supports up to eight virtual CPUs per virtual machine. The biggest advantage of an SMP system is the ability to use multiple processors to execute multiple tasks concurrently, thereby increasing throughput (for example, the number of transactions per second). Only workloads that support parallelization (including multiple processes or multiple threads that can run in parallel) can really benefit from SMP. The Oracle architecture is multithreaded and includes multiple processes which make it a good candidate to take advantage of Virtual SMP. Though larger virtual machines are possible in vSphere, VMware recommends reducing the number of virtual CPUs if monitoring of the actual workload shows that the Oracle database does not benefit from the increased number of virtual CPUs. Virtual NUMA (vNUMA), a new feature in ESXi 5.0, exposes NUMA topology to the guest operating system, allowing NUMA-aware guest operating systems and applications to make the most efficient use of the underlying hardwares NUMA arch itecture. For additional details, refer to ESXi CPU Considerations in Performance Best Practices for VMware vSphere 5.0 (http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.0.pdf). Oracle NUMA support is disabled by default for 11g and above (see Oracle MySupport Doc ID: 864633.1). In some circumstances enabling Oracle NUMA support may improve performance and the Oracle doc suggests that it be tested in a test environment before deciding to use it with production system. VMware recommends keeping NUMA enabled in server hardware BIOS and at the guest operating system level which should also be the default settings for NUMA support with most servers and guest operating systems. Hyperthreading enables a single physical processor core to behave like two logical processors, allowing two independent threads to run simultaneously. Unlike having twice as many processor cores which can roughly double performancehyperthreading can provide anywhere from a slight to a significant increase in system performance by keeping the processor pipeline busier. For example, an ESX/ESXi host system enabled for hyperthreading on an 8-core server sees 16 threads that appear as 16 logical processors. With the release of Intel Xeon 5500 series processors, enabling hyperthreading is recommended. Prior to the 5500 series, VMware had no uniform recommendation with respect to hyperthreading because the measured performance results were not consistent across applications, run environments, or database workloads. VMware recommends the following practices for allocating CPU to Oracle database virtual machines: 2011 VMware, Inc. All rights reserved. Page 12 of 26
Oracle Databases on VMware Best Practices Guide Start with a thorough understanding of your workload. Database server utilization varies widely by application. If the application is commercial, follow published guidelines where appropriate. If the application is custom-written, work with the application developers to determine resource requirements. VMware Capacity Planner can analyze your current environment and provide resource utilization metrics that can aid in the sizing process. If the exact workload is not known, start with fewer virtual CPUs and increase the number later if necessary. Allocate multiple vCPUs to a virtual machine only if the anticipated database workload can take advantage of all the vCPUs. When consolidating multiple virtual machines on single ESX/ESXi host, proper hardware sizing is critical for optimal performance. Confirm that cumulative physical CPU resources on a host are adequate to meet the needs of the virtual machines by testing your workload in the planned virtualized environment. CPU overcommitment should be based upon actual performance data to avoid adversely affecting virtual machine performance.
5. Storage Guidelines
The following are storage-related best practices. Item Recommendation Justification Comments Enable jumbo frames for IP-based storage using iSCSI and NFS. Jumbo frames enable Ethernet frames to have a larger payload, allowing for improved performance. Comments Create dedicated datastores to service database workloads. The creation of dedicated datastores for I/O-intensive databases is analogous to provisioning dedicated LUNs in the physical world. This is a typical design for a mission-critical enterprise workload. Comments Use VMware vSphere VMFS for single instance Oracle database deployments. To balance performance and manageability in a virtual environment, deploy Oracle using VMFS. Comments Align VMFS properly. Like other disk-based file systems, VMFS suffers a penalty when the partition is unaligned. Use VMware vCenter to create VMFS partitions because it automatically aligns the partitions. Comments Use Oracle automatic storage management. Oracle ASM provides integrated clustered file system and volume management capabilities for managing Oracle database files. ASM simplifies database file creation while delivering near-raw device file system performance. Comments Use your storage vendors best practices documentation when laying out the Oracle database. Oracle ASM cannot determine the optimal data placement or LUN selection with respect to the underlying storage infrastructure. For that reason, Oracle ASM is not a substitute for close communication between the storage administrator and the database administrator. Comments Avoid silos when designing the storage architecture. At a minimum, designing the optimized architecture should involve the database administrator, storage administrator, network administrator, VMware administrator, and application owner.
Item Recommendation
Justification
Oracle Databases on VMware Best Practices Guide Item Recommendation Justification Comments Use Paravirtualized SCSI adapters for Oracle data files with demanding workloads. The combination of the new Paravirtualized SCSI driver (PVSCSI) and additional ESX/ESXi kernel-level storage stack optimizations dramatically improves storage I/O performance.
Storage configuration is essential for any successful database deployment, especially in virtual environments where you can consolidate many different Oracle database workloads on a single ESX/ESXi host. Your storage subsystem should provide sufficient I/O throughput as well as storage capacity to accommodate the cumulative needs of all virtual machines running on your ESX/ESXi hosts.
5.1
VMware storage virtualization can be categorized into three layers of storage technology. The storage array is the bottom layer, consisting of physical disks presented as logical disks (storage array volumes or LUNs) to the layer above. The next layer is the virtual environment occupied by vSphere. Storage array LUNs are presented to ESX/ESXi hosts as datastores and are formatted as VMFS volumes. Virtual machines consist of virtual disks that are created in the datastores and presented to the guest operating system as disks that can be partitioned and used in file systems.
5.2
When deploying vSphere, the choice of a networked storage system has little to do with virtualization. As with any physical Oracle deployment, the main considerations are price, performance, and manageability. In addition, the protocols available with vSphereFibre Channel, hardware iSCSI, software iSCSI, and NFS are capable of achieving throughput levels that are limited only by the capabilities of the storage array and its connection to vSphere. During its testing, VMware has found that wire speed is the limiting factor for I/O throughput when comparing the storage protocols. VMware ESX/ESXi can reach the link speeds in a single virtual machine environment, and also maintain the throughput up to 32 concurrent virtual machines for each storage connection option supported. For details, refer to the Comparison of Storage Protocol Performance in VMware vSphere 4 white paper (http://www.vmware.com/files/pdf/perf_vsphere_storage_protocols.pdf). Fibre Channel might provide maximum I/O throughput, but iSCSI and NFS can offer a better price-performance ratio.
Oracle Databases on VMware Best Practices Guide When selecting networked storage systems and protocols, it is critical to understand which vSphere features are supported. The following table describes the capabilities for each of the protocols available in vSphere. Table 3. Storage Protocol Capabilities
Type Boot VM Boot vSphere Yes Yes No Yes vMotion HA/DRS Yes Yes Yes No VMFS RDM SRM
Yes Yes No No
Yes Yes No No
Jumbo frames are recommended for IP-based storage using iSCSI and NFS. Jumbo frames must be enabled for each vSwitch through the vSphere CLI. Also, if you use an ESX/ESXi host, you must create a VMkernel network interface with jumbo frames enabled. It is also necessary to enable jumbo frames on the hardware as well, including the network switches and storage arrays.
5.3
The Oracle Optimized Flexible Architecture (OFA) is a set of naming standards and best practices to be used when installing and configuring Oracle software. It is a generally accepted best practice to follow the OFA standards for Oracle virtual installations as well. Beginning in 10g, Oracle introduced Automated Storage management, which also conforms to the OFA naming conventions.
If using networked storage, configure the ASM disk groups with external redundancy. Do not use Oracle ASM failure groups. Oracle failure groups consume additional CPU cycles and can operate unpredictably after suffering a disk failure. When using external redundancy, disk failures are transparent to the database and consume no additional database CPU cycles, because this is offloaded to the storage processors. ASM is not storage-aware. In other words, whatever disks are provisioned to a DBA can be used to create a disk group. Oracle ASM cannot determine the optimal data placement or LUN selection with respect to the underlying storage infrastructure. For that reason, Oracle ASM is not a substitute for close communication between the storage administrator and the database administrator. Refer to your Oracle installation guide to create ASM disk groups.
Oracle Databases on VMware Best Practices Guide Figure 1. Example Storage Layout of Oracle OLTP Database on VMware
Figure 1 represents an example storage design for a virtualized Oracle OLTP database. The design is based on the following principles: At a minimum, an optimized architecture requires joint collaboration among the database, VMware, and storage administrators. Follow storage vendor best practices for database layout on their arrays (as is done in the physical world).
Note that Figure 1 is only an example and actual configurations for customer deployments can differ.
Oracle Databases on VMware Best Practices Guide size of the database data files). Refer to the VMware Administration Guide for information on how to add additional virtual SCSI controllers
5.4
5.4.1 Performance
VMware is often asked which offers better performance, VMFS or RDM. Both VMFS and RDM volumes can provide similar transaction throughput. For more details, refer to Performance Characterization of VMFS and RDM Using a SAN (http://www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf).
5.4.2 Functionality
VMware generally recommends VMFS, but there may be situations where RDMs are required. Table 4 summarizes some of the options and trade-offs between VMFS and RDM. For a more complete discussion, see vSphere Storage (http://pubs.vmware.com/vsphere50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-storage-guide.pdf). Table 4. VMFS and Raw Disk Mapping Trade-Offs VMFS Volume can host many virtual machines (or can be dedicated to one virtual machine). Increases storage utilization, provides better flexibility, easier administration and management. Can potentially support clustering software that does not issue SCSI reservations, such as Oracle Clusterware. To configure, follow the procedures given in Disabling simultaneous write protection provided by VMFS using the multi-writer flag (http://kb.vmware.com/kb/1034165). Oracle RAC node Live Migration. RDM Maps a single LUN to one virtual machine, so only one virtual machine is possible per LUN. More LUNs are required, so it is easier to reach the LUN limit of 256 that can be presented to an ESX/ESXi host. RDM might be required to leverage third party storage array-level backup and replication tools. RDM volumes can help facilitate migrating physical Oracle databases to virtual machines. Alternatively, enables quick migration to physical in rare Oracle support cases. Required for MSCS quorum disks.
5.5
General Guidelines
For more information about this topic see the white paper Performance Best Practices for VMware vSphere 5.0 (http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.0.pdf).
6. Networking Guidelines
The following are networking-related best practices. Item Recommendation Justification Comments Use the VMXNET family of Paravirtualized network adapters. The Paravirtualized network adapters in the VMXNET family implement an optimized network interface that passes network traffic between the virtual machine and the physical network interface cards with minimal overhead. Comments Separate infrastructure traffic from virtual machine traffic for security and isolation. Virtual machines should not see infrastructure traffic (security violation) and should not be impacted by infrastructure traffic bursts (for example, vMotion operations). Comments Use NIC teaming for availability and load balancing. NIC teams can share the load of traffic among some or all of its members, or provide passive failover in the event of a hardware failure or a network outage. Comments Take advantage of Network I/O Control to converge network and storage traffic onto 10GbE. This can reduce cabling requirements, simplify management and reduce cost.
The standard VMware networking best practices apply to running Oracle databases on vSphere. For further details follow vSphere Networking (http://pubs.vmware.com/vsphere50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-networking-guide.pdf). This includes designs to efficiently manage multiple networks and redundancy of network adaptors on ESX/ESXi hosts. The key best practice guidelines are: Separate infrastructure traffic from VM traffic for security and isolation. Use NIC teaming for availability and load balancing. NIC teaming occurs when multiple uplink adapters are associated with a single vSwitch to form a team. Take advantage of Network I/O Control to converge network and storage traffic onto 10GbE. Network I/O Control was released in vSphere 4.1 and enables you to guarantee service levels (bandwidth) for particular vSphere traffic types: VM traffic, FT logging, iSCSI, NFS, management, and vMotion. In vSphere use the VMXNET3 network adapter. This is a Paravirtualized device that works only if VMware Tools is installed on the guest operating system. The VMXNET3 adapter is optimized for virtual environments and designed to provide high performance. For further background on network adaptors and compatibility with the ESX/ESXi release and supported guest operating system, see Choosing a network adapter for your virtual machine (http://kb.vmware.com/kb/1001805). For RAC interconnect use jumbo frames. To enable jumbo frames follow Enabling IOAT and Jumbo frames (http://kb.vmware.com/kb/1003712). 2011 VMware, Inc. All rights reserved. Page 21 of 26
Always use the VI Client or vSphere Client, esxtop, or resxtop to measure resource utilization. CPU and memory usage reported within the guest OS can be different from what ESX/ESXi reports. Oracle DBA administrators should pay close attention to the following counters. Refer to VMware Communities: Interpreting esxtop Statistics (http://communities.vmware.com/docs/DOC-9279) for a full list of counters.
Table 5 lists key counters to add to the list of inspection points for Oracle DBA administrators. Of the CPU counters, the total used time indicates system load, and ready time indicates overloaded CPU resources. A significant swap rate in the memory counters is a clear indication of a shortage of ESX/ESXi memory, and high device latencies in the storage section point to an overloaded or misconfigured array. Network traffic is not frequently the cause of most database performance problems except when large amounts of iSCSI storage traffic are using a single network line. Check total throughput on the NICs to see if the network is saturated.
Oracle Databases on VMware Best Practices Guide To determine whether there is any swapping within the guest operating system, use in the in-guest counters in the same manner as in physical environments.
Most operating systems track the passage of time by configuring the underlying hardware to provide periodic interrupts. The rate at which those interrupts are configured to arrive varies for different operating systems. High timer-interrupt rates can incur overhead that affects a virtual machine's performance. The amount of overhead increases with the number of vCPUs assigned to a virtual machine. The impact of these high timer-interrupt rates can lead to time synchronization errors. To address timekeeping issues when running Oracle databases, follow the guidelines in the following VMware Knowledge Base articles: Timekeeping best practices for Linux guests http://kb.vmware.com/kb/1006427 Timekeeping best practices for Windows, including NTP http://kb.vmware.com/kb/1318
9. Summary
The best practices and guidelines discussed in this document are listed in this section. Recommendations Create a computing environment optimized for vSphere. Create golden images of optimized operating systems using vSphere cloning technologies. Upgrade to ESX 4. Allow vSphere to choose the best virtual machine monitor based on the CPU and guest operating system combination. Set memory reservations equal to the size of the Oracle SGA. Use large memory pages. Use as few virtual CPUs (vCPUs) as possible. Enable hyperthreading for Intel Core i7 processors. Enable jumbo frames for IP-based storage using iSCSI and NFS. Create dedicated datastores to service database workloads. Use VMware vSphere VMFS for single instance Oracle database deployments. Align VMFS properly. Use Oracle automatic storage management. Use your storage vendors best practices documentation when laying out the Oracle database. Avoid silos when designing the storage architecture. Use Paravirtualized SCSI adapters for Oracle data files with demanding workloads. Use the VMXNET family of Paravirtualized network adapters. Separate infrastructure traffic from virtual machine traffic for security and isolation. Use NIC teaming for availability and load balancing. Take advantage of Network I/O Control to converge network and storage traffic onto 10GbE. Use vCenter and/or the esxtop/resxtop utility for performance monitoring in the virtual environment. To minimize time drift in virtual machines follow guidelines in relevant VMware Knowledge Base articles. Success stories are available at http://vmware.com/solutions/partners/alliances/oracle-databasecustomers.html.
10. References
You can find more information about using VMware and Oracle using the following links. Oracle Databases on VMware vSphere 4: Essential Deployment Tips http://www.vmware.com/files/pdf/Oracle_Databases_on_vSphere_Deployment_Tips.pdf Virtualizing Performance-Critical Database Applications in VMware vSphere http://www.vmware.com/pdf/Perf_ESX40_Oracle-eval.pdf Performance Best Practices for VMware vSphere 5.0 http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.0.pdf VMware Compatibility Guide http://www.vmware.com/resources/compatibility/search.php vSphere Resource Management http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50resource-management-guide.pdf Understanding Memory Resource Management in VMware vSphere 5.0 http://www.vmware.com/files/pdf/mem_mgmt_perf_vsphere5.pdf VMware Communities: Interpreting esxtop Statistics http://communities.vmware.com/docs/DOC-9279 vSphere Networking http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50networking-guide.pdf Comparison of Storage Protocol Performance in VMware vSphere 4 http://www.vmware.com/files/pdf/perf_vsphere_storage_protocols.pdf Performance Characterization of VMFS and RDM Using a SAN http://www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf vSphere Storage http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50storage-guide.pdf VMware vSphere vMotion Architecture, Performance, and Best Practices in VMware vSphere 5 http://www.vmware.com/files/pdf/vmotion-perf-vsphere5.pdf Disabling simultaneous write protection provided by VMFS using the multi-writer flag http://kb.vmware.com/kb/1034165
Definition of terms: Configured memory Memory size of virtual machine assigned at creation. Active memory Memory recently accessed by applications in the virtual machine. Reservation Guaranteed lower bound on the amount of memory that the host reserves for the virtual machine, which cannot be reclaimed by ESX/ESXi for other virtual machines. Swappable Virtual machine memory that can be reclaimed by the balloon driver or, in the worst case, by ESX/ESXi swapping. This is the automatic size of the swap file that is created for each virtual machine on the VMFS file system (.vswp file).
For more information about VMware ESX/ESXi memory management concepts and the balloon driver, see vSphere Resource Management (http://pubs.vmware.com/vsphere50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-resource-management-guide.pdf).