Solved

ESX Swap file/VM Page file location question

Posted on 2012-03-15
7
1,754 Views
Last Modified: 2012-03-17
ESXi 5 Cluster
NetApp FAS3240 Cluster (Active/Active)
NFS Datastores

I'm going through the best practices documentation from NetApp concerning vSphere and Storage (TR-3749).

NetApp recommends storing the VM Swapfile on a centralized datastore for disk cost savings (snapshots and replication). This setting would be set at the host level. When going into the settings at the cluster level, VMware "recommends" saving this within the same directory as the VM.

Anyone have experience with this? As in pros and cons? I can see where this could degrade the performance of vMotion, but other than this I was looking for some input from people who have run this in production.

Also, what are your thoughts on also moving the VM's pagefile (OS) to a separate VMDK that is located on a centralized datastore as well? Same thought process here.. disk savings is nice, but don't want to introduce stability issues (if any).
0
Comment
Question by:MMRNLA
  • 4
  • 3
7 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37725101
If VMs start to swap, you want to put the ESX Swap and VM Page files on the fastest datastore as you can.

Swap-In functions is what causes the most performance issues.

You may want to look at consumer SSDs - 32GB just for Host Cache Configuration now supported in ESXi 5.0 for this very purpose, SSD have far better latency, between disks and RAM for Swap file usage.

Also ensure, that Pagefiles are correctly set in the VM, and for performance again, allocate on fast datastores.

Place guest’s swap file/partition on separate vdisk
• Allows you to monitor guest swap activity through virtualDisk stats

see here

http://www.virtuallyghetto.com/2011/07/how-to-automate-host-cache.html
0
 
LVL 1

Author Comment

by:MMRNLA
ID: 37725199
We have zero contention with our cluster in regards to memory resources. I was more interested in disk cost savings in regards to replication. We have limited bandwidth to our DR site and I want to decrease our snapshot data footprint as much as possible.


But you bring up an interesting point about using SSDs. In general can we gain performance by using them for host cache?
0
 
LVL 117
ID: 37725240
Yes, Increased Performance, for very little space used.

Overcoming slower latency in using traditional disk, where SSD have much better performance in this area.

SSD is just for Host Cache. So 32GB will be ample for most sites.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 1

Author Comment

by:MMRNLA
ID: 37731772
one more question, would there be an issue with creating one datastore for both the swapfile and pagefile on all my VMs?
0
 
LVL 117
ID: 37732175
Certainly not, but make sure you do not have performance issues with it, otherwise ALL VMs will be affected.
0
 
LVL 1

Author Comment

by:MMRNLA
ID: 37732641
certainly not? As in yes? or no?

=)
0
 
LVL 117
ID: 37733172
No issues, but monitor performance of the disk and datastore.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now