• Home
  • Consulting
  • Contact Us
    • About this site
    • Contact Wayne
    • Media Room
    • Wayne’s Bio

SBSFAQ.COM

Supporting IT Pro's & MSP's since 2000

  • Blog
  • FAQs
  • Reviews
  • Downloads

What size pagefile should I have on my Hyper-V host?

October 4, 2011 by Wayne Small 14 Comments

I’ve done a fair bit of work now with Windows Server 2008 and 2008R2 and Hyper-V.  One of the key things I’ve looked at is how to correctly size the pagefile for these systems for the host machine.  I’ve searched high and low for a real recommendation from Microsoft on this topic and sadly have not been able to find anything concrete to use as a guide.

In short – I recommend a fixed size 4GB pagefile for my Hyper-V host.  This recommendation is based on Windows Server 2008 and Windows Server 200R2 WITHOUT SP1 with the Hyper-V roles enabled.  Windows Server 2008 R2 SP1 introduced the concept of dynamic memory for the guest machines and at present, I don’t have enough experience with it to make a judgement call.  If you want to know why and how I come to that then read on below. 

Ok – so when you can’t find anything concrete what do you do?  You use the knowledge that you have to figure out what seems reasonable and then put that to the test in a real world situation.  The knowledge below is the summation now of the last few years of running both test and production environments on Hyper-V and from all experiences so far seems to be very accurate indeed.

So what do we do? First up I looked at Microsoft “normal” recommendation is to use 1.2 to 2 times the size of physical RAM for a pagefile on a Windows machine.  Microsoft make this recommendation based on the fact that the total RAM requirement of the programs you run simultaneously on the machine will be well in excess of the physical RAM in the machine.  Having a page file either system managed or fixed at a specific size, allows the system to page to disk sections of RAM that are not being used so that it can be freed up for other programs to use them.  This is “common” knowledge in the industry and pretty accurate.

Well then how does Hyper-V work?  Firstly, Windows Server with Hyper-V or Windows Hyper-V server both handle RAM in the same way – so for the purposes of this FAQ, we’ll call them the same.  When you create a guest machine in Hyper-V you allocate it a fixed amount of RAM to that Virtual machine.  Microsoft recommend and have hard coded blocks in place that mean you can never start more virtual machines than you have physical RAM for.  Microsoft also recommend you leave at least 512MB to 1GB of free RAM for the base Windows Host installation to process it’s things. In addition to that Microsoft also recommend that you do not run any other programs or services on the Hyper-V host therefore limiting the amount of RAM they can consume.  If we are limit the programs that we run on the host machine, it also therefore limits the amount of pagefile we will need.  I figured some time back that it was pretty safe to allocate a 4GB fixed page file as in reality nothing on the Hyper-v Host should really be being paged out to it in the first place.  Based on perfmon indicators on my hyper-V hosts this is pretty accurate and the only time the pagefile gets hit is when I’m running other programs on the Hyper-V hosts itself.  Therefore I’ve come to the conclusion that 4GB is more than enough for me.  Could I allocate less?  Yes probably, but disk is pretty cheap and 4GB is nothing to worry about.  On the other hand had I left it as a system managed pagefile then Windows would start by allocating at least the physical RAM amount of space for the pagefile – which on some of my systems is 64GB+ – and that just does not make sense to me.

That’s what I’m doing – how about yourself – do you have any thoughts to contribute?

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: FAQs Tagged With: Hyper-V, Virtualisation

About The Author

Wayne has been working with Microsoft Server products in the SMB market for over 20 years. He has a passion for technology and been a Microsoft MVP for over 15 years. Read More…

Comments

  1. Nat says

    October 6, 2011 at 2:34 am

    Wayne,
    Do you have suggestions for
    – where to store your Page File and if this makes much difference?
    – I would say with most setups we have done it will be a 4 disk raid 10 or maybe Raid 1 for OS, then Raid 5-10 for the Hyper-V Guests. Does it make much difference where the page file is stored?
    – Do you create a seperate partition for the pagefile?
    – Lastly is there some specific monitoring that you can do so you can actually see pagefile utilisation?
    Cheers
    Nat

    Reply
  2. web hosting jargon says

    March 18, 2014 at 12:40 am

    You must be able to evaluate the features and determine which prices are a good value and which are taking you for your money.
    Setting up your own site can be as easy as a few clicks of the mouse and
    costs less than US$35. VPS is efficient at allocating you server
    resources.

    Reply
  3. great resource here says

    March 18, 2014 at 9:00 am

    It is an affordable server option that will provide you with
    all of the features you want and need. They can also
    contribute to the environment by using energy saving
    servers. Another great aspect to signing up
    with this great company is that they offer a full 90-day money back guarantee.

    Reply
  4. www.streetrodelectrics.com says

    May 2, 2014 at 2:05 am

    Hi there, i read your blog occasionally and i own a similar
    one and i was just wondering if you get a lot of spam remarks?
    If so how do you protect against it, any plugin or anything you can suggest?
    I get so much lately it’s driving me insane so any assistance is very much appreciated.

    Reply
  5. should i move to hawaii says

    May 3, 2014 at 7:42 am

    Hi! I know this is kinda off topic however I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?
    My website addresses a lot of the same topics as yours and I think we could greatly benefit from each other.

    If you’re interested feel free to shoot me an email.
    I look forward to hearing from you! Terrific blog by the way!

    Reply
  6. little tikes trike says

    May 3, 2014 at 5:35 pm

    Wow, incredible blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your web site is magnificent, as well as the content!

    Reply
  7. cheapest vps says

    May 4, 2014 at 12:47 am

    Hi there, after reading this awesome post i am also happy
    to share my know-how here with mates.

    Reply
  8. giant boulder of death says

    July 18, 2014 at 9:13 am

    Really when someone doesn’t know then its up to other viewers that they will assist, so here it happens.

    Here is my blog – giant boulder of death

    Reply
  9. Amelie says

    July 26, 2014 at 1:22 pm

    I’m pretty pleased to discover this web site. I need to to thank you for ones time just for this
    wonderful read!! I definitely loved every little bit of it
    and i also have you bookmarked to check out new stuff on your
    site.

    Reply
  10. miniboxuk.zendesk.com says

    August 4, 2014 at 12:42 pm

    This is actually wonderful- I just really have to
    say that, in case your website must have been a person; Rankings compliment anyone
    by telling You are the wind beneath very own wings… Thanks plus carry on the good creative work.

    My homepage; miniboxuk.zendesk.com

    Reply
  11. red little tikes trike says

    October 18, 2014 at 12:09 pm

    What’s up everybody, here every person is sharing these experience, so it’s good to read this weblog, and I used to go to see this blog daily.

    Reply
  12. Candida says

    November 16, 2014 at 5:06 am

    Above suggestions wipl aiid you lesser the video clip file
    dimension.

    Reply
  13. body fat says

    November 16, 2014 at 6:19 am

    Valuable information. Fortunate me I discovered your web site
    accidentally, and I am stunned why this twist of
    fate did not came about earlier! I bookmarked it.

    Reply
  14. www.geekfitness.net says

    November 18, 2014 at 11:50 am

    Now I am going away to do my breakfast, once having
    my breakfast coming again to read further news.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Connect Online With Us

  • Facebook
  • Twitter

Reviews

Splashtop – Cost Effective Remote Control Software

September 22, 2017 By Wayne Small 2 Comments

Western Digital DL4100 NAS

March 3, 2015 By Wayne Small Leave a Comment

SBS 2011 Configuring Certification Guide (70-169)

August 7, 2012 By Wayne Small 4 Comments

Site News

Exchange Bug Stops Mail Delivery in 2022

January 2, 2022

Huge bug found in Intel CPU that could permit hackers to steal your data

January 4, 2018

Recent Posts

  • MS Exchange Zero Day and RemotePowerShell Disabling on Admin accounts
  • Setup changes for Exchange 2016 and Exchange 2019
  • Bluetooth Mouse and Keyboard Randomly Stop Responding
  • Exchange Bug Stops Mail Delivery in 2022
  • How to open and search extremely large text log files

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration Patches Personal Rants SBS 4.5 SBS 2000 SBS 2000 SP1 SBS 2003 SBS 2003 Premium SBS 2003 R2 SBS 2003 R2 Premium SBS 2003 R2 Standard SBS 2003 SP1 Premium SBS 2003 SP1 Standard SBS 2003 Standard SBS 2008 SBS 2008 R2 SBS 2011 SBS 2011 Essentials SBS 2011 Standard Security Service Packs ShadowProtect SMB Community Software Software I use StorageCraft Training TrendMicro Troubleshooting Virtualisation Windows Server 2012 Essentials

Terms of Use

Privacy Policy

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in