Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rocksdb: add config for rate_limiter.refill_period (#8371)
Signed-off-by: tabokie <xy.tao@outlook.com> ### What is changed and how it works? Expose rocksdb config `refill_period_us` for rate limiter to tikv. [refill_period_us](https://github.com/facebook/rocksdb/blob/fdf882ded218344c136c97daf76dfb59e4bc155f/include/rocksdb/rate_limiter.h#L117) is used to control the largest IO quota that can be requested from IO rate limiter at a single time. Tuning down this parameter will flatten the IO burst with a penalty on CPU usage. Default value is 100 ms. ### Release note <!-- bugfixes or new feature need a release note --> - Add config for rate limiter's refill-period
- Loading branch information
Showing
5 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters