Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocksdb: add config for rate_limiter.refill_period #8371

Merged
merged 19 commits into from Aug 5, 2020

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented Jul 30, 2020

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 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

  • Add config for rate limiter's refill-period

BusyJay and others added 8 commits July 24, 2020 17:25
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jul 30, 2020

@tabokie tabokie added component/rocksdb Component: RocksDB engine status/DNM labels Jul 30, 2020
Signed-off-by: tabokie <xy.tao@outlook.com>
@yiwu-arbug yiwu-arbug added the sig/engine SIG: Engine label Jul 30, 2020
@yiwu-arbug yiwu-arbug added this to In Progress(Developing) in Engine SIG via automation Jul 30, 2020
@yiwu-arbug yiwu-arbug added the type/enhancement Type: Issue - Enhancement label Jul 30, 2020
@yiwu-arbug
Copy link
Contributor

Please give more details in the PR summary.

Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie
Copy link
Member Author

tabokie commented Jul 31, 2020

/release

@yiwu-arbug yiwu-arbug changed the title add config for rate_limiter.refill_period rocksdb: add config for rate_limiter.refill_period Aug 1, 2020
Copy link
Contributor

@yiwu-arbug yiwu-arbug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert jemalloc related changes? Also the rust-rocksdb PR is merged.

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added the status/LGT1 Status: PR - There is already 1 approval label Aug 3, 2020
@Connor1996
Copy link
Member

test fails

Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Copy link
Contributor

@yiwu-arbug yiwu-arbug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added status/LGT2 Status: PR - There are already 2 approvals and removed status/LGT1 Status: PR - There is already 1 approval labels Aug 5, 2020
@yiwu-arbug
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Status: Can merge to base branch label Aug 5, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

@yiwu-arbug yiwu-arbug merged commit 3546246 into tikv:master Aug 5, 2020
Engine SIG automation moved this from In Progress(Developing) to Done Aug 5, 2020
@tabokie tabokie deleted the opt_refill branch December 23, 2020 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/rocksdb Component: RocksDB engine sig/engine SIG: Engine status/can-merge Status: Can merge to base branch status/LGT2 Status: PR - There are already 2 approvals type/enhancement Type: Issue - Enhancement
Projects
Engine SIG
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

6 participants