Solved

VMWare Snapshot Performance Hit?

Posted on 2015-01-14
6
346 Views
Last Modified: 2015-01-16
I am using snapshots for VMs before I run Windows updates on them, as these past few months have been really bad for Microsoft updates.  Lots of potential for RGEs.  Anyway.  I am wondering, in a scenario where you have a couple (2 or 3) of VMs running on a single physical 7200 RPM hard drive, how bad of a performance hit will these VMs have if I leave them running on a snapshot for a few days?  IE no more than a week.  I just want to leave some time to suss out any problems these updates may have before I delete the snapshot.

Do you think a week is fine for hard drive IO?

Thanks
0
Comment
Question by:CnicNV
6 Comments
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 150 total points
ID: 40549306
The answer is it all depends.  It depends on the following:

1.  How much IO each VM requires
2.  How much data is read and written on each VM (i.e. how busy are they)
3.  The number of VMs
4.  Amount of memory on each host

I usually run few VMs on my laptop and as long as the VMs are not very busy, it is not a problem.  I usually do delete the snapshots after I am done my testing.  You will not know in your environment until you try it.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 200 total points
ID: 40549482
To be expected I'm afraid, one good reasons why I recommend *NOT* using Snapshots! and the biggest issue is to come, because your VM is running slowly, updates will take forever to process, and when you have decided the updates have worked, the snapshot size can be as large as 1GB per hour, running, that when you come to DELETE ALL the snapshot, the merge can also take many hours to compele!

Whilst a VM writes to a snapshot disk (child) performance will always be bad, no matter what underlying datastore you have! (I've never found it depends, and I've used the fastest datastores in the world, and snapshots still have a huge performance hit! and a single SATA 7,200rpm disk....wow, that's going to be slow! - I think you've only got 40 IOPS there, if the I/O was not virtualised!)

You will also find that Veeam will not support your environment, and it would be too slow for Veeam Backup and Replication, (which uses the Storage API - snapshots) to backup the VMs, and all storage vendors use the same routines and snapshots!

If you search on all my responses to Snapshot Questions, in the last 4-5 years, I've said the same, snapshots are evil, rubbish, do not use them, they cause more issues than they cure!

See my EE Article

HOW TO: VMware Snapshots :- Be Patient

SOLUTION

Do not use them! and rather than use a snapshot, take a FULL CLONE as a backup before you start running updates or use a third party vendor backup tool.

If the updates go wrong, destroy the current machine, rename the CLONE (in the inventory), and restart it - done!

If the updated VM is successful - delete the CLONE.

SAFER, Faster than Evil Snapshots!
0
 
LVL 5

Assisted Solution

by:Dawid Fusek
Dawid Fusek earned 150 total points
ID: 40549987
@ Andy
"If you search on all my responses to Snapshot Questions, in the last 4-5 years, I've said the same, snapshots are evil, rubbish, do not use them, they cause more issues than they cure!"


You rock Andy !!

VMware snapshots on single SATA disk with only single VM may as Andy suggest get You with dramatic performance issues, especially after Windows Update's where lots of system files are changed, so it's not an good idea at all, I use snapshots in my environment but on SSD storage or good cached ZFS storage and sometimes some VM's are running so slow that there are need to delete a snapshots, what sometimes take really more than 16 hours !!!! (so it also a risky and performance issue for whole storage VM's).

If this is not a very big VM, cloning it is a good backup, sure not so fast as snapshot but it's safer and better solution from performance point of view.

So how bad it may be (if windows updates will come to these 3 VM's with snapshot/snapshots)... hmm, as Andy suggest very very bad, even they may get a BSOD's and apps crash because of problems of accessing a disk/storage, and also your SATA disk may fail if it's not a high performance higher price disk (it happens to me 2 times on cheap USB 5k4 hdd's).

So summarizing snapshots of 3 VM's on a single SATA disks for more than some hours are not a good idea, even for some hours if you add a data or just make a windows update it's a bad devil idea :P at all).

regards
NTShad0w
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 5

Expert Comment

by:Dawid Fusek
ID: 40552467
additionally CnicNV,

to give you more real life example, I have a 2 presales on my VI, and they are installing/testing/learning and making a workshops of some BI software (fat software with SQL, Java, .NET), they of course using a snapshots (they have such permission in my VI), and if my storage start goes into performance problems... I look firstly for them and their snapshots (and other snapshots of course) because these VMware poor feature really can kill the performance and act as evil to a storage, VM and whole VI performance.

And sometimes deleting these snapshots took more than 16h !!! :((

best regards
NTShad0w
0
 

Author Closing Comment

by:CnicNV
ID: 40553504
Ok thanks for the feedback, it seems almost unanimous.  

Too bad really, its seems like in theory Snapshots would be fantastic.  Ahh well, I will use them with great caution in future.  I have already deleted the snap for one of the VM since the Microsoft RGEs did not cause any issues.  I will delete the other VMs snapshot today, since it too seems to be ok.

Thanks again.
0
 
LVL 5

Expert Comment

by:Dawid Fusek
ID: 40553656
good, we gave You some point mate,

the theory of VMware snapshots is fare more brutal than marketing materials, it's one of feature that still can be improved by a vendor.

Also I have to add that here, that if You some day will have a storage based on ZFS there is a possibility to use a ZFS snapshots that are far more efficient, but much more difficult to manage (from cli), not working per VM if used with NFS (working per VM when used with iSCSI as a RDM to single VM) and require a storage server based on ZFS.

good luck mate.

kind regards
NTShad0w
0

Featured Post

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.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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…

930 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

8 Experts available now in Live!

Get 1:1 Help Now