Data Partition and Shared Folders

Discussion in 'Virtual PC' started by Bryn, Jul 27, 2007.

  1. Bryn

    Bryn Guest

    Is there a better way to access an entire partition of shared data than using
    shared folders?

    Even if the VHD is on a seprate drive from the host OS the file IO seems
    REALLY slow. Some apps take up to 2 minutes to start, 3 minutes if the guest
    is on the same spindle as the host. If I first copy any required files to
    the local guest VHD performance is much better, but that kind of defeats the
    purpose of shared data.
     
    Bryn, Jul 27, 2007
    #1
    1. Advertisements

  2. Hi,

    Regular networking (sharing folders) will work as well. Proper security
    precautions should be taken in this scenario, of course

    Also, drag-and-drop is another option

    --
    --Jonathan Maltz [Microsoft MVP - Windows - Virtual Machine]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc04.visualwin.com - Does <insert OS name> work on VPC 2004? Find
    out
    here
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.
     
    Jonathan Maltz [MS-MVP], Jul 27, 2007
    #2
    1. Advertisements

  3. Bryn

    Bryn Guest

    Yes, it works - that's not the issue. The issue is the speed at which it
    works, the file transfer rate is an order of 5-10x slower than any other VM
    software I've tried.

    Heres the scenario Host OS is Vista Ultimate, guest is XP Pro SP2. One
    drive with 2 partitions, the host resides on the main partition, all data and
    VHDs on the second. Say you want to load an app that uses resources in the
    form of shared files on the 2nd partition, if you open the app using shared
    folders, or do anything within the app that required reading/writing updates
    to the shared folders it is rediculously slow. I've even tried putting the
    guest OS VHD on an external drive with little improvement.

    This is strange because all other aspects of the VM seem to be nearly the
    same speed as the host OS.

     
    Bryn, Jul 27, 2007
    #3
  4. Hi,

    The folder sharing I was referring to was network access (i.e. the same way
    any two computers on a network could access each other's files) to your
    host/guest hard drive. This could be an alternative to using VPC's shared
    folders

    Unfortunately I'm not too sure of what could be done to fix the poor
    performance of VPC shared folders. Do you have the latest VM additions
    installed?

    --
    --Jonathan Maltz [Microsoft MVP - Windows - Virtual Machine]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc04.visualwin.com - Does <insert OS name> work on VPC 2004? Find
    out
    here
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.


     
    Jonathan Maltz [MS-MVP], Jul 27, 2007
    #4
  5. Bryn

    Bryn Guest


    Gotcha, I'm trying to do this all with one machine though - that's kind of
    the point of VPC ;)

    I wonder if the reason for poor performance is that the shared folders
    option uses network hardware emulation. The file read/write seems to be on
    par with what I would expect when doing the same sorts of things across an
    actual network. VMware & Parallels shared folders perform much more like a
    directly attached HDD would though. I've tried pretty much every network
    option I can think of to see if maybe the issue is in the configuration
    somewhere, but nothing really seems to help.
    I believe so, I just downloaded VPC 2007 about a week ago and installed the
    optional tools that came with it for better integration.
     
    Bryn, Jul 28, 2007
    #5
  6. Bryn

    Bo Berglund Guest

    Not really, the whole point of a Virtual PC is to completely *isolate*
    it from the host such that whatever you do on the VM will never affect
    the host at all. What you are doing is completely defeating this
    *main* purpose of a virtual PC.



    Bo Berglund
    bo.berglund(at)nospam.telia.com
     
    Bo Berglund, Jul 28, 2007
    #6
  7. Hi,

    I was still implying the use of a single machine, but the name "Virtual PC"
    is because it creates virtual machines on the host machine. Since there are
    several machines, you can "network" them together (even though they are all
    on the same machine). This may be a workaround for the Shared Folders issue

    --
    --Jonathan Maltz [Microsoft MVP - Windows - Virtual Machine]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc04.visualwin.com - Does <insert OS name> work on VPC 2004? Find
    out
    here
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.
     
    Jonathan Maltz [MS-MVP], Jul 29, 2007
    #7
  8. Bryn

    Bryn Guest

    Well, I need to be able to share the same files easily between the Host PC
    and the guest. Not the system partition mind you, but a seperate data
    partition. I always like to keep my data seperate from the OS, or in this
    case the VHD.

    I have a feeling that the only thing that will do what I need well is VMware
    Workstation, the performance seems to be better, works with my USB to Serial
    adapter, and doesn't have the file sharing issue. Sure it costs money but
    it's a lot less money and more convenient than carrying 3 or 4 laptops around
    or having a triple or quadruple boot machine.
     
    Bryn, Jul 31, 2007
    #8
  9. Hi,

    This will still allow for easy file sharing between guest and host. Think
    of it like a "network in a box" - yes, you are using "network" file/folder
    sharing, but all of the machines in the network (host and guests) are all on
    the same computer

    --
    --Jonathan Maltz [Microsoft MVP - Windows - Virtual Machine]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc04.visualwin.com - Does <insert OS name> work on VPC 2004? Find
    out
    here
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.
     
    Jonathan Maltz [MS-MVP], Jul 31, 2007
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.