samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] Oplocks - when do they help

Re: [Samba] Oplocks - when do they help

From: Uri Simchoni <uri_simchoni_at_nospam>
Date: Sat May 22 2010 - 17:10:09 GMT
To: <volker.lendecke@sernet.de>

So a single-user mdb benefits from oplocks, multi-user mdb suffers from oplocks, and applications that load/store whole files are indifferent to it?

Thanks,

Uri.
 
> Date: Sat, 22 May 2010 18:55:02 +0200
> From: Volker.Lendecke@SerNet.DE
> To: uri_simchoni@hotmail.com
> CC: samba@lists.samba.org
> Subject: Re: [Samba] Oplocks - when do they help
>
> On Sat, May 22, 2010 at 06:21:52PM +0300, Uri Simchoni wrote:
> > I googled around and the general wisdom seems to be that
> > oplocks provide a performance gain if files are accessed
> > by a single client at a time (that is, if the oplock does
> > not break).
> >
> > What I can't figure out is what test can show this
> > performance gain. I mean, theoretically, document-editing
> > applications (Word,excel) save and load whole files and
> > hence do not benefit from oplocks. Applications which do
> > modify portions of a file usually flush buffers to
> > maintain transactional integrity and hence should not
> > benefit from oplocks either.
> >
> > So, how can I demonstrate the benefit of oplocks?
>
> Use an Access .mdb file.
>
> Volker
                                               
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba