<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shiny Things &#187; VMware</title>
	<atom:link href="http://www.andrewgrant.org/tag/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andrewgrant.org</link>
	<description>Andrew Grant</description>
	<lastBuildDate>Thu, 17 Jun 2010 21:37:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tips for VMware Fusion Performance</title>
		<link>http://www.andrewgrant.org/2009/01/26/tips-for-vmware-fusion-performance.html</link>
		<comments>http://www.andrewgrant.org/2009/01/26/tips-for-vmware-fusion-performance.html#comments</comments>
		<pubDate>Mon, 26 Jan 2009 20:28:54 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Macbook]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.andrewgrant.org/2009/03/10/tips-for-vmware-fusion-performance.html</guid>
		<description><![CDATA[Although I use a MacBook &#38; OSX there are several Windows programs that I can’t do without and thus have VMware Fusion running almost constantly. In the year or so that I’ve been using Fusion I’ve discovered a lot of things that can improve performance, some obvious and some not so.
This will be the post [...]]]></description>
			<content:encoded><![CDATA[<p>Although I use a MacBook &amp; OSX there are several Windows programs that I can’t do without and thus have VMware Fusion running almost constantly. In the year or so that I’ve been using Fusion I’ve discovered a lot of things that can improve performance, some obvious and some not so.</p>
<p>This will be the post I wish I could have found when I began using Fusion <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> <span id="more-396"></span>
<ul>
<li>Get as much RAM as possible. You should have at least 1GB of RAM assigned to your VM and possibly more depending on how many programs you’re running.</li>
<li>Even if you have a dual-core machine, don’t use the dual-virtual-cpu option.</li>
<li>If you have the option, use a 64-bit operating system (XP 64-bit, Vista 64-bit, Windows 7 64-bit). For 64-bit VM’s Fusion will use Intel’s VT hardware extensions for virtualization which perform better for call-heavy workloads. See this <a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/852005619831?r=585008719831" target="_blank">post</a>.</li>
<li>Virtual SCSI drives perform better than virtual IDE drives. Note that XP discs do not come with SCSI support so you should use the “Easy Install” option in VMware which will slipstream them.</li>
<li>Running a file-based Virtual Machine is much faster than a boot-camp partition. The reason seems to be that accessing to data on the NTFS boot-camp partition is slower than the HFS+ partition.</li>
<li>Windows XP is faster than Vista.</li>
<li>Windows 7 is faster than Vista.</li>
<li>If you have the option, put your VM on an external or secondary disk. The more you can minimize access to your system disk the better.</li>
<li>Some forums claim that static pre-allocated disks are faster than dynamically disks that grow as needed.. This doesn’t make much sense, other than when your dynamic disk must be resized every 2GB or so.</li>
</ul>
<p>For reference; With VMware Fusion 2 on my 2.4GHz MacBook with 4GB RAM and running Windows 7 with no programs, Activity Monitor shows around 5-6% of CPU time being used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewgrant.org/2009/01/26/tips-for-vmware-fusion-performance.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Virtualizing Media Center on Windows Home Server</title>
		<link>http://www.andrewgrant.org/2008/12/17/virtualizing-media-center-on-windows-home-server.html</link>
		<comments>http://www.andrewgrant.org/2008/12/17/virtualizing-media-center-on-windows-home-server.html#comments</comments>
		<pubDate>Wed, 17 Dec 2008 23:50:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows Home Server]]></category>
		<category><![CDATA[Windows Media Center]]></category>

		<guid isPermaLink="false">http://www.andrewgrant.org/?p=370</guid>
		<description><![CDATA[ Like everyone with both Windows Home Server and Windows Media Center boxes I&#8217;d pay a good chunk of cash to have both in a single box featuring shared storage, cablecard support, and a small and eco-friendly footprint. A very good chunk.
A few people have (somewhat) successfully virtualized Windows Home Server on their Windows Media [...]]]></description>
			<content:encoded><![CDATA[<p><img title="image" style="display: inline; margin-left: 0px; margin-right: 0px" height="154" alt="image" src="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image3.png" width="131" align="right" /> Like everyone with both Windows Home Server and Windows Media Center boxes I&#8217;d pay a good chunk of cash to have both in a single box featuring shared storage, cablecard support, and a small and eco-friendly footprint. A very good chunk.</p>
<p>A few people have (somewhat) <a href="http://www.wegotserved.co.uk/2008/12/09/combining-vista-media-centre-a-virtual-windows-home-server/" target="_blank">successfully virtualized Windows Home Server</a> on their Windows Media Center box but while I admire their cunning there’s potentially a rather ugly problem. If the OS drive for WMC should ever fail you have a chicken-and-egg situation. No WMC = No WHS = No restore from backup. </p>
<p>I think a better scenario then is to have Windows Media Center running as a service on the Home Server box with all output being through one or more extenders. With a few constraints I couldn’t think of any reason why this wouldn’t work so I decided to give it a go <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note the following were required;</p>
<ol>
<li>A VM package that supports USB devices and can be run as a service. </li>
<li>USB Tuners</li>
<li>Acceptance of being limited to extenders, and not being able to record protected digital content (for the same reasons you can&#8217;t record digital content with a custom-built box). </li>
</ol>
<p> <span id="more-370"></span><br />
<h4>Virtual Machine package</h4>
<p>I initially started with the free version of VMware Server 2.0 which worked but had two drawbacks; The most awful web based administration imaginable and a limit of two USB devices. The first I could live with since post-install I’d use Remote Desktop for admin tasks, but the second’s a deal breaker for Media Center duties with USB tuners. </p>
<p>When I discovered this post-install I switched to VMware Player which is free but restricts virtual machines to being run, not created or edited. As I’d already created my VM in VMware Server this wasn’t a problem.</p>
<p>VMware Player doesn’t run as a service but can easily be configured to do so, even featuring a “No GUI” option for this purpose. It also supports USB 2.0 devices and will automatically reconnect them upon startup.</p>
<p>One other important detail is your VM package must support “Bridged” networking. This is where both VM and the host share the same network connection but have different IP addresses. The alternative is NAT where your VM is on a different IP range and invisible to devices such as extenders.</p>
<h4>USB Tuners</h4>
<p>Because Media Center is running in a virtual machine it’s unable to access physical hardware, with the exception of hard-disks and USB devices which can be bridged from the host.</p>
<p>For this experiment I picked up a used Adaptec 3610 USB Analog Tuner from eBay for about $35. As well as dual-tuners it has a built in eHome IR blaster for controlling STB’s which is super-handy. If a virtual Media Center proves not to be an option I’ll likely be switching my Media Center to a smaller machine anyhow so it won’t be going to waste. </p>
<p>For an ATSC HD tuner I currently use a VBox PCI card, but would switch to the HD HomeRun. It’s pricey ($170+) but has dual hybrid ATSC/QAM inputs and is Ethernet based.</p>
<h4>Acceptance</h4>
<p>As noted there’s two obvious caveats to a VM Media Center – Firstly that all Media must be played back via an Extender, and secondly CableCard support will not be an option. </p>
<p>The first is ok with me. As crazy as it sounds I’d prefer NOT to have a PC next to the TV <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The second is the same limitation as custom building a machine – sucky but what can you do. While I’d like CableCard I can live without it. Most of the shows I watch are on local network channels and ATSC works fine here, arguably even better infact.</p>
<p>(On a side note: why are the only OEM PC’s that support CableCard so big, ugly, and non-Media-ish?)</p>
<h4>The results</h4>
<p>I ran this experiment on the Windows Home Server <a href="http://www.andrewgrant.org/2007/04/06/building-a-windows-home-server-part-1-hardware-choices.html" target="_blank">I built last year</a>, which since buying a MediaSmart Server has been relegated to a development role. The specs (Athlon X2 2.0 Ghz, 2GB RAM) are higher than the stock MSS but around the spec that it can be upgraded to with hardware/bios mods.</p>
<p>Aside from the horrible web interface, installation under VMware server was painless.</p>
<p>The first thing I did was setup an extender to test that it could connect and stream the provided sample videos. There should be absolutely no difference, but for reference I went with the Xbox 360 for these tests. It was in the living room and I think it’s a better implementation.</p>
<p><img title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="383" alt="image" src="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image4.png" width="500" /></p>
<p>The Extender connected first time without any problems and I could immediately select and view all of the sample media without a problem. This was my “wow” moment when I realized that this could actually all work.</p>
<p>Next up it was time to configure the tuners and, aside from having to switch to VMware Player, this is when I experienced my first hitch – TV setup cannot be performed via an Extender and must be done on the Media Center PC itself. </p>
<p>Because the virtual display drivers do not support hardware video you cannot see anything while configuring TV. This leads to a “TV Signal” screen that looks similar-but-not-quite-the-same as when there’s no signal detected.</p>
<p>As well as spotting this you need to use a process of elimination to determine which box maps to which tuner (luckily the Adaptec labels its external ports which makes it trivial) and whether the IR blaster is really changing channel or not.</p>
<p>&#160;<img title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="405" alt="image" src="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image5.png" width="500" /> </p>
<p>So with everything setup it was on to some performance tests. First I watched and recorded “The Daily Show” and everything was great – CPU usage on the server was less than 30% and the picture was free of stutters, including while skipping back/forward.</p>
<p>After this I recorded “The Colbert Report” and started to rewatch the Daily Show. This is where things took a down-turn. The picture was generally ok but would occasionally stutter. Looking at Task Manager on the VM, CPU usage would spike from 50-100%, and on the server it would hover between 40-50%.</p>
<p><img title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="362" alt="image" src="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image6.png" width="500" /> </p>
</p>
<p>At this point I realized that VMware was maxing out one core on the server while the other went unused. I tried several things to get VMware to use both CPUs without any success – although VMware player is free it has no options so you’re restricted to editing config files using info gleamed on the web.</p>
</p>
<p>As I was already seeing problems with two simultaneous streams I was also concerned how it would handle a third show, or HD being thrown into the mix, or multiple extenders. All of these are things that are common in our house and if there’s one Mission Critical WAF item it’s TV <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At this point I decided to call time on my experiment for the time being. As well as resolving the VMware problem with multiple cores I would need to purchase some USB ATSC hardware before I could satisfactorily judge performance. </p>
<p>My feeling is this setup is absolutely workable, and could work very well, but the spec of the host machine is likely to require more than the MediaSmart Server hardware can support. </p>
<p>Since my whole purpose was minimizing the footprint of both machines instead of switching back to a large form-factor server I’m more likely to purchase a dedicated machine such as a Dell Studio Hybrid or Mac Mini for Media Center purposes, then have it record to a network share. These are avenues I’ll probably explore in the new year.</p>
<p>It was fun tho <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewgrant.org/2008/12/17/virtualizing-media-center-on-windows-home-server.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>A Fun screenshot</title>
		<link>http://www.andrewgrant.org/2008/12/12/a-fun-screenshot.html</link>
		<comments>http://www.andrewgrant.org/2008/12/12/a-fun-screenshot.html#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:59:10 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows Home Server]]></category>

		<guid isPermaLink="false">http://www.andrewgrant.org/2008/12/12/a-fun-screenshot.html</guid>
		<description><![CDATA[This is a screenshot of using Live Mesh on my work machine to login to Vista (running under VMWare fusion) on my MacBook at home, which is logged into my Windows Home Server development box, which is installing a copy of Vista Home Premium under VMWare Server. 
 
It looked neat and kind of trippy [...]]]></description>
			<content:encoded><![CDATA[<p>This is a screenshot of using Live Mesh on my work machine to login to Vista (running under VMWare fusion) on my MacBook at home, which is logged into my Windows Home Server development box, which is installing a copy of Vista Home Premium under VMWare Server. </p>
<p><a href="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image2.png"><img title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="426" alt="image" src="http://www.andrewgrant.org/wordpress/wp-content/uploads/2008/12/image-thumb.png" width="541" /></a> </p>
<p>It looked neat and kind of trippy so I thought I’d post. Everything is fairly responsive too which is nice.</p>
<p>And yes, there is a reason for this hall-of-mirrors type madness. More later <img src='http://www.andrewgrant.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewgrant.org/2008/12/12/a-fun-screenshot.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Vista v Windows XP under VMware Fusion</title>
		<link>http://www.andrewgrant.org/2008/10/27/windows-vista-v-windows-xp-under-vmware-fusion.html</link>
		<comments>http://www.andrewgrant.org/2008/10/27/windows-vista-v-windows-xp-under-vmware-fusion.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 22:59:55 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.andrewgrant.org/2008/11/03/windows-vista-v-windows-xp-under-vmware-fusion.html</guid>
		<description><![CDATA[For as long as I’ve been using OSX I’ve been running XP under VMware Fusion for those can’t-do-without programs, but now that I have my shiny new Macbook with 4GB of RAM I wanted to see whether it’d be possible to run Vista &#8211; and preferably Vista 64-bit.
I’m going to be doing a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>For as long as I’ve been using OSX I’ve been running XP under VMware Fusion for those can’t-do-without programs, but now that I have my shiny new Macbook with 4GB of RAM I wanted to see whether it’d be possible to run Vista &#8211; and preferably Vista 64-bit.</p>
<p>I’m going to be doing a lot of Windows development over the next few months (WHS, Silverlight, ASP.NET) and would much prefer Vista so on Friday I spent some time doing a few benchmarks with both XP 32-bit and Vista 64-bit. </p>
<p>(Originally I also planned to test the 32-bit version of Vista, but I couldn’t face an additional two hours of installs and service packs. Plus I decided to do Vista 64-bit after XP incase of any problems).</p>
<p>Note that this is very rough testing using three averaged runs of GeekBench. The OSX timings are included to measure the impact of running the VM, not to draw any comparisons between OSX / Windows performance. I don’t know how Geekbench compares across platforms.</p>
<p>Details:</p>
<ul>
<li>System: 2008 Macbook, 2.4GHz Core 2 Duo, 4GB Ram, 7200RPM Drive</li>
<li>VM: VMware Fusion 2.0, one VCore, 1.5GB Ram, running from bootcamp partition</li>
<li>OSX: 10.5.5</li>
<li>Windows: Windows XP Pro 32-bit SP3, Windows Vista Home Premium 64-bit SP1</li>
<li>Benchmark: GeekBench 2.0.19 for OSX and Windows (32-bit)</li>
</ul>
<p><span id="more-348"></span></p>
<p>OSX Performance:</p>
<table cellspacing="0" cellpadding="2" width="499" border="0">
<tbody>
<tr>
<td valign="top" width="91">&#160;</td>
<td valign="top" width="123">OSX without VM</td>
<td valign="top" width="138">OSX hosting Windowed VM</td>
<td valign="top" width="145">OS hosting Unity VM</td>
</tr>
<tr>
<td valign="top" width="91">XP 32-bit</td>
<td valign="top" width="123">3115</td>
<td valign="top" width="138">3072</td>
<td valign="top" width="145">3083</td>
</tr>
<tr>
<td valign="top" width="91">Vista 64-bit</td>
<td valign="top" width="123">3115</td>
<td valign="top" width="138">3043</td>
<td valign="top" width="145">3067</td>
</tr>
</tbody>
</table>
<p>VM Performance</p>
<table cellspacing="0" cellpadding="2" width="499" border="0">
<tbody>
<tr>
<td valign="top" width="87">&#160;</td>
<td valign="top" width="126">Native</td>
<td valign="top" width="138">Fullscreen VM</td>
<td valign="top" width="146">Unity FM</td>
</tr>
<tr>
<td valign="top" width="87">XP 32-bit</td>
<td valign="top" width="126">2765</td>
<td valign="top" width="138">1924</td>
<td valign="top" width="146">1932</td>
</tr>
<tr>
<td valign="top" width="87">Vista 64-bit</td>
<td valign="top" width="126">2596</td>
<td valign="top" width="138">1886</td>
<td valign="top" width="146">1892</td>
</tr>
</tbody>
</table>
<h6>Note: The native times are running Windows via bootcamp which gives windows two cores with 3.5GB of ram under XP and 3.7GB under Vista 64 (~256MB are reserved for integrated graphics). Since the VM has one core and 1.5GB of ram I don’t expect the times to be close, I’m just interested in the performance differences between XP and Vista in each situation.</h6>
<p>&#160;</p>
<p>So what’s interesting about the results?</p>
<ul>
<li>The difference between XP and Vista-64 are approx 2% in both Fullscreen mode and Unity, whereas natively the difference is approx 6%.</li>
<li>The difference in impact upon the host OS (OSX) appears to be even lower.</li>
<li>Despite what I’d always assumed, Unity mode appears to be both faster than fullscreen and with a lower impact on the host. I guess it’s faster to skip the background than it is to separately overlay the windows.</li>
</ul>
<p>So it looks like I’ll be sticking with Vista 64-bit for a while, or at least until I encounter some must-need program that has 64-bit issues which I’d pessimistically give a 50/50 chance. </p>
<p>And just to reiterate that this is extremely rough testing and many of these figures could be complete rubbish. It’d also have been interesting to test XP / Vista when both were under more load.&#160; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewgrant.org/2008/10/27/windows-vista-v-windows-xp-under-vmware-fusion.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
