Scroll to navigation

GANESHA-CACHE-CONFIG(8) NFS-Ganesha GANESHA-CACHE-CONFIG(8)

NAME

ganesha-cache-config - NFS Ganesha Cache Configuration File

SYNOPSIS

/etc/ganesha/ganesha.conf

DESCRIPTION

NFS-Ganesha reads the configuration data from: | /etc/ganesha/ganesha.conf

This file lists NFS-Ganesha Cache config options. These options used to be configured in the CACHEINODE block. They may still be used in that block, but it is deprecated and will go away. The MDCACHE block takes precedence over the CACHEINODE block.

MDCACHE {}

Partitions in the Cache_Inode tree.
Per-partition hash table size.
Use getattr for directory invalidation.
Size of per-directory dirent cache chunks, 0 means directory chunking is not enabled. Dir_Chunk should always be enabled. Most FSAL modules especially FSAL_RGW/FSAL_GLUSTER need it to make readdir work well.
Max number of detached directory entries expressed as a multiple of the chunk size.
The point at which object cache entries will start being reused.
The number of entries attempted to release each time when the handle cache has exceeded the entries high water mark.
The point at which dirent cache chunks will start being reused.
Base interval in seconds between runs of the LRU cleaner thread.
The percentage of the system-imposed maximum of file descriptors at which Ganesha will deny requests.
The percentage of the system-imposed maximum of file descriptors above which Ganesha will make greater efforts at reaping.
The percentage of the system-imposed maximum of file descriptors below which Ganesha will not reap file descriptors.
Roughly, the amount of work to do on each pass through the thread under normal conditions. (Ideally, a multiple of the number of lanes.) This setting is deprecated. Please use Reaper_Work_Per_Lane
This is the number of handles per lane to scan when performing LRU maintenance. This task is performed by the Reaper thread.
The largest window (as a percentage of the system-imposed limit on FDs) of work that we will do in extremis.
Percentage of progress toward the high water mark required in in a pass through the thread when in extremis
Number of failures to approach the high watermark before we disable caching, when in extremis.
The point at which dirmap entries are reused. This puts a practical limit on the number of simultaneous readdirs that may be in progress on an export for a whence-is-name FSAL (currently only FSAL_RGW)

SEE ALSO

ganesha-config(8)

April 23, 2024