Hello, I investigated cause of the low performance of the find command in the shared folder on a Linux guest. I created a patch that returns the correct d_type in file_operations.iterator. With this fix, `find /path/to/shared` gets significant performance improvement. I tested this code in a Windows 7 and Mac OS X Yosemite hosts.
This patch is provided under the MIT license. // before applying this patch vagrant@debian-jessie:/vagrant/large-dir$ time find . > /dev/null real 0m10.422s user 0m0.060s sys 0m5.068s // after applying this patch vagrant@debian-jessie:/vagrant/large-dir$ time find . > /dev/null real 0m1.885s user 0m0.036s sys 0m0.644s -- Tatsuya Karino
vboxsf_dentry.patch
Description: Binary data
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
