O'Reilly logo

vSphere High Performance Cookbook by Prasenjit Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Impact of VM swap file placement

The creation of a virtual machine's swap file is automatic. By default, this file is created in the virtual machine's working directory, but a different location can be set.

Swap file contains swapped memory pages and its size is determined as allocated RAM size—reservation. If performance is important in the design, 100 percent memory reservations should be created, causing no need to swap to disk.

You can optionally configure a special host cache on an SSD (if one is installed) to be used for the swap to host cache feature. This swap cache is shared by all the virtual machines running on the host. In addition, host level swapping of the virtual machines' most active pages benefit from the low latency of SSD. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required