Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12714 PCC Phase 2
  3. LU-10918

Configurable rule based auto PCC caching for newly created files

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • 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. 

      Attachments

        Issue Links

          Activity

            People

              qian_wc Qian Yingjin
              qian Qian Yingjin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: