[Samba] Samba file share slowdown

Jeremy Allison jra at samba.org
Mon Mar 14 11:04:45 MDT 2011


On Fri, Mar 11, 2011 at 05:38:20PM -0800, James Hurlburt wrote:
> The thought was that the dos workstations would be unhappy with ntfs.
> I may well have been wrong there.
> 
> I found the key bit.  For a share with multiple stations sharing dbf
> files using CA clipper 5.2 as the program language, optlocks need to
> be off.
> 
> The part about clipper and dbf files may not be a specific part of my
> problem, multiple stations attempting to share read/write acess
> certainly is.
> 
> We have half a dozen or so dbf files that are heavily shared between
> perhaps 30 workstations.
> Setting oplocks off made a huge difference.
> 
> The online help seems to suggest the opposite-- that oplocks would be
> a positive influence on multiple access useage, the chapter in the
> docs that I finally found that explains it wasn't easy to find.  I
> didn't find it till someone else suggested this fix.  When I searched
> with that question in mind I found it.

oplocks should be a positive influence on access - but not multiple
usage access. They work for one opener of a file. However, if clients
work correctly they shouldn't have any detrimental effect for
multiple openers, but if you found a fix that works, I'm just
happy :-).

Cheers,

	Jeremy.


More information about the samba mailing list