?
Solved

ESX Swap file/VM Page file location question

Posted on 2012-03-15
7
Medium Priority
?
1,852 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 122
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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

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

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
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 log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

770 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