Details
-
Technical task
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
To meet different caching management requirements, a rule based configurable caching infrastructure is proposed for PCC to achieve various objectives, such as customizing I/O caching, providing performance isolation and QoS guarantees.
The feature of configurable rule based auto PCC caching for newly create files can significantly benefit users for readwrite PCC. It can determine which file can use a cache on PCC directly without any admission control for high priority user/group/project or filename with wildcard support. Meanwhile, we can enforce a quota limitation of capacity usage for each user/group/project to providing caching isolation.
It is similar to NRS TBF command line that supports logical conditional conjunction and disjunction operations among different user/group/project or filename with the wildcard support.
The command line to add this kind of rule is as follows:
lctl set_param llite.*.pcc="add /mnt/pcc projid={500 1000}&fname={*.doc},uid={1001} rwid=1 roid=1"
It means that Project ID of 500, 1000 AND file suffix name is "doc" OR User ID is 1001 can be auto cached on PCC for newly create file on the client.