Optimize CIFS database operations: what does it mean?

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/support_form.php?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
User avatar
Lapin
Versed
Versed
Posts: 289
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Optimize CIFS database operations: what does it mean?

Postby Lapin » Sun Dec 14, 2008 6:39 pm

Does anyone know exactly what does this feature?
I tried to find some literature on the web.
It seems, if the NAS is used as a sharing storage, disabling it will increase the performance during multiple accesses.
However if people are trying to access the same file at the same time, then this option must be ticked.

To be honest, I didn't get it. So, if somebody can explain, it will be very nice.
Synology Model: DS-411+
Firmware Version: 5.2-5592 Update 4
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
Posts: 289
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: Optimize CIFS database operations: what does it mean?

Postby Lapin » Mon Dec 15, 2008 6:59 pm

Anyone to help me ?
:(
Synology Model: DS-411+
Firmware Version: 5.2-5592 Update 4
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Franklin
Synology Inc
Synology Inc
Posts: 6662
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Optimize CIFS database operations: what does it mean?

Postby Franklin » Tue Dec 16, 2008 1:45 am

Greetings Lapin


==Background Info==
Superbase Networking - Oplocks Explained
NAS Tutorial: Oplocks and NASes


Optimize CIFS database operations "Enabled" --> OP Locks Off
Optimize CIFS database operations "Disabled" --> OP Locks On


Changing the behavior of OP locks affects the Samba performance when

--> Multiple users are all accessing the same file all at the same time (commonly found in database environments)
--> A program which has multiple entities/threads towards one single file

OP Locks Off is better performance for multiple users; however it degrades the performance for single file copy transfer
OP Locks On is better for single file copy; however it degrades the performance for multiple users accessing the same database all at the same time (as in, all accessing at the same second)

Having OP Locks on or off shouldn't affect that much with small user environments, but it will be noticeable in larger environments, where there are multiple users using the Synology system, such as a a media production facility.

Hope this helps
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Lapin
Versed
Versed
Posts: 289
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: Optimize CIFS database operations: what does it mean?

Postby Lapin » Tue Dec 16, 2008 9:57 am

Thanks a lot Franklin !!!
:D
Things are pretty clear now !!

Again, thanks for your support.
Synology Model: DS-411+
Firmware Version: 5.2-5592 Update 4
HDD Model: 4xSeagate ST2000DL003 2To - SHR

Return to “File Sharing: Windows, Mac OS X, Linux”

Who is online

Users browsing this forum: No registered users and 2 guests