Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.16.0
    • 3
    • 9223372036854775807

    Description

      It appears that there was no rule added for NRS TBF to allow selecting the project ID for an RPC.

      Attachments

        Issue Links

          Activity

            [LU-17166] add NRS TBF rule for projid

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54920/
            Subject: LU-17166 ptlrpc: add pb_projid field in ptlrpc_body
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 2cde8f434a86b8499dfbe56d59fe93a028c229ee

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54920/ Subject: LU-17166 ptlrpc: add pb_projid field in ptlrpc_body Project: fs/lustre-release Branch: master Current Patch Set: Commit: 2cde8f434a86b8499dfbe56d59fe93a028c229ee

            "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57245
            Subject: LU-17166 nrs: add NRS TBF rule for ProjID support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: be558146346fa11732260376a32542fd451c1b7a

            gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57245 Subject: LU-17166 nrs: add NRS TBF rule for ProjID support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: be558146346fa11732260376a32542fd451c1b7a
            qian_wc Qian Yingjin added a comment -

            We have a patch for PCC implementing the similar functionality:

            LU-13881 pcc: comparator support for PCC rules

            https://review.whamcloud.com/c/fs/lustre-release/+/39585

            TBF rule can borrow the code from PCC to define a rule with a range of PROJID values with '<' or '>' comparator.

             

            We also have a patch for aggregate shared rate limiting for TBF:

            https://review.whamcloud.com/#/c/fs/lustre-release/+/56351/

            qian_wc Qian Yingjin added a comment - We have a patch for PCC implementing the similar functionality: LU-13881 pcc: comparator support for PCC rules https://review.whamcloud.com/c/fs/lustre-release/+/39585 TBF rule can borrow the code from PCC to define a rule with a range of PROJID values with '<' or '>' comparator.   We also have a patch for aggregate shared rate limiting for TBF: https://review.whamcloud.com/#/c/fs/lustre-release/+/56351/

            Alternately (or in addition), would it be easier/better to use the TBF nodemap functionality described in LU-17902 to directly aggregate all RPCs from a given nodemap into one bucket rather than going through the indirection of using a nodemap range?

            adilger Andreas Dilger added a comment - Alternately (or in addition), would it be easier/better to use the TBF nodemap functionality described in LU-17902 to directly aggregate all RPCs from a given nodemap into one bucket rather than going through the indirection of using a nodemap range?

            eaujames, qian_wc, would the TBF rules allow (with the above addition of pb_projid to the RPC structure) restricting the RPC rate for a range of PROJID values? The patch https://review.whamcloud.com/55943 "LU-18109 utils: adding nodemap offset capability LU-18109" allows groups of clients in a nodemap to be assigned a range of UID/GID/PROJID values, and I'm wondering if the TBF rate limiting could be similarly used to aggregate a range of PROJID values into a single bucket so that they can be constrained to e.g. 10% of the storage bandwidth/IOPS, or similar?

            adilger Andreas Dilger added a comment - eaujames , qian_wc , would the TBF rules allow (with the above addition of pb_projid to the RPC structure) restricting the RPC rate for a range of PROJID values? The patch https://review.whamcloud.com/55943 " LU-18109 utils: adding nodemap offset capability LU-18109 " allows groups of clients in a nodemap to be assigned a range of UID/GID/PROJID values, and I'm wondering if the TBF rate limiting could be similarly used to aggregate a range of PROJID values into a single bucket so that they can be constrained to e.g. 10% of the storage bandwidth/IOPS, or similar?

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54920
            Subject: LU-17166 ptlrpc: add pb_projid field in ptlrpc_body
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 3404e9f4800cf8f730dae3e78a71ea622ca23496

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54920 Subject: LU-17166 ptlrpc: add pb_projid field in ptlrpc_body Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 3404e9f4800cf8f730dae3e78a71ea622ca23496

            People

              eaujames Etienne Aujames
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: