disk devices speed is ugly
Alex Samorukov
ml at os2.kiev.ua
Tue Jan 31 10:52:01 UTC 2012
On 01/31/2012 11:19 AM, Harald Schmalzbauer wrote:
> schrieb Alex Samorukov am 26.01.2012 14:52 (localtime):
>> Hi,
>>
>> I ported exfat fuse module to FreeBSD (PR 164473) and found that it
>> works much slower then on Linux. I found 2 reasons for this:
>>
> Thanks a lot! I saw the new port :-)
> Hope that someone can help you improove fusefs-kmod. I remember more
> porters were blaming FreeBSDs fusefs support making their work
> hard/impossible (TrueCrypt). Hopefully some kernel hacker will read and
> help...
Thank you for comment. It is now mostly not about fuse itself, but about
non-buffered raw device access. I really think that something like
improved geom_cache should solve this.
I`ll add soon updated version of the patch with [optional] libublio
support. This improves performance a lot. Read speed is comparable with
Linux (about 20 Mb/sec on my old USB) and write is much faster aw well
(but not so good as in Linux and with a lot read requests for align).
Also i contacted upstream about unaligned writes and he told that it is
in his todo list, but probably after 1.0.0 version, because it will
require a lot of changes in the code. Also i found a libexfat bug in a
fat time handling and creating patch to use freebsd code for this
instead. So if you are using exfat any testing and comments are welcome.
More information about the freebsd-stable
mailing list