Re: ZFS/RAIDZ and SAMBA: abyssimal performance

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Fri, 4 Jan 2013 06:45:21 -0800
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
Received on Fri Jan 04 2013 - 13:45:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC