[Pkg-samba-maint] Bug#538079: Bug#538079: samba: Dead Slow READ performance - WRITE Performance OK

Steve Langasek vorlon at debian.org
Thu Jul 23 09:09:17 UTC 2009


On Thu, Jul 23, 2009 at 08:30:14AM +0200, Christian Perrier wrote:
> My first suggestion would be dropping the following, which I don't
> think are really useful:

>         obey pam restrictions = Yes
>         pam password change = Yes
>         passwd program = /usr/bin/passwd %u
>         passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*
>         unix password sync = Yes
>         max log size = 1000

These are all part of the *stock* smb.conf that we ship in Debian and will
have no impact on file sharing speed.

>         syslog = 10

This could have some performance impact, but not much, I think.

>         name resolve order = lmhosts host wins bcast

This should have no performance impact, and there are legitimate reasons to
adjust this.

>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

This could have a performance impact.

>         winbind enum users = Yes
>         winbind enum groups = Yes

These could have a performance impact, but should not in the context of file
serving.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list