ZFS/RAIDZ and SAMBA: abyssimal performance

Garrett Cooper yanegomi at gmail.com
Fri Jan 4 14:45:27 UTC 2013


On Fri, Jan 4, 2013 at 6:06 AM, Fleuriot Damien <ml at my.gd> wrote:

...

> And this is under [global] in /usr/local/etc/smb.conf:
>    min receivefile size = 16384
>    aio read size = 16384
>    aio write size = 16384
>    aio write behind = yes

These are still pretty low, depending on what your networking/disk
setup is like; my important performance settings are:

        socket options = SO_RCVBUF=64240 SO_SNDBUF=64240 TCP_NODELAY
IPTOS_LOWDELAY IPTOS_THROUGHPUT
        write cache size = 65536
        aio read size = 65536
        aio write size = 65536
        directory name cache size = 0

HTH,
-Garrett


More information about the freebsd-current mailing list