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

Christian Perrier bubulle at debian.org
Thu Jul 23 06:30:14 UTC 2009


severity 538079 important
thanks

Quoting Tobias Goeller (debian at scnr.ch):
> Package: samba
> Version: 2:3.2.5-4lenny6
> Severity: grave
> Justification: renders package unusable
> 
> 
> Hi All,
> 
> I have updated the server recently and since then CIFS or SAMBA Performance
> using various clients (Windows, OS X, Linux) is dead slow when reading.
> 
> The Network is a switched Network (Zyxel Switch), SCP Performance is about
> 30-40MBit/s over wireless lan and about nearly 500MBit/s over wired lan.
> 
> NFS works fine, too.
> 
> SAMBA READ Performance, however, is about 10-150KBit/s - which is
> awfully slow and renders the system unusable for everything
> concerning file sharing.


...which is not the case for the gazillion other systems in the world
tht are doing the very same thing, I'm afraid. So, at first, I'll
downgrade this bug's severity.

I also attach a "cleaned" version of your smb.conf (with comments
dropped and only settings that are not the default).

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
        syslog = 10
        max log size = 1000
        name resolve order = lmhosts host wins bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        winbind enum users = Yes
        winbind enum groups = Yes

in [homes]:
        browsable = No

Particularly this "socket options" that one reads in many pages and is
considered a very bad advice by Samba Team folks (the setting comes
from Samba's stone age)

Then of course try again. It's very likely that you still experience
the slowness...In that case, put the system in log level 10:

log level = 10

And record a session where you try reading one file. The log will be
huge, of course.

Then, try going through the log and spot if there's an obvious problem
somewhere...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090723/b1aa030b/attachment.pgp>


More information about the Pkg-samba-maint mailing list