Disc access speed: c drive v. host network drive

Discussions related to using VirtualBox on Windows hosts.
Post Reply
LesDes
Posts: 66
Joined: 23. Oct 2007, 09:53
Location: London

Disc access speed: c drive v. host network drive

Post by LesDes »

Does anyone have an idea how disc access speeds compare?

For software running in the VM, ss there a significant difference between using the "local" c: drive of the VM or the drive of the host machine of the VM, accessed as a UNC (\\server\...)

Thanks.
Les
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

So you are asking if the use of the virtual drive is as fast as a network share? The virtual drive is about as fast as your actual hard drive. There is some overhead because of the wrapper and other stuff to access the VDI files. But it should be faster than a network link, exept if it's on a gigabit network. Then it might be the same. Only way to verify this, is by running a few benchmark tests.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
LesDes
Posts: 66
Joined: 23. Oct 2007, 09:53
Location: London

Post by LesDes »

Sasquatch wrote:So you are asking if the use of the virtual drive is as fast as a network share? .
Yes and no - yes it is a network share but it is not pointing to an other drive on the network, rather to the self same drive as where the virtual drive is located = the hard drive of the server on which VirtualBox is running the VM.
Les
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

LesDes wrote:
Sasquatch wrote:So you are asking if the use of the virtual drive is as fast as a network share? .
Yes and no - yes it is a network share but it is not pointing to an other drive on the network, rather to the self same drive as where the virtual drive is located = the hard drive of the server on which VirtualBox is running the VM.
I am aware of that, but it will still go through your loopback interface, possibly accessing the physical NIC first, and that will be your limit. Like I said, test it with some benchmark program or other program that can show the transfer speed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
LesDes
Posts: 66
Joined: 23. Oct 2007, 09:53
Location: London

Post by LesDes »

Thank you for the clarification. Understood.
Les
Post Reply