improving Samba performance

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

improving Samba performance

mdtancsa
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,                            [hidden email]
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: improving Samba performance

Jyun-Yi Liou
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 <[hidden email]>

> 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,                            [hidden email]
> Providing Internet since 1994                    www.sentex.net
> Cambridge, Ontario Canada                         www.sentex.net/mike
>
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to "
> [hidden email]"
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"