ESXi - distinction between Host Cache, VM Swap File, System Swap, vFlash?
In ESXi 5.5, the host config has a number of similar sounding settings related to swapfiles and caches of various types.
I understand the principles of write-back/write-through disk cache and swapping VM swap files to the host instead of their remote VMDKs, and I'm reading the docs, but it's still pretty confusing which of these is which, and how they inter-relate within ESXi.
For information, my system has a single standalone host with 96GB RAM and three datastores - a local boot store, an iSCSI main store, and a 250 GB NVMe SSD for swap/cache use.
A clear explanation of the differences and how they work together would be really useful right now :)
Host cache: deprecated.
Use Flash Read Cache instead. You can reserve a Flash Read Cache for any individual virtual disk. The Flash Read Cache is created only when a virtual machine is powered on, and it is discarded when a virtual machine is suspended or powered off. Obviously, this cache can only operate in Write-Through mode.
VM Swap & Host Swap
Read this article for better understanding: http://pawellakomski.pl/blog/types-of-swapping-on-esx-hosts/
Web Archive https://web.archive.org/web/20161116081952/https://pawellakomski.pl/blog/types-of-swapping-on-esx-hosts/