-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TiKV: add quota limiter doc in config #8648
Conversation
Signed-off-by: Xintao <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: Xintao <[email protected]>
Signed-off-by: Xintao <[email protected]>
@en-jin19 PTAL |
@hunterlxt Could you please invite a tech reviewer? thank you! |
PTAL @tonyxuqqi |
Co-authored-by: Enwei <[email protected]>
Signed-off-by: Xintao <[email protected]>
tikv-configuration-file.md
Outdated
> - 前台限流是 TiDB 在 v6.0 中引入的实验特性,不建议在生产环境中使用。 | ||
> - 该功能适合在资源有限的环境中(如 4vCPU,16G 内存)提高长期运行的稳定性,但启用该功能则会在资源丰富的机型环境出现 TiKV 峰值性能下降的情况。 | ||
|
||
### `foreground-cpu-time` <span class="version-mark">从 v6.0 版本开始引入</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@en-jin19 前端不支持 <span class="version-mark">
的锚点链接
### `foreground-cpu-time` <span class="version-mark">从 v6.0 版本开始引入</span> | |
### `foreground-cpu-time`(从 v6.0 版本开始引入) |
tikv-configuration-file.md
Outdated
|
||
### `foreground-cpu-time` <span class="version-mark">从 v6.0 版本开始引入</span> | ||
|
||
+ 限制 CPU 为处理 TiKV 前台读写请求所使用的 CPU 资源使用量,这是一个软限制。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ 限制 CPU 为处理 TiKV 前台读写请求所使用的 CPU 资源使用量,这是一个软限制。 | |
+ 限制处理 TiKV 前台读写请求所使用的 CPU 资源使用量,这是一个软限制。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @tonyxuqqi, could you please approve this PR? thank you! |
/remove-status LGT1 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 7309105
|
> **警告:** | ||
> | ||
> - 前台限流是 TiDB 在 v6.0.0 中引入的实验特性,不建议在生产环境中使用。 | ||
> - 该功能仅适合在资源有限的环境中使用,以保证 TiKV 在该环境下可以长期稳定地运行。如果在资源丰富的机型环境中开启该功能,可能会导致读写请求量达到峰值时 TiKV 的性能下降的问题。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉”长期“比较含糊。多长是”长期“呢?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个时间点是:当后台的工作无法可持续的完成,不断累积更多待处理的任务以后,且后台累积任务而导致 write stall 等情况发生,从而使这个时间点以后的请求处理的时间无法和之前的处理时间相当
Signed-off-by: Xintao [email protected]
First-time contributors' checklist
What is changed, added or deleted? (Required)
Add TiKV quota related config doc.
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?