Solved

Hyper-V virtual machine RAM performance shows 95% used but I can't find where

Posted on 2014-09-03
3
1,689 Views
Last Modified: 2014-11-12
Hi everyone!
New question:
When I remote into a Hyper-V virtual machine, it shows that it's currently using 95% RAM doing nothing but sitting at the desktop and running a few IIS COM objects intermittently. The virtual machine has 8 GB of RAM allotted to it.
When I remote into the physical machine that hosts the virtual machine and look at the Hyper-V stats it says:
Startup memory: 8192 MB
Dynamic Memory: Enabled
Assigned Memory: 1155 MB
Memory Demand: 958 MB
Memory Status: OK

So this VM appears to be using somewhere in the neighborhood of 1.2 GB of RAM but yet when logging into the Hyper-V virtual machine, it appears it's using almost 7.5 GB.

Is it possible the virtual machine is showing that because it was initially allotted almost 8 GB so that's what it claims it's using?
0
Comment
Question by:HbugProject
3 Comments
 
LVL 56

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 250 total points
ID: 40302359
When using dynamic memory, memory usage statistics in the guest become completely useless. You can't use the percentage as an indicator of startup memory used because the Hypervisor will hot-add memory as needed (and yes, the kernel is aware of this.) What you describe is nothing to worry about since the Hyper-V Manager is, in fact, reporting only 1GB used. Hyper-V also adds several performance counters that can be monitored via performance monitor, SCOM, or SCVMM to get a more detailed view of memory usage and trends if you want that sort of thing. But for now nothing you mentioned raises a red flag to me. You'd want near full memory utilization, especially with dynamic memory. If it weren't then it'd be a sign that you've overallocated memory or that it isn't properly making dynamic adjustments.
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 250 total points
ID: 40302365
You can ignore the reading of memory usage inside the VM. Keep a look on the Memory demand and Assigned memory values in Hyper-V Manager.

Startup memory seems a little bit higher is the machine uses around 1.2GB. In case the RAM resource is limited this high value could prevent the machine from starting-up. I would put a lower value for Startup memory, something around 4GB but higher value for Minimum memory, may be something around 2GB, just to prevent Hyper-V from constantly changing the allocated memory.
0
 

Author Closing Comment

by:HbugProject
ID: 40302374
Thanks guys for calming me down on this one.
Yes Svet, I will adjust the "startup memory" and "minimum memory" just to be safe. This was my first go-around with Server 2012 and Hyper-V and I guess I misunderstood the startup memory, I just wanted it to have 8 GB available if it needed it because I know this server will taxed quite a bit throughout the day.
Thanks Cliff for mentioning SCOM, I will look into that for a more detailed stat of what "really" is taking place.
Thanks again guys!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

911 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

21 Experts available now in Live!

Get 1:1 Help Now