1GANESHA-CACHE-CONFIG(8) NFS-Ganesha GANESHA-CACHE-CONFIG(8)
2
3
4
6 ganesha-cache-config - NFS Ganesha Cache Configuration File
7
9 /etc/ganesha/ganesha.conf
10
11
13 NFS-Ganesha reads the configuration data from: | /etc/ganesha/gane‐
14 sha.conf
15
16 This file lists NFS-Ganesha Cache config options. These options used
17 to be configured in the CACHEINODE block. They may still be used in
18 that block, but it is deprecated and will go away. The MDCACHE block
19 takes precidence over the CACHEINODE block.
20
21 MDCACHE {}
22 NParts (uint32, range 1 to 32633, default 7)
23 Partitions in the Cache_Inode tree.
24
25 Cache_Size(uint32, range 1 to UINT32_MAX, default 32633)
26 Per-partition hash table size.
27
28 Use_Getattr_Directory_Invalidation(bool, default false)
29 Use getattr for directory invalidation.
30
31 Dir_Chunk(uint32, range 0 to UINT32_MAX, default 128)
32 Size of per-directory dirent cache chunks, 0 means directory
33 chunking is not enabled.
34
35 Detached_Mult(uint32, range 1 to UINT32_MAX, default 1)
36 Max number of detached directory entries expressed as a multiple
37 of the chunk size.
38
39 Entries_HWMark(uint32, range 1 to UINT32_MAX, default 100000)
40 The point at which object cache entries will start being reused.
41
42 Chunks_HWMark(uint32, range 1 to UINT32_MAX, default 100000)
43 The point at which dirent cache chunks will start being reused.
44
45 LRU_Run_Interval(uint32, range 1 to 24 * 3600, default 90)
46 Base interval in seconds between runs of the LRU cleaner thread.
47
48 FD_Limit_Percent(uint32, range 0 to 100, default 99)
49 The percentage of the system-imposed maximum of file descriptors
50 at which Ganesha will deny requests.
51
52 FD_HWMark_Percent(uint32, range 0 to 100, default 90)
53 The percentage of the system-imposed maximum of file descriptors
54 above which Ganesha will make greater efforts at reaping.
55
56 FD_LWMark_Percent(uint32, range 0 to 100, default 50)
57 The percentage of the system-imposed maximum of file descriptors
58 below which Ganesha will not reap file descriptors.
59
60 Reaper_Work(uint32, range 1 to 2000, default 0)
61 Roughly, the amount of work to do on each pass through the
62 thread under normal conditions. (Ideally, a multiple of the
63 number of lanes.) This setting is deprecated. Please use
64 Reaper_Work_Per_Lane
65
66 Reaper_Work_Per_Lane(uint32, range 1 to UINT32_MAX, default 50)
67 This is the numer of handles per lane to scan when performing
68 LRU maintenance. This task is performed by the Reaper thread.
69
70 Biggest_Window(uint32, range 1 to 100, default 40)
71 The largest window (as a percentage of the system-imposed limit
72 on FDs) of work that we will do in extremis.
73
74 Required_Progress(uint32, range 1 to 50, default 5)
75 Percentage of progress toward the high water mark required in in
76 a pass through the thread when in extremis
77
78 Futility_Count(uint32, range 1 to 50, default 8)
79 Number of failures to approach the high watermark before we dis‐
80 able caching, when in extremis.
81
82 Dirmap_HWMark(uint32, range 1 to UINT32_MAX, default 10000)
83 The point at which dirmap entries are reused. This puts a prac‐
84 tical limit on the number of simultaneous readdirs that may be
85 in progress on an export for a whence-is-name FSAL (currently
86 only FSAL_RGW)
87
89 ganesha-config(8)
90
91
92
93
94 Nov 26, 2019 GANESHA-CACHE-CONFIG(8)