none
Very poor networking performance between Windows XP mode and Windows 7 host workstation RRS feed

  • Question

  • I have found that networking performance between a Windows 7 host and it's XP mode guest virtual machine is very poor.

    File copies between a Windows 7 host and XP mode are very slow, printing is also very slow if you configure the guest XP mode vm to print via a shared network printer on the host rather than having it redirected.

    I was working on an issue where XP mode was not properly assigning the port to the redirected printer causing print jobs to be hung up.
    I figured that configuring it to use a shared printer on the host OS would be more reliable than redirection, however i'm finding printing is very slow to the printer on the host OS, it prints fine to other network printers.

    It seems that this was discussed previously: http://social.technet.microsoft.com/Forums/en/w7itprovirt/thread/9cf7bb78-6c09-4807-9b39-f6735ce8a2e0
    But there was no resolution other than not using virtual PC for the xp mode vm.

    Just wondering if anyone knew when Microsoft plans on fixing this problem with poor networking performance between a host and guest OS in Virtual PC.



    Wednesday, February 17, 2010 12:47 AM

All replies

  • Please make sure you have KB972435 http://support.microsoft.com/kb/972435 installed
    Thanks, -Vinod -- "This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use."
    Wednesday, February 17, 2010 11:56 AM
    Moderator
  • I do not believe that KB applies to this situation.

    I am talking about accessing resources on the host via network shares, not redirections.


    That KB was already tried in the discussion noted above and it had no effect.

    It seems that there is an unfixed bug in virtual PC that causes very poor networking performance between a host OS and the guest OS.
    If you use a 3rd party virtualization product (such as virtualbox) and use the same VHD, the issue goes away, but it returns again when using Microsoft Virtual PC.

    However the end user wants to be able to use applications in seamless mode and using a 3rd party virtualization product to use the xp mode virtual machine is not an ideal solution.




    Wednesday, February 17, 2010 12:53 PM
  • We also found that VPC was a dog, for us it was slow and it took twice the system resources

     we use http://www.virtualbox.org/ with the vmlite.com plugin and it will run the XP mode .vhd and give you about the same thing

    Wednesday, February 17, 2010 6:16 PM
  • Thank you.

    Microsoft REALLY needs to fix this in my opinion.

    The #1 selling point of Windows 7 to businesses who have been reluctant to move on from XP is XP mode.
    If XP mode doesn't work reliably then people might as well not make the switch to Windows 7 and continue to buy new PCs with XP.

    XP mode with seamless apps seemed like the ideal solution for applications that don't work properly on Vista/Windows 7.
    Needing to use 3rd party virtualization products to overcome some obvious bugs in Virtual PC is unacceptable to Microsoft's business client base.

    Wednesday, February 17, 2010 6:55 PM
  • Not sure I follow you on this "seamless apps" thing. Not much seemless about running a VM.

    And I  can see the difference in downloading VPC (which is a third party company MS purchased and the head guy still does the coding) or downloading VMLite.

    VMlite gives you the same icons on the desktop / startup folders and so and it is still running a XP Mode VM.

    The BIG difference is VMLLite does need VT hardware to run.

    Thursday, February 18, 2010 2:42 AM
  • By seamless apps i mean an app looking like any other app running natively in windows 7 instead of the user to needing to control a 2nd desktop.
    Basically the same thing as remoteapp in windows server 2008 terminal services except with the xp mode vm as the host of the app. 

    I realize you can resolve this issue by using a 3rd party virtualization solution, but this is an issue that Microsoft should be aware of and hopefully fix seeing that it's a component of Windows 7.


    Thursday, February 18, 2010 3:38 AM
  • What is the network setting for this VM? (Open settings for VM and check)
    Also what is your physical machine specs?
    Thanks, -Vinod -- "This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use."
    Thursday, February 18, 2010 4:57 AM
    Moderator
  • The VM is set to use the NIC directly, it needs to be able to be a member of a domain and access network resources.

    This is a brand new system, dell with a Core 2 duo, 4GB of ram, plenty of free space on the HDD.

    i've been able to duplicate this problem on several different systems and there are several threads on this forum with many users that have experienced this issue.





    Tuesday, February 23, 2010 2:39 PM
  • I too had this problem,  and I found the following workaround.  If you connect the VM network to a different network card(one that the host does not use) then you get fast networking to the host.  This seems to happen when the VM is connected to the SAME network card that the host is using.
    Friday, March 19, 2010 8:22 PM
  • How would this work on a laptop?
    Tuesday, April 6, 2010 3:06 AM
  • No need to do that, there's a way to get the performance up to normal, disable all TCP Offloading on your NIC.

    Or disable it system-wide via this from another thread:

    The fix is to edit the registry, use at your own risk and only if you are comfortable with editing the registry!

    To turn off TCP Offloading, add a DWORD value in

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters

    label it  DisableTaskOffload , and change the value to 1, then reboot.

     

     


    Bob Comer - Microsoft MVP Virtual Machine
    • Proposed as answer by essjae Tuesday, April 6, 2010 11:13 PM
    Tuesday, April 6, 2010 4:08 AM
  • Thanks.

    If that is the fix, microsoft should update the support KB.

    I did find this KB which is for virtual server 2005: http://support.microsoft.com/kb/888750

    Alot of people are encountering this problem, they should have it apply to Windows 7 XP mode as well.

     

     

     

    Tuesday, April 6, 2010 12:13 PM
  • Good suggestion, I'll see if I can nudge them a little...

     

     


    Bob Comer - Microsoft MVP Virtual Machine
    Tuesday, April 6, 2010 12:56 PM
  • Thank you for this fix it worked like a dream!!
    Monday, July 12, 2010 7:53 PM
  • Folks I tried every suggestion I could find for this exact issue, including the hotfix mentioned, then disabling autotuning, 128-bit encryption, RDC, BITS and password protected sharing, but what finally worked for me was changing Settings > Integration Features > and checking all the 'Drives' checkboxes. FYI I undid everything except the hotfix (applied to the XP VM) and autotuning to restore some security and no problems.

    Hope that helps any newcomers.

    Monday, September 6, 2010 8:48 AM
  • Folks I tried every suggestion I could find for this exact issue, including the hotfix mentioned, then disabling autotuning, 128-bit encryption, RDC, BITS and password protected sharing, but what finally worked for me was changing Settings > Integration Features > and checking all the 'Drives' checkboxes. FYI I undid everything except the hotfix (applied to the XP VM) and autotuning to restore some security and no problems.

    Hope that helps any newcomers.

    Tim, you are the man. I have been struggling with this issue for a long time, and your solution worked beautifully for me.

    I run a local webserver (for development) on my host machine, and primarily use XP Mode so that I can have different instances of IE for testing (IE6, IE7, IE8, IE9b). Running an old version of IE from XP Mode has always been terribly slow when accessing the webserver on my host machine. No more! Thanks a bunch, Tim.


    Xbox MVP
    Thursday, December 16, 2010 2:53 PM
  • Hi Tim, i m facing the same problem. I checked all the drives in Integration features and applied the hotfix http://support.microsoft.com/kb/888750

    But all in vain!!


    ECE and IT background
    Wednesday, January 12, 2011 6:09 PM
  • Thanks for the registry tip Bob.

    I made the registry change to a Win 7 x64 host and rebooted.

    Made a huge difference to the network performance of the Win XP mode guest.

    Thursday, September 15, 2016 12:39 PM