{"id":15659,"date":"2013-10-24T06:31:18","date_gmt":"2013-10-24T05:31:18","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=15659"},"modified":"2013-10-24T06:31:18","modified_gmt":"2013-10-24T05:31:18","slug":"configuring-the-paging-file-on-hyper-v-hosts","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=15659","title":{"rendered":"Configuring The Paging File On Hyper-V Hosts"},"content":{"rendered":"<p>A paging file creates virtual RAM, allowing the OS to \u201cpage out\u201d inactive memory and \u201cpage in\u201d memory from the file when it is required.&#160; This allows the OS to make better use of the available RAM in a computer.<\/p>\n<p>Hyper-V has little use for a paging file.&#160; Unlike certain hypervisors, Hyper-V does not do blind second level paging.&#160; That\u2019s because Hyper-V\u2019s Dynamic Memory works differently to other memory techniques.&#160; That\u2019s a whole other blog post.&#160; But long story short: the paging file in a Hyper-V management OS (the host OS) is there only for the management OS itself \u2026 and that management OS doesn\u2019t need much RAM or performance.&#160; You save capacity and performance for your VMs.<\/p>\n<p>There was a time when we used to advise configuring the paging file on Hyper-V hosts.&#160; But that all changed with the release of WS2012.&#160; Lots of little things that we advised tweaking (like memory reserve) should never be tweaked now.&#160; That\u2019s because Microsoft built in automated management for Hyper-V management OS installations.<\/p>\n<p>Now the official line on the paging file is:<\/p>\n<blockquote>\n<p>For Hyper-V servers that run Windows Server 2012 or Windows Server 2012 R2, the page file should be left at the default of setting of <strong>System Managed<\/strong>. This is per the Hyper-V Product Group.<\/p>\n<\/blockquote>\n<p>That comes from a KB article called <a href=\"http:\/\/support.microsoft.com\/kb\/2860880\/\" target=\"_blank\">How to determine the appropriate page file size for 64-bit versions of Windows<\/a> that gives you guidance on how to setup or configure the paging file on x64 Windows installations.&#160; <\/p>\n<p>So that makes it official &amp; simple: leave the paging file on Hyper-V hosts with the default configuration.<\/p>\n<p>For those of you who <strong><em><u>mistakenly<\/u><\/em><\/strong> call their VMs \u201cHyper-V servers\u201d this guidance has nothing to do with the guest OS of your VMs.&#160; Configure the paging file of your VMs according to best practice for the OS and the services that it is running.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:473980d1-9179-474e-a6b4-0226e4036098\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012+R2\" rel=\"tag\">Windows Server 2012 R2<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A paging file creates virtual RAM, allowing the OS to \u201cpage out\u201d inactive memory and \u201cpage in\u201d memory from the file when it is required.&#160; This allows the OS to make better use of the available RAM in a computer. Hyper-V has little use for a paging file.&#160; Unlike certain hypervisors, Hyper-V does not do &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=15659\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Configuring The Paging File On Hyper-V Hosts&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[181,195,118,120],"class_list":["post-15659","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-virtualisation","tag-windows-server-2012","tag-windows-server-2012-r2"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15659"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15659\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}