I’ve finally got tired of how bad the latency and transfer speeds are when mounting my TrueNas SMB shares on my macbook. I looked online for some solutions, but didn’t really have much success with them. I managed to get to this command that seems to be a lot better:
mount_smbfs -o soft,nobrowse "//<username>@<domain or ip>/apps" "$HOME/mnt/apps"
where /mnt/apps is a directory that I created for myself. In this case I’m mounting a share called “apps”. For now it actually seems to be pretty responsive and loads directories and files at an acceptable speed.

  • ripcord@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    I’ll have to do some perf tests to see if the client seems slower than others with small io/metadata.

    But that has definitely always been the weakest area of networked storage - small, transactional workloads. Latency is the killer there, and there’s always going to be higher latency than local storage (although some of the super low latency expensive rdma stuff gets pretty close).

    The way to mitigate that is to do copies that are multithreaded. Unfortunately most consumer file copiers out there are terrible at this. rclone definitely will do it but is CLI. Parallel rsync is also possible from CLI and works great but need utilities. I like Carbon Copy Cloner personally which at least kicks off 2 rsyncs

    Edit: Apparently freefilesync will also do parallel copies and is at least GUI and somewhat user friendly. I haven’t tried it, though. Or at least not for a super long time.