1GANESHA-CACHE-CONFIG(8)           NFS-Ganesha          GANESHA-CACHE-CONFIG(8)
2
3
4

NAME

6       ganesha-cache-config - NFS Ganesha Cache Configuration File
7

SYNOPSIS

9       /etc/ganesha/ganesha.conf
10
11

DESCRIPTION

13       NFS-Ganesha  reads  the  configuration  data from: | /etc/ganesha/gane‐
14       sha.conf
15
16       This file lists NFS-Ganesha Cache config options.
17
18   CACHEINODE {}
19       NParts (uint32, range 1 to 32633, default 7)
20              Partitions in the Cache_Inode tree.
21
22       Cache_Size(uint32, range 1 to UINT32_MAX, default 32633)
23              Per-partition hash table size.
24
25       Use_Getattr_Directory_Invalidation(bool, default false)
26              Use getattr for directory invalidation.
27
28       Dir_Chunk(uint32, range 0 to UINT32_MAX, default 128)
29              Size of per-directory dirent cache  chunks,  0  means  directory
30              chunking is not enabled.
31
32       Detached_Mult(uint32, range 1 to UINT32_MAX, default 1)
33              Max number of detached directory entries expressed as a multiple
34              of the chunk size.
35
36       Entries_HWMark(uint32, range 1 to UINT32_MAX, default 100000)
37              The point at which object cache entries will start being reused.
38
39       LRU_Run_Interval(uint32, range 1 to 24 * 3600, default 90)
40              Base interval in seconds between runs of the LRU cleaner thread.
41
42       FD_Limit_Percent(uint32, range 0 to 100, default 99)
43              The percentage of the system-imposed maximum of file descriptors
44              at which Ganesha will deny requests.
45
46       FD_HWMark_Percent(uint32, range 0 to 100, default 90)
47              The percentage of the system-imposed maximum of file descriptors
48              above which Ganesha will make greater efforts at reaping.
49
50       FD_LWMark_Percent(uint32, range 0 to 100, default 50)
51              The percentage of the system-imposed maximum of file descriptors
52              below which Ganesha will not reap file descriptors.
53
54       Reaper_Work(uint32, range 1 to 2000, default 0)
55              Roughly,  the  amount  of  work  to  do on each pass through the
56              thread under normal conditions.  (Ideally,  a  multiple  of  the
57              number  of  lanes.)   This  setting  is  deprecated.  Please use
58              Reaper_Work_Per_Lane
59
60       Reaper_Work_Per_Lane(uint32, range 1 to UINT32_MAX, default 50)
61              This is the numer of handles per lane to  scan  when  performing
62              LRU maintenance.  This task is performed by the Reaper thread.
63
64       Biggest_Window(uint32, range 1 to 100, default 40)
65              The  largest window (as a percentage of the system-imposed limit
66              on FDs) of work that we will do in extremis.
67
68       Required_Progress(uint32, range 1 to 50, default 5)
69              Percentage of progress toward the high water mark required in in
70              a pass through the thread when in extremis
71
72       Futility_Count(uint32, range 1 to 50, default 8)
73              Number of failures to approach the high watermark before we dis‐
74              able caching, when in extremis.
75

SEE ALSO

77       ganesha-config(8)
78
79
80
81
82                                 Jun 05, 2019          GANESHA-CACHE-CONFIG(8)
Impressum