I've setup Samba on my CentOS 5.5 server and its incredibly slow even to write a text file, talking like 5-10 seconds just to write an 8k file. I personally think its a miss configuration but not 100% sure. I run Apache, MySQL, tomcat and postfix off the server and they all run super fast. (It's just a personal server, next to no traffic)
Here is my config:
[global] workgroup = NONE server string = Laptop server preferred master = no local master = no domain master = no security = user passdb backend = tdbsam show add printer wizard = no load printers = no smb ports = 445 hosts deny = ALL hosts allow = 10.0. log file = /var/log/samba/smbd.log log level = 2 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 preserve case = yes short preserve case = yes unix extensions = no
I realise the log level is high but it's only been raised to try and diagnose, it made no difference when it was off.
I did notice in the logs that when I did save it opened a lot of files (about 50), I'm connecting to it from a Mac but I also connect to a similar config at work and its quite fast.
Sign in is very quick too. Any suggestions?