<?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>Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx</link><description>I have seen a number of reviews and comments about the fact that while Hyper-V virtual machines appear to be quite fast once they are up and running - operating system installation seems to take quite a while.&amp;#160; The reason for this is relatively easy</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#8060486</link><pubDate>Thu, 06 Mar 2008 03:37:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8060486</guid><dc:creator>Anthony</dc:creator><description>&lt;p&gt;From what I've seen, it seems that the biggest bottleneck is the CD/DVD access speed. It's been one of my few serious gripes about hyper-V so far - if I'm pointing at an ISO it should be quite fast (OS installs via an ISO are very fast in VMWare). Even in a running guest OS, reading ISOs is unusually slow, and incurs significant guest CPU time.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8060486" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7938698</link><pubDate>Fri, 29 Feb 2008 03:38:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7938698</guid><dc:creator>Chris.Knight</dc:creator><description>&lt;p&gt;So the upshot is to not bother with Hyper-V for OSes that don't have Integration Components?&lt;/p&gt;
&lt;p&gt;Best to stick with Virtual Server / VMWare Server for these guests?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7938698" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7921086</link><pubDate>Wed, 27 Feb 2008 21:30:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7921086</guid><dc:creator>sj</dc:creator><description>&lt;p&gt;You really only need to do an OS install once. After that you can simply copy the installed VM and run sysprep or newSID. &amp;nbsp;Not even an issue.&lt;/p&gt;
&lt;p&gt;Anyway what sys admin has time to sit and watch an install. &amp;nbsp;The VM install is always waiting for me to come back as I'm doing other things&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7921086" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7918967</link><pubDate>Wed, 27 Feb 2008 17:54:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7918967</guid><dc:creator>Ranjith Purush</dc:creator><description>&lt;p&gt;If the speed of guest OS installation from an optical media is a concern, another option is to configure your VM [with emulated NIC] to boot off the network and then do an install via WDS (Windows Deployment Services). That is my preferred primary guest OS install mechanism.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7918967" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7918472</link><pubDate>Wed, 27 Feb 2008 16:51:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7918472</guid><dc:creator>Mike Dimmick</dc:creator><description>&lt;p&gt;As to why the OS installation is slow, it's usually the case that the OS has to install using only the drivers available on its boot disc. There isn't much opportunity to load drivers for any devices that weren't known when the OS boot disc was built, and that certainly applies to Hyper-V's synthetic devices.&lt;/p&gt;
&lt;p&gt;The one place that Windows allows drivers to be added is to load new storage bus drivers, by pressing F6 when Windows 2000/XP/2003 is loading or clicking Load Driver at the 'select volume for installation' prompt in Windows Vista or 2008. For Virtual Server 2005, if the guest OS hard drive is attached to the emulated SCSI controller, there is a virtual floppy you can attach to load the Additions SCSI driver by pressing F6. I would have expected this to be the case for Hyper-V too (note that Additions are now called Integration Components) but I haven't yet installed it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7918472" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7918192</link><pubDate>Wed, 27 Feb 2008 16:11:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7918192</guid><dc:creator>Mike Dimmick</dc:creator><description>&lt;p&gt;@MAJawed: because the guest's use of the hardware has to be shared with other guests and the host itself. The native driver for the device would expect to have full control of the hardware. The only way that Virtual PC/Virtual Server/Hyper-V can share the device is by intercepting the commands to the emulated or synthetic device and redirecting them to the host operating system, either in user- or kernel-mode APIs.&lt;/p&gt;
&lt;p&gt;However, the drivers for the emulated devices are expecting to talk to real hardware. That means they're using instructions and physical memory areas that are banned from use by user-mode programs. Without a hypervisor, the processor raises a hardware exception which Windows turns into a software exception. Virtual PC or Virtual Server can then emulate the requested operation and dismiss the exception, allowing the guest driver to perform the next step. With hardware virtualization and a hypervisor, the processor instead calls the hypervisor directly, a much faster operation than the exception handling.&lt;/p&gt;
&lt;p&gt;Installing the 'additions' drivers allows the communication between guest and host/hypervisor to be improved, but I believe the device is still emulated.&lt;/p&gt;
&lt;p&gt;The new 'synthetic' devices have a much closer match to the Windows API so they effectively turn a guest I/O request directly into a host I/O request. This cuts out many of the steps where a high-level request is turned into lower-level requests by the guest, which then has to send many more requests through the exception/hypervisor channel.&lt;/p&gt;
&lt;p&gt;You can get a 'cleaner' experience by using SCSI devices on the guest, as the SCSI interface is a better match to the OS file system API. I believe you can get an even better experience if the controller for your hard disks implements the SCSI protocol itself (RAID controllers for SATA drives tend to appear as SCSI adapters to Windows). I believe this is the function of the 'storage bus' driver, to inject I/O requests into the OS at a lower level.&lt;/p&gt;
&lt;p&gt;If you want to improve your disk performance, you can avoid the file system overhead by using a raw physical disk. In Virtual Server 2005, this is done by creating a Linked Virtual Hard Disk. This does mean you need a separate physical hard disk per VM. If you do have a RAID controller it might be able to carve out a separate volume to present to the host OS from one or more physical disks.&lt;/p&gt;
&lt;p&gt;However, if you're looking at doing this anyway, you should be aware of the physical characteristics of hard disks and how they behave when handling random and sequential I/Os. Basically the observed speed of a hard disk is governed by the disk head seek time, which is the reason that sequential I/O is far faster than random I/O. If you require sequential I/O speeds but you share the physical disk with something else doing random I/O, your sequential I/O performance is destroyed.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7918192" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7918125</link><pubDate>Wed, 27 Feb 2008 15:59:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7918125</guid><dc:creator>Keith Ward</dc:creator><description>&lt;p&gt;Xepol, could you contact me about your experience with OS installs in Hyper-V? I'd like to talk to you about it. I'm at kward@1105media.com.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7918125" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7918009</link><pubDate>Wed, 27 Feb 2008 15:38:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7918009</guid><dc:creator>Xepol</dc:creator><description>&lt;p&gt;Slow as molasses OS installs are a definite barrier to adoption.&lt;/p&gt;
&lt;p&gt;Might want to seriously consider that before calling any decission &amp;quot;final&amp;quot;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7918009" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7915658</link><pubDate>Wed, 27 Feb 2008 10:35:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7915658</guid><dc:creator>Kjetil</dc:creator><description>&lt;p&gt;Been testing windows 2003 and windows 2008 as hosts with the synthetic devices and it works great :-) Fun to experiment with in my (IT Pro) environment and considering moveing it into the test environment for software developers soon.&lt;/p&gt;
&lt;p&gt;Tested to run Windows XP as a host os and it was horrible! :-( Simply useless so back to vmware server for the client os. Is there any plans to make xp work as a client?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7915658" width="1" height="1"&gt;</description></item><item><title>re: Hyper-V and slow guest OS installation</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/26/hyper-v-and-slow-guest-os-installation.aspx#7915197</link><pubDate>Wed, 27 Feb 2008 09:41:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7915197</guid><dc:creator>MAJawed</dc:creator><description>&lt;p&gt;what i would really like to see is a GUEST that is comparable in performance with the actual HOST.&lt;/p&gt;
&lt;p&gt;Why does the VM has to use a pre-defined/fixed set of hardware drivers ??&lt;/p&gt;
&lt;p&gt;why can't the VM use New/Actual device drivers of the hardware available ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7915197" width="1" height="1"&gt;</description></item></channel></rss>