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.