| By Tommy Patterson | Article Rating: |
|
| November 9, 2012 01:00 PM EST | Reads: |
1,472 |
Thoughts From the Mind of a Previous VMware Admin (aka Game Master)
Do you ever feel like your Windows server is not performing well in the VMware environment, as if it were a sponsor-less contestant in the arena of the annual hunger games? As a VMware admin and consultant I witnessed first hand the fine art of deception for presenting restricted resources to virtual machines. An application owner or Windows admin would come to my cube or put in a help desk ticket asking for a new virtual machine. They would often ask me for an insane amount of resources for this VM because the application vendor demanded it. So just like in the Hunger Games, I would plop the new VM into the environment but at the same time I would unleash harsh conditions on the VM without the requestor ever knowing. In my defense, I was kind of forced to be one Mean Game Master!
Memory Restrictions are like Surviving in the Arena with Heavy Wounds
To limit : something that bounds, restrains, or confines.
Windows administrators use Task Manager or other tools to gauge performance in virtual machines, and while this is great for looking into each process for CPU and Memory usage percentages, the data is highly inaccurate. For instance, you can look at the resources tab and see that your virtual machine has 4GB of RAM. Feeling confident in this number meeting the application requirements, you then fire up the application. At first things seem to be humming along as if your chariot has entered the arena with trailing flames of speed, but then intermittently the application speed goes downhill with no apparent reason. Chances are that your VM Admin(aka the Game Master) has implemented a obstacle in the arena known as a Memory Limit.
- Ask your VM Admin for a screenshot of the Resources tab of the Virtual Machine, specifically the Memory settings area.
- If you see that a value has been given other than the amount of RAM you expect, you are a victim of a Memory Limit.
- The only good values on this screen would be the exact allocated memory or having the checkbox set for “Unlimited.”
So what does this mean to you? Memory Limits are designed to aid VMware Admins in restricting the amount of physical memory actually allocated to virtual machines. For instance, you request a 4GB of RAM machine but the VMware admin implements a 2GB limitation. Your virtual machine is actually using what is known as a balloon mechanism so as to mask the memory limit from the operating system. So as you gaze at the resources tab, you would see 4GB of RAM available for use, however in the background, you are paging the remaining necessary memory to disk! The only “sponsor care package” you can receive in this scenario would be in the form of having insanely fast storage underlying the virtual machine disk files.
- Plead with the Game Master to remove the constraints!
- Set the Memory Limit to Unlimited or the exact amount of Memory Allocated.
Now if you have survived this long, we need to investigate the VMware ESX Host memory utilization. How over-subscribed is the host holding your VMs? If many virtual machines are fighting for memory, the ESX Host will implement what is known as Memory Swapping. There is no tool built into the operating system that you the OS admin can use to detect this is occurring against your VM’s fight for power. If Memory Swapping is in fact occurring you now have a major issue. All VMs on the host are experiencing latency when utilizing memory because a big chunk of that memory is virtualized on the host disk drives or Storage Area Network.
- Petition for your workload to be moved to a less contentious host!
Continue reading in part 2 of this series here where I discuss more havoc in the arena surrounding processor restrictions!
Published November 9, 2012 Reads 1,472
Copyright © 2012 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Tommy Patterson
Tommy Patterson began his virtualization adventure during the launch of VMware's ESX Server's initial release. At a time when most admins were only adopting virtualization as a lab-only solution, he pushed through the performance hurdles to quickly bring production applications into virtualization. Since the early 2000s, Tommy has spent most of his career in a consulting role providing assessments, engineering, planning, and implementation assistance to many members of the Fortune 500. Troubleshooting complicated scenarios, and incorporating best practices into customer's production virtualization systems has been his passion for many years. Now he share his knowledge of virtualization and cloud computing as a Technology Evangelist in the Microsoft US Developer and Platform Evangelism team.
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Cloud Expo New York: Deploying Hybrid Cloud for Performance and Uptime
- Big Data Isn’t About the Database, It’s About the Application
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Cloudant to Exhibit at Cloud Expo & Big Data Expo New York
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- How to Move Your Oracle Databases to Amazon EC2 Cloud
- The Accessibility of the Cloud
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York: Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Examining the True Cost of Big Data
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Cloud Expo New York: How to Use Google Apps Script
- Cloud Computing Bootcamp at Cloud Expo New York
- Software Defined Networking – A Paradigm Shift
- Rackspace Hosting Named “Platinum Plus Sponsor” of Cloud Expo New York
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Why Big Data Is Really About Small Data
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- The i-Technology Right Stuff
- The Top 150 Players in Cloud Computing
- Who Are The All-Time Heroes of i-Technology?
- Where Are RIA Technologies Headed in 2008?
- Get the Message
- i-Technology Viewpoint: Is Web 2.0 the Global SOA?
- ESB Myth Busters: 10 Enterprise Service Bus Myths Debunked
- i-Technology Viewpoint: Thinking Outside the VC Box
- i-Technology Viewpoint: When to Leave Your First IT Job
- SOA Web Services Edge Conference Coverage on SYS-CON.TV
- SYS-CON.TV's "SOA Web Services" and "Enterprise Open Source" Programs To Air in December
- Five Reasons Why Web 2.0 Matters























