Howdy. I have observed a horrific performance problem in my setup. I'm running samba on a Linux Fedora Core 1 machine with Windows clients. The samba server is communicating with a Windows 98 machine. $ /usr/sbin/smbd -V Version 3.0.4-1.FC1 The configuration of my server is mostly default with the exception of print, passwords, and share configurations. My Linux interface is seeing about 250KB/s traffic from the Windows client. However, it takes several seconds to transfer 100KB of data. Using tcpdump on the interface shows that the smb server is advertising a window size of one (1). Egads! 13:58:03.728704 192.168.1.20.1025 > sloth.netbios-ssn: . 400:401(1) ack 1 win 8243 NBT Packet (DF) 13:58:03.728851 sloth.netbios-ssn > 192.168.1.20.1025: . ack 401 win 1 (DF) 13:58:03.729631 192.168.1.20.1025 > sloth.netbios-ssn: . 401:402(1) ack 1 win 8243 NBT Packet (DF) 13:58:03.729787 sloth.netbios-ssn > 192.168.1.20.1025: . ack 402 win 1 (DF) ... Quite the spew, repeating forever as fast as it can. For the record, the socket options defined in smb.conf are: socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Cycling the server has no effect. All other traffic to and through the Linux box is functioning as expected (the Linux box is my NAT/firewall machine). Help? Thanks. /ds
Chris Richards
2004-Jul-21 05:27 UTC
[Samba] Re: Samba 3.0.4 Performance Problem (tcp win 1)
On Mon, 19 Jul 2004 14:09:34 -0500, Chris Richards <doktorstick@gmail.com> wrote:> Howdy. I have observed a horrific performance problem in my setup. > I'm running samba on a Linux Fedora Core 1 machine with Windows > clients. The samba server is communicating with a Windows 98 machine.Cycling both the samba server and the interface does not correct the problem. However, doing this I can double my transfer rates as the window size is now 2 instead of 1. No clue, huh? /ds