[vbox-dev] [PATCH] Performance improvement of vboxsf
tatuya karino
kokuban.kumasan at gmail.com
Fri Jul 31 12:59:42 UTC 2015
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 at debian-jessie:/vagrant/large-dir$ time find . > /dev/null
real 0m10.422s
user 0m0.060s
sys 0m5.068s
// after applying this patch
vagrant at debian-jessie:/vagrant/large-dir$ time find . > /dev/null
real 0m1.885s
user 0m0.036s
sys 0m0.644s
--
Tatsuya Karino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150731/8b592724/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vboxsf_dentry.patch
Type: application/octet-stream
Size: 2776 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150731/8b592724/attachment.obj
More information about the vbox-dev
mailing list