13.3 CIFS

13.3.1 Maximum Cached Subdirectories Per Volume

This controls the maximum number of folder entries that can be cached by the CIFS server for a volume in the directory cache. The default value is 102400.

Use the following command to the set the Maximum Cached Subdirectories Per Volume:

novcifs –k SDIRCACHE = <value for the Maximum Cached Subdirectories Per Volume>

13.3.2 Maximum Cached Files Per Subdirectory

This controls the maximum number of file entries that can be cached by the CIFS server for a given folder in the directory cache. The default value is 10240.

Use the following command to the set the Maximum Cached Files Per Subdirectory:

novcifs –k DIRCACHE = <value for the Maximum Cached Files Per Subdirectory>

13.3.3 Maximum Cached Files Per Volume

This controls the maximum number of file entries that can be cached by the CIFS server for a given volume in the directory cache. The default value is 256000.

Use the following command to the set the Maximum Cached Files Per Volume:

novcifs –k FILECACHE = <value for the Maximum Cached Files Per Volume>

NOTE:The filecache size determines how many files or folders can be opened at a time. However, the total number of files and folders residing in a volume might be substantially lager than this number. This setting caches only the file name and related information; it does not cache the whole file.

Recommendation: Set this value close to the number of files and folders available in a volume.

13.3.4 Subtree Search

A subtree search or contextless login enables CIFS to search for a user in the entire base context of a tree. The subtree search setting that is saved in the cifs.conf file stays persistent even if the system or service is restarted.

To use the subtree search feature, the CIFS proxy user should have read rights for the base context. These rights are assigned automatically from iManager when the context is added. A subtree search can be configured only at a physical server or at node level. In a cluster setup, each node should be configured with the same configuration level for consistent behavior.

Use the following command to enable or disable subtree search:

novcifs -y yes|no

Subtree search performance depends on the distribution of eDirectory replicas in the tree, rather than on the actual hierarchy of eDirectory contexts.

13.3.5 Information and Debug Logs

Please keep the CIFS information and debug logs in a disabled state unless you specifically require the detailed log information.

To enable or disable the Debug Log for Developers, use the following command: novcifs [-b yes|no | --enable-debug=yes|no]

To enable or disable the Info Log, use the following command: novcifs [-f yes|no |--enable-info=yes|no]

13.3.6 Oplocks

The Oplocks or opportunistic locking improves file access performance by caching files at the client side. This option is enabled by default.

Recommendation: For better performance, oplocks should be enabled (use iManager).

13.3.7 Cross Protocol Locks

The CrossProtocol locks help in using the files in the right way from different clients depending on the type of file accessed. This option is enabled by default.

Recommendation: Option should be enabled for data integrity purposes.

13.3.8 SMB Signing

SMB signing ensures data integrity. This option is disabled by default in the latest CIFS release. This is because both the client and server are in a trusted corporate network and because the disabled state provides optimal file server performance. SMB signing should be turned off when domain authentication is configured.

Recommendation: Option is disabled by default.

novcifs –g yes / no / optional / force

For more information on CIFS parameters that affect the file system performance, see Locks Management for CIFS, Enabling Offline Files Support and Directory Cache Management for CIFS Server in the OES 11 SP2: Novell CIFS for Linux Administration Guide.