A cache buffer is a block (4 Kb) of NetWare server memory (RAM) that temporarily stores data.
You can change the default cache buffers as follows:
When NSS loads, it consumes 10 percent of the cache buffers. Therefore, you may want to change your buffers before creating NSS volumes.
Use these commands at the server console to set or check your cache buffers as follows:
nss /MinBufferCacheSize sets the minimum buffer size. The default is 512. The range is 256 to 1048576. When NSS is loaded, it requires at least 512 cache buffers.
nss /MinOSBufferCacheSize sets the minimum size for NetWare. The default is 1024. The range is 1024 to 1048576. We do not recommend that you set this value below 1024.
nss /NameCacheSize sets the number of Name Cache entries. NSS keeps a cache of file and directory entry names it has recently looked up. This speeds up opening files and path searches. The default is 2111. The range is 3 to 65521.
nss /(No)NameCache sets Name Cache to ON or OFF. The default is ON.
nss /(No)CacheBalance sets the buffers to percentages rather than integers for dynamic balancing of free memory for the buffer cache. The default is ON. Use this switch with /MinBufferCacheSize.
nss /CacheBalance sets the percent balance of free memory NSS uses for its cache buffer. The CacheBalance percentage determines how many cache blocks NSS will take from the traditional NetWare file system for its own cache. If this number is too large, some NLMs may be difficult to load. If you use NSS extensively, the default should be changed. The default is 10 percent. The range is from 1 to 99 percent.
nss /CacheBalanceTimer sets the cache balance timer in seconds. NSS checks the total number of cache buffers in the system and determines if the CacheBalance percentage is met. NSS then gives or takes the appropriate number of cache buffers.The default is 30. The range is 1 to 3600.
nss /AuthCacheSize sets the number of Authorization Cache entries. If many trustees have been set on different files and directories, we recommend that you increase this number. The default is 1024. The range is 16 to 50000.
nss /BufferFlushTimer sets the flush time for modified cache buffers in seconds. The default is 1 second. The range is 1 to 3600 seconds.
nss /CacheStats shows the buffer cache statistics.