[Samba] Slow transfers under W2K, OK under NT4
timallen at ls83.fsnet.co.uk
Thu Jun 27 12:05:25 GMT 2002
----- Original Message -----
From: "Bradley W. Langhorst" <brad at langhorst.com>
To: "Tim Allen" <timallen at ls83.fsnet.co.uk>
Sent: Thursday, June 27, 2002 5:27 PM
> what's in the logs?
> what service pack are the 2k machines using?
W2K SP2. At log level 2 I see the following periodically from the W2K boxes:
[2002/06/27 16:31:30, 0]
attempt_netbios_session_request: DELL rejected the session for name
*SMBSERVER with error Not listening on called name
Will need to check whether these are occurring for the NT4 machines
Difference in performance is most noticable when accessing an Access
database file, but also other database applications.
With oplocks on, there's the odd
[2002/06/27 07:29:39, 0] smbd/oplock.c:request_oplock_break(1008)
request_oplock_break: no response received to oplock break request to pid
5 on port 3136 for dev = 305, inode = 620963, file_id = 400
Performance very slightly faster with oplocks on than off.
tcpdump indicates a difference (16k against 8k window) :
16:38:51.061699 < dell.dcallen.co.uk.1194 > golux.dcallen.co.uk.netbios-ssn:
746211287:3746211287(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
16:38:51.061699 > golux.dcallen.co.uk.netbios-ssn > dell.dcallen.co.uk.1194:
99251333:199251333(0) ack 3746211288 win 5840 <mss 1460,nop,nop,sackOK> (DF)
16:42:52.331699 < vectrave.dcallen.co.uk.1174 >
S 55800:55800(0) win 8192 <mss 1460> (DF)
16:42:52.341699 > golux.dcallen.co.uk.netbios-ssn >
S 443059864:443059864(0) ack 55801 win 5840 <mss 1460> (DF)
My next test will be to bring the W2K value down to 8192 to match NT4. Does
any of this give any clues?
> On Thu, 2002-06-27 at 04:42, Tim Allen wrote:
> > Hi
> > Samba 2.2.5, Linux 2.4.9.
> > We're running a small network of half-a-dozen W2K and NT4 clients. We
> > an NT4 server and have just migrated all our file serving to our Samba
> > server. It's immediately obvious that our W2K clients are now running
> > slower when accessing files on the Samba server. The NT4 machines are
> > On a W2K/NT4 dual-boot machine, W2K runs ten times slower - no long
> > just much slower file transfer times.
> > I'm guessing this is a network parameter mismatch issue. Started with
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > in smb.conf. Commenting out this line has no effect. Any suggestions as
> > what to do next much appreciated.
> > Thanks
> > Tim Allen
More information about the samba