Shared folder too slow. Is any way to speed up that?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Sager
Posts: 1
Joined: 20. May 2017, 18:18

Shared folder too slow. Is any way to speed up that?

Post by Sager »

I am using virualbox with linux core guest machine and i have problem with access to files in shared folders
any operations is very and very slow.
it is my test /data is shared folder

Code: Select all

docker@default:~$
docker@default:~$ sudo dd if=/dev/zero of=test.dat bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (97.7MB) copied, 0.095368 seconds, 1024.0MB/s
docker@default:~$ sudo dd if=/dev/zero of=/data/test.dat bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (97.7MB) copied, 51.852135 seconds, 1.9MB/s
docker@default:~$
is any way to speed up that?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder too slow. Is any way to speed up that?

Post by socratis »

VirtualBox shared folders present a very simplified file system implementation, just enough to read/write files from/to the guest. Many applications can error when using shared folders, because they expect advanced features, like file locking or access controls, which don't exist for shared folders. Maybe the load is too much and it can't take the I/O. It's a virtualized filesystem, not a "real" one.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply