-
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
add optimal parameter configrations. #5303
Conversation
check-before-deployment.md
Outdated
transparent_hugepages=never | ||
|
||
[disk] | ||
devices_udev_regex=(ID_SERIAL=36d0946606d79f90025f3e09a0c1fc035)|(ID_SERIAL=36d0946606d79f90025f3e09a0c1f9e81) |
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.
有个疑问,如果用户因磁盘损坏等问题换盘,tuned 的行为是怎样的?
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.
用 ID_SERIAL 的话,需要重新编辑,因为正则匹配不上了。之前 ORACLE 用 udev 规则写磁盘阵列上的 LUN 的权限时,有时候会用 ID_VENDOR 把厂商 ID 给绑定。在我们的服务器内部磁盘的场景中,可能没有办法用上这种方法。
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
@ethercflow, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: docs(slack). |
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
Co-authored-by: kissmydb <likun@pingcap.com>
Co-authored-by: kissmydb <likun@pingcap.com>
Co-authored-by: kissmydb <likun@pingcap.com>
@pepezzzz, please update your pull request. |
1 similar comment
@pepezzzz, please update your pull request. |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-2.1 in PR #5371 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.0 in PR #5372 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.1 in PR #5373 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #5374 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #5375 |
* cherry pick #5303 to release-4.0 Signed-off-by: ti-srebot <ti-srebot@pingcap.com> * Update check-before-deployment.md Co-authored-by: pepezzzz <35323945+pepezzzz@users.noreply.github.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
* cherry pick #5303 to release-5.0 Signed-off-by: ti-srebot <ti-srebot@pingcap.com> * Update check-before-deployment.md Co-authored-by: pepezzzz <35323945+pepezzzz@users.noreply.github.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
First-time contributors' checklist
What is changed, added or deleted? (Required)
add tuned profile, udev script and cpu governor systemd service configrations
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?