|
60 | 60 | sys.lru.expire.match=[match1:<age1>,match2:<age2>..] |
61 | 61 | : defines the rule that files with a given match will be removed if |
62 | 62 | they haven't been accessed longer than <age> ago. <age> is defined like 3600,3600s,60min,1h,1mo,1y... |
63 | | - sys.lru.watermark=<low>:<high> : if the watermark reaches more than <high> %, files will be removed |
64 | | - until the usage is reaching <low> %. |
| 63 | + sys.lru.lowwatermark=<low> |
| 64 | + sys.lru.highwatermark=<high> : if the watermark reaches more than <high> %, files will be removed until the usage is reaching <low> %. |
65 | 65 | sys.lru.convert.match=[match1:<age1>,match2:<age2>,match3:<age3>:<<size3>,match4:<age4>:><size4>...] |
66 | 66 | defines the rule that files with a given match will be converted to the layouts defined by sys.conversion.<match> when their access time reaches <age>. Optionally a size limitation can be given e.g. '*:1w:>1G' as 1 week old and larger than 1G or '*:1d:<1k' as one day old and smaller than 1k |
67 | 67 | sys.stall.unavailable=<sec> : stall clients for <sec> seconds if a needed file system is unavailable |
|
150 | 150 | - configure a volume based LRU cache with a low/high watermark |
151 | 151 | e.g. when the cache reaches the high watermark it cleans the oldest files until low-watermark is reached ... |
152 | 152 | |eos> quota set -g 99 -v 1T /eos/instance/cache/ # define project quota on the cache |
153 | | - |eos> attr set sys.lru.watermark=90:95 /eos/instance/cache/ # define 90 as low and 95 as high watermark |
| 153 | + |eos> attr set sys.lru.lowwatermark=90 /eos/instance/cache/ |
| 154 | + |eos> attr set sys.lru.highwatermark=95 /eos/instance/cache/ # define 90 as low and 95 as high watermark |
154 | 155 | |eos> attr set sys.force.atime=300 /eos/dev/instance/cache/ # track atime with a time resolution of 5 minutes |
155 | 156 | -------------------------------------------------------------------------------- |
156 | 157 | - configure clean-up of empty directories ... |
|
0 commit comments