Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2008 03:02:38 +0800
From:      "Jyun-Yi Liou" <7yuny1@gmail.com>
To:        "Mike Tancsa" <mike@sentex.net>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: improving Samba performance
Message-ID:  <81a9e3840810251202s3ed27472y46da61999166d9c0@mail.gmail.com>
In-Reply-To: <200810231859.m9NIx2NV059442@lava.sentex.ca>
References:  <200810231859.m9NIx2NV059442@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
hi Mike,

In my experience, you should set "use sendfile = yes" and "socket options =
SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY" in /usr/local/etc/smb.conf

expecially sendfile system call and TCP_NODELAY,
these will let your samba transmits file or response faster.

please read smb.conf(5) and sendfile(2) for more information

Regards,
jyuny1

2008/10/24 Mike Tancsa <mike@sentex.net>

> Are there any suggestions for a AMD64 RELENG_7 box to improve samba
> performance ? Write throughput from a windows box seems a bit slower than it
> should be.
>
>        ---Mike
>
> --------------------------------------------------------------------
> Mike Tancsa,                                      tel +1 519 651 3400
> Sentex Communications,                            mike@sentex.net
> Providing Internet since 1994                    www.sentex.net
> Cambridge, Ontario Canada                         www.sentex.net/mike
>
> _______________________________________________
> freebsd-performance@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to "
> freebsd-performance-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81a9e3840810251202s3ed27472y46da61999166d9c0>