Solved

ESX Swap file/VM Page file location question

Posted on 2012-03-15
7
1,799 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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 119
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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 119
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 119
ID: 37733172
No issues, but monitor performance of the disk and datastore.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Esxi management service 10 64
Cant access ESXI 4 63
Windows Server get hanged and Reset of network adpapter required 3 38
Identity Management & Mobile Apps 5 16
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.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

861 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