[Bug 208130] smbfs is slow because it (apparently) doesn't do any caching/buffering
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Sat Oct  6 21:00:39 UTC 2018
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208130
noah.bergbauer at tum.de changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|10.2-RELEASE                |11.1-RELEASE
--- Comment #1 from noah.bergbauer at tum.de ---
Revisiting this 2.5 years later, no improvement.
But one possible workaround is to mount the smbfs, then create an md(4) disk
from a file on the mount and finally mount UFS on top of that. The
filesystem-level buffer management ensures that inefficiently small IO will
never hit the network (increase the md disk sector size as needed, 4K already
gives me well over 40 MiB/s).
This obviously breaks file sharing but at least it allows using samba shares
for simple remote storage (poor man's iSCSI) with decent performance.
It's a shame there is no filesystem-level equivalent of gcache(8) (which by the
way is the solution if you just need a block device instead of a filesystem).
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the freebsd-fs
mailing list