Solved

How much virtual memory should the host and guest virtual machines on a Hyper-V server have?

Posted on 2011-03-17
14
1,151 Views
Last Modified: 2012-08-14
How much virtual memory should the host have on a server running Microsoft Windows Server 2008 R2 SP1? It is running three guest vm's all server 2008 r2 sp1. One Domain Controller with AD and DNS with Certificate Services, one SQL server with web based applications, and one terminal server with 10 users. I also have Diskeeper Vlocity 2 running on all host and guest vm's for improved I/O. The server has plenty of physical memory, 28 GB total. I have allocated in hyper-v manager 14 for the terminal server, 4 for the DC and 2 for the sql and app server vm. Now inside those vm's I can go to the properties of the computer and change the "virtual memory" size where it swaps out to disk. This is where I am confused. The vm's shouldn't need a page file right? and what about the host os running the hyper-v role? I have it set to 4-6 gb currently. I dont think any of the vm's need to be swaping out to the page file as there is enough physical memory for all the vm's. So I should be fine turning the page file off for all vm's shouldn't I? I know this means there is no room for the "memory dump" but is this really necessary in the first place because who would dig through all that information with so much memory..

Please correct me if I am wrong but I should just select No page file on all the vm's including the host right?
0
Comment
Question by:gsco
  • 7
  • 7
14 Comments
 
LVL 11

Expert Comment

by:remixedcat
Comment Utility
with windows at least 1GB is required and 2GB is recommended for guests

the RAM on the host is determined by how many VPS will be desired for the server.

Windows VPS has a higher requirement then Linux. Please note that.
0
 

Author Comment

by:gsco
Comment Utility
To clarify I am talking about this screen:   Virtual Memory Screen Capture
0
 
LVL 11

Assisted Solution

by:remixedcat
remixedcat earned 500 total points
Comment Utility
ok well I would have it as equal or greater to the VM's allocated RAM.

if they are 1GB give them 3GB at most

if they are 2GB then give them 4GB at most
0
 

Author Comment

by:gsco
Comment Utility
What is your reasoning behind this answer? There is 28 GB available Only 20 GB is allocated to VM's so that leaves 8 GB for the Host OS with the Hyper-V Role. I don't see any reason for a page file. This is a HP G6 Series Server with two amd hexacore cpus, and two raid 10 configs with 14k SAS drives. Total cost was almost 8k and I want to get the max performance I can out of this server. So I'm wondering why your recommending I use such a large page file when I already have so much extra memory. Maybe I'm missing something... @remixedcat you have worked with hyper-v and vm's before in production right? Just wondering because you never know who is giving you the info here... Thank You very much for the help.
0
 
LVL 11

Expert Comment

by:remixedcat
Comment Utility
I am mostly a VMware cat here. I have worked with hyper-v some in a testing environment. but all production was VMware mainly and I mostly work with the hosting industry so my solutions were geared towards that.
0
 

Author Comment

by:gsco
Comment Utility
So do you see any reasoning for a page file as long as there is plenty of extra physical memory? I cannot find anything on this besides the memory dump issue... What I am concerned with is the host os pagefile... I removed the page file/ reduced it to 800-1024 mb on all the guest vm's and for the past two days people have been telling me the performance has been better. I am thinking of removing the page file altogether now. But the host os I'm not sure about. It is using less than 400mb out of the 4-6gb I allocated. I think I can reduce disk i/o with the page file by removing the page file on the host and the guests now. This server hosts most of the infrastructure for 9 financial services companies. So if it goes wrong I will be in deep sh*t.. I wish I had a test environment but unfortunately I do not have the resources to replicate this kind of scenario.
0
 
LVL 11

Accepted Solution

by:
remixedcat earned 500 total points
Comment Utility
ok well if it performs well in your case then I would remove the PF then. pay very close attention to the usage.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:gsco
Comment Utility
BTW I would love to use citrix or vmware instead of hyper-v but its what I know and have read a lot on. I am wondering now do you see any BIG benefits using vmware or citrix solutions? Which ones/products? I can get the funds to switch to a different hypervisor but I need to present some reasons to upper management... If backup and live migration was included that would be a definite reason for us to switch...
0
 
LVL 11

Expert Comment

by:remixedcat
Comment Utility
I know that most of the top hosting companies use Xen or VMWare. I don't see a lot use hyper-v. This will tell you a lot that you need to convince them. That industry is very demanding. This is why I never got into hyper-v that seriously since I know that it wouldn't  do me that much good in the hosting industry because very few use it.
0
 

Author Comment

by:gsco
Comment Utility
Is there a way I could contact you outside ee possibly? I am looking into the hosting industry also...
0
 
LVL 11

Expert Comment

by:remixedcat
Comment Utility
remixedcat at live dot com is my email.

so what will become of this question?
0
 

Author Comment

by:gsco
Comment Utility
I am going to make another question just to get more opinions but instead of using the word virtual memory I am going to post it as: What should the size of the "page file" on my vm's be?

Point are being awarded to remixedcat. Thanks and I'll shoot you an email.
0
 

Author Closing Comment

by:gsco
Comment Utility
Great Response Time -Thank You
0
 
LVL 11

Expert Comment

by:remixedcat
Comment Utility
You're welcome!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

763 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

6 Experts available now in Live!

Get 1:1 Help Now