26.6 Setting the File/Buffer Flush Timer

Increasing the flush time settings can improve performance, but does it at the risk of data loss during a system failure. The timers directly relate to the amount of uncommitted data in NSS Cache.

Task

Purpose

Command

Set the amount of time before files are flushed.

This sets the maximum amount of time that modified files are kept in a cache buffer before flushing the files to disk. Increasing this number might reduce the number of writes to disk; however, it increases the amount of data that is lost if the system crashes.

Increasing the /FileFlushTimer setting beyond a minute or two can lead to overflowing the ZLOG file and throttling system operations.

[Default=10; Range=1 to 3600]

nss /FileFlushTimer=value

Set the amount of time before buffers are written.

This sets the maximum amount of time that modified NSS file system cache buffers are kept in memory before they are written to disk.

[Default=1; Range=1 to 3600]

nss /BufferFlushTimer=value