Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18192

TBF: generic combination TBF types with different granularities

Details

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

    Description

      In the current NRS TBF design, a server classifies the incoming I/O requests into TBF buckets according to the NRS TBF rule with different rate limits.
      The requests in each TBF bucket are scheduled in FIFO order and the RPC rate is limited per TBF bucket based.

      Each TBF bucket is usually in unit of TBF types or the combination of various TBF types. i.e.
      NID TBF. -> (nid)
      JobID TBF -> (jobid)
      UID TBF -> (uid)
      GID TBF -> (gid)
      opcode TBF -> (opcode)
      generic TBF -> (nid, jobid, uid, gid, opcode)

      The more general the scheduling type, the finer the granularity of the scheduling TBF bucket. It will generate much more TBF buckets for various scheduling classes.

      Thus we can define more coarser TBF scheduling types according to the requirement of the users. i.e.

      # lctl set_param ost.OSS.ost_io.nrs_policies="tbf nid+opcode"
      or
      # lctl set_param ost.OSS.ost_io.nrs_policies="tbf uid+gid+nid"
      

      NID+Opcode TBF -> (nid, opcode)
      UID+GID+NID TBF -> (uid, nid, gid)

      Attachments

        Issue Links

          Activity

            [LU-18192] TBF: generic combination TBF types with different granularities

            "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58143
            Subject: LU-18192 nrs: cleanup jobid/opcode/uid/gid NRS TBF types
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 504a433be334618d877336250152fa333968e00b

            gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58143 Subject: LU-18192 nrs: cleanup jobid/opcode/uid/gid NRS TBF types Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 504a433be334618d877336250152fa333968e00b

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56227/
            Subject: LU-18192 nrs: move nid/uid/gid/opcode/jobid into generic key
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7955578d771ceb1ec01388f9daaa51b9ea03d7bb

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56227/ Subject: LU-18192 nrs: move nid/uid/gid/opcode/jobid into generic key Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7955578d771ceb1ec01388f9daaa51b9ea03d7bb

            "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56237
            Subject: LU-18192 nrs: TBF combination with different granularities
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 074c9b671e47bec407ff1bb43bd3083830b59c20

            gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56237 Subject: LU-18192 nrs: TBF combination with different granularities Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 074c9b671e47bec407ff1bb43bd3083830b59c20

            "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56227
            Subject: LU-18192 nrs: move nid/uid/gid/opcode/jobid into generic key
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: fe69bc0363ba466647a940344418603a19dd8b4d

            gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56227 Subject: LU-18192 nrs: move nid/uid/gid/opcode/jobid into generic key Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fe69bc0363ba466647a940344418603a19dd8b4d

            People

              qian_wc Qian Yingjin
              qian_wc Qian Yingjin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: