smbfs small read tuning?
Kirk Strauser
kirk at strauser.com
Mon Nov 7 15:42:49 GMT 2005
I have an application that makes hundreds of thousands of small read()s (a
few hundred bytes each time). If I run it directly on files on an smbfs
mount, the runtime is on the order of an hour. If I copy the files to my
local hard drive first and then run it, the total copy + run time is on the
order of four minutes.
The mount_smbfs(8) man page doesn't mention anything about tuning and I'm
not sure where else to look. Is there a way to enable some kind of
read-ahead cache or otherwise trade some memory or CPU for a speed boost?
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051107/bd83bf49/attachment.bin
More information about the freebsd-questions
mailing list