Solved

ESX Swap file/VM Page file location question

Posted on 2012-03-15
7
1,811 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 120

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 120
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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware vSAN 6.5 usage example and caveats 11 165
VMWare fails to boot after update 15 66
Drobo B1200i and vmware ESX 5.5 with two servers 14 57
VM backup 1 47
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 join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

733 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