I'm kinda stuck. I have this samba (3.0.10) server running on archlinux (0.7) , the box itself is fast (PIII 1Ghz, 512 RAM, Intel Ghz NIC, etc.) but connecting to samba from my XP Ws is extremely slow.
Getting the contents of the shared dir listed takes about 10 seconds.
There is 1 share on my samba
There are 2 dirs in the share
The hdd is not slow at all
There are no other issues known to me, everything works fine. I have been searching nearly everywhere, adjusting my smb.conf over and over, only to still be stuck with a slow initial connnection. Then, I reinstalled the entire box on an even faster hdd and an e1000 instead of an e100, but that too didn't help.
Does anyone have any idea what I'm overlooking here? *yelp.
Well, the network isn't slow at all. And after the initial slow-connection-issue, there isn't any problem. Transfer/access times are short, etc. So, it really is only that initial connection...
I'm not really a network-preson, but is there any onfo in the logs? (/var/log/messages, ... maybe a specific samba-log) firewall that is blocking?
I had same issue some time ago. It was due to faulty nic drivers (rhine in my case). Also consider this in smb.conf:
socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 IPTOS_LOWDELAY SO_KEEPALIVE