Welcome to MSDN Blogs Sign in | Join | Help

Last resort for performance issues with Virtual PC on laptops

In the past I have posted about options for improving performance of Virtual PC on laptops, and about using SpeedSwitchXP.  Furthermore, with Virtual PC 2007 we have worked hard to address many of these issues.  Unfortunately, there are still laptops where Virtual PC does not run well.  The root cause of these problems is that these laptops are stopping system timers when entering low power modes.

Well, with Virtual PC 2007 there is one last option to consider:

  1. Stop running Virtual PC
  2. Open notepad
  3. Open %appdata%\Microsoft\Virtual PC\options.xml
  4. Locate the <virtual_machines> section of the file and add this key:
    <enable_idle_thread type="boolean">true</enable_idle_thread>
  5. Save the file and exit notepad
  6. Start Virtual PC

Now when you start a virtual machine under Virtual PC, Virtual PC will fully utilize the processor in order to stop the laptop from entering a low power state.  The upside of this is that you should see no performance issues.  The downside is that it will drain your battery power much faster than normal.  As such - you should only use this option after you have tried all other possible solutions.

Cheers,
Ben

Published Tuesday, March 27, 2007 5:33 PM by Virtual PC Guy

Comments

Thursday, March 29, 2007 3:10 PM by Josh

# re: Last resort for performance issues with Virtual PC on laptops

Hmm, that's interesting, my file doesn't have a <virtual_machines> area ... here's what my Options.xml looks like.  I am running Vista Ultimate on a d620.

<?xml version="1.0" encoding="UTF-16"?>

<!-- Microsoft Virtual Machine Options and Settings -->

<preferences>

<version type="string">2.0</version>

<properties>

<modifier>

<build type="string">6.0.156.0</build>

<name type="string">Microsoft Virtual PC 2007</name>

</modifier>

</properties>

<virtual_gateway id="0">

<id type="integer">0</id>

<type type="integer">0</type>

</virtual_gateway>

<virtual_gateway id="1">

<adapter type="string">\DosDevices\VPCNetS2_{71E99B66-E8F7-49A9-A271-43773BE2C85C}</adapter>

<id type="integer">16</id>

<name type="string">Intel(R) PRO/Wireless 3945ABG Network Connection - Deterministic Network Enhancer Miniport</name>

<type type="integer">2</type>

</virtual_gateway>

<virtual_gateway>

<next>

<virtual_gateway_id type="integer">18</virtual_gateway_id>

</next>

</virtual_gateway>

<virtual_gateway id="2">

<adapter type="string">\DosDevices\VPCNetS2_{4AC194FF-CBFB-4204-B9AD-73F6003AE2A4}</adapter>

<id type="integer">17</id>

<name type="string">Broadcom NetXtreme 57xx Gigabit Controller - Deterministic Network Enhancer Miniport</name>

<type type="integer">2</type>

</virtual_gateway>

<virtual_network id="0">

<gateway type="integer">0</gateway>

<id type="bytes">2D4F07DAD71111DB830B9850A3BB8985</id>

<name type="string">Local only</name>

<notes type="string">This is the local only virtual network. Virtual machines connected to this virtual network can only communicate with other virtual machines on this network.</notes>

</virtual_network>

<virtual_network id="1">

<gateway type="integer">16</gateway>

<id type="bytes">2D4F07DBD71111DB830B9850A3BB8985</id>

<name type="string">Intel(R) PRO/Wireless 3945ABG Network Connection - Deterministic Network Enhancer Miniport</name>

<notes type="string">This is an external virtual network. Virtual NICs attached to this virtual network can access external networks through the "Intel(R) PRO/Wireless 3945ABG Network Connection - Deterministic Network Enhancer Miniport" host network adapter.</notes>

</virtual_network>

<virtual_network id="2">

<gateway type="integer">17</gateway>

<id type="bytes">2D4F07DCD71111DB830B9850A3BB8985</id>

<name type="string">Broadcom NetXtreme 57xx Gigabit Controller - Deterministic Network Enhancer Miniport</name>

<notes type="string">This is an external virtual network. Virtual NICs attached to this virtual network can access external networks through the "Broadcom NetXtreme 57xx Gigabit Controller - Deterministic Network Enhancer Miniport" host network adapter.</notes>

</virtual_network>

<window>

<console>

<height type="integer">256</height>

<left_position type="integer">20</left_position>

<top_position type="integer">20</top_position>

<visible type="boolean">true</visible>

<width type="integer">367</width>

</console>

<new_pc>

<left_position type="integer">469</left_position>

<top_position type="integer">257</top_position>

</new_pc>

<virtual_disk_wizard>

<left_position type="integer">469</left_position>

<top_position type="integer">257</top_position>

</virtual_disk_wizard>

</window>

</preferences>

Friday, March 30, 2007 2:26 AM by Virtual PC Guy

# re: Last resort for performance issues with Virtual PC on laptops

Strange -

You should be able to make a new node by entering in:

<virtual_machines>

<enable_idle_thread type="boolean">true</enable_idle_thread>

</virtual_machines>

It should be on the same level as the </virtual_network> node (just put it after the last </virtual_network> in the file).

Cheers,

Ben

New Comments to this post are disabled
 
Page view tracker