[Samba] Oplocks - samba 2.2.4 & Windows 2000 server

Peter Polkinghorne pjmp at kingsfords.co.uk
Tue Jul 9 01:44:02 GMT 2002

In investigating some performance issues (elderly server with just 10Mbps
ethernet), I noticed that smbstatus reported hardly any open files with
oplocks.  In particular files opened with Office 2000 & XP stay un-oplocked.

I have checked and testparm claims oplocks are enabled and manual says this
is so by default.

The clients are all Windows 2000 servers - so we have 1 samba connection with
multiple users. The Samba servers are 2.2.4 on Solaris 2.6.

I am concerned because this means excess data traffic and lost opportunity
for performance boost.

Is there something on the Windows side I need to do?  I assume Samba is OK
(initially thought not as thought no oplocks being used ...)

Peter Polkinghorne, IT Manager
KSB Law,
14 Old Square,                  Tel: +44 (0) 20 7447 1200
Lincoln's Inn,                  Fax: +44 (0) 20 7831 2915
London WC2A 3UB                 Web: http://www.ksblaw.co.uk
United Kingdom                  DX 141 LONDON

A list of names of the partners is open to inspection at the above address.

More information about the samba mailing list