<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx</link><description>For some of you reading this - this post will seem like I am stating the obvious - however the question of how to determine the correct amount of memory for a virtual machine is one that gets asked of me quite regularly. To answer this question I am going</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473113</link><pubDate>Fri, 23 Sep 2005 05:42:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473113</guid><dc:creator>VPC User</dc:creator><description>Excellent post!&lt;br&gt;&lt;br&gt;The only question is what are the optimal sizes for all of the main OSes Virtual PC had in the Wizard menu? Is 128 MB good enough for XP and 64 MB for Windows 98?</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473139</link><pubDate>Fri, 23 Sep 2005 07:17:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473139</guid><dc:creator>Norman DIamond</dc:creator><description>&amp;gt; Virtual PC and Virtual Server wire down the&lt;br&gt;&amp;gt; memory that they use for each virtual machine&lt;br&gt;&lt;br&gt;That is true.  And therefore:&lt;br&gt;&lt;br&gt;&amp;gt; If a guest operating system needs to page&lt;br&gt;&amp;gt; excessively then it is going to cause that&lt;br&gt;&amp;gt; virtual machine to run slowly.&lt;br&gt;&lt;br&gt;Actually it will also cause the the real machine to run slowly, because the real machine's excessive paging will be competing with the guest machine's excessive paging and everyone will lose.&lt;br&gt;&lt;br&gt;VPC User asked:&lt;br&gt;&amp;gt; Is 128 MB good enough for XP and 64 MB for&lt;br&gt;&amp;gt; Windows 98? &lt;br&gt;&lt;br&gt;That depends on what you want to do in them.  To run VS2005 (where VS = Visual Studio) betas, I needed a minimum of 256 MB for a release build of XP in a guest machine, or 384 MB for a checked build.  To run a few simple executables that I built and just verify whether they run in Windows 98, 64 MB was enough for those guests (and probably 32 MB would be enough).</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473166</link><pubDate>Fri, 23 Sep 2005 08:39:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473166</guid><dc:creator>Ray</dc:creator><description>To fully understand your explanation: &amp;quot;Repeat the above process inside of each of the virtual machines that you intend to run.&amp;quot;&lt;br&gt;&lt;br&gt;I have a virtual machine currently allocated 523MB and available 324MB. (all needed applications running)&lt;br&gt;&lt;br&gt;Will this mean +/- 300MB of memory would be enough?&lt;br&gt;(523-324+100=299)&lt;br&gt;&lt;br&gt;And what about the page file on the virtual machine? Is there also a golden rule...&lt;br&gt;Ray&lt;br&gt;</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473172</link><pubDate>Fri, 23 Sep 2005 08:52:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473172</guid><dc:creator>Virtual PC Guy</dc:creator><description>Norman -&lt;br&gt;&lt;br&gt;Your point about guest paging is only true if the host is paging as well.  If you have enough memory for the host - but not enough memory for the guest then only the guest will page and the host will be fine.&lt;br&gt;&lt;br&gt;Ray - &lt;br&gt;&lt;br&gt;Yup - that is what I mean.  As for the page file in the virtual machine my advice is always to let Windows manage the page file.  It knows what is best to do.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Ben</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473177</link><pubDate>Fri, 23 Sep 2005 09:14:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473177</guid><dc:creator>Simon</dc:creator><description>Would also be nice to hear about CPU sizing. Its usually quite hard to know how much processing power you need on a host when you consolidate phisical servers into virtual ones.&lt;br&gt;Any tips and trick on this matter?&lt;br&gt;&lt;br&gt;Simon</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473336</link><pubDate>Fri, 23 Sep 2005 20:12:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473336</guid><dc:creator>Christopher Lewis</dc:creator><description>You've stated that VPC pins the memory so it's not swapped.&lt;br&gt;&lt;br&gt;I'm often doing development, and have a VPC instance running in the background.  While I'm not using it, I pause the VPC.  I know this opens up a lot of CPU cycles, but is the memory un-pinned while it's paused? &lt;br&gt;&lt;br&gt;I'm on a 1.5 GB box, but w/ VPC running and VS 2003, there's not a lot of room :-)&lt;br&gt;&lt;br&gt;Also, why can't you see where VPC's memory is in the task mananger?  If I've got a 384mb Virtual machine running, why doesn't the VPC process show that memory?</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473579</link><pubDate>Sat, 24 Sep 2005 17:27:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473579</guid><dc:creator>Candle</dc:creator><description>&amp;gt; Excessive paging == bad&lt;br&gt;&lt;br&gt;&amp;gt; In fact it is very good.  What is bad is when you configure a system with so little memory that it is forced to page excessively.  This will result in the entire performance of your system being bottle necked around the speed of your hard disk (which is about the slowest thing in your system).&lt;br&gt;&lt;br&gt;&lt;br&gt;If you're trying to keep your virtual machine images / snapshots / deltas as small as possibly any paging can be bad as it can increase the size of your saved virtual machines just because you happened to be using a lot of memory at a certain moment in time. &lt;br&gt;&lt;br&gt;</description></item><item><title>re: Sizing memory for virtual machines appropriately</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2005/09/22/473045.aspx#473580</link><pubDate>Sat, 24 Sep 2005 17:27:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473580</guid><dc:creator>Candle</dc:creator><description>&amp;gt; Excessive paging == bad&lt;br&gt;&lt;br&gt;&amp;gt; In fact it is very good.  What is bad is when you configure a system with so little memory that it is forced to page excessively.  This will result in the entire performance of your system being bottle necked around the speed of your hard disk (which is about the slowest thing in your system).&lt;br&gt;&lt;br&gt;&lt;br&gt;If you're trying to keep your virtual machine images / snapshots / deltas as small as possibly any paging can be bad as it can increase the size of your saved virtual machines just because you happened to be using a lot of memory at a certain moment in time. &lt;br&gt;&lt;br&gt;</description></item></channel></rss>