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

shared rate limit for a TBF rule

    XMLWordPrintable

Details

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

    Description

      In the current design of NRS TBF, for each TBF rule, there is a set of  TBF buckets (classes) corresponded to it. We schedule and limit the RPC rate per TBC bucket based.

      Each bucket is in unit of "TBF type" (nid, gid, uid, jobid or opcode). It means that each TBF type unit (nid, gid, mid, jobid or opcode...) has a corresponding separate TBF bucket.

      The TBF rule only classifies the matching requests into the TBF buckets.

      However, there is a requirement that all I/O requests meeting a special TBF rule with shared rate limiting.

      lctl set_param ost.OSS.ost_io.nrs_tbf_rule="start sharedlimit nid={192.168.23.*@tcp} rate=3000 share=1"

      It means that all I/O requests coming from NID in 192.168.23.* are shared with rate limit of 3000.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: