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 Learn how to enable libhugetlbfs to increase performance #611
Conversation
|
||
- questions: | ||
question: > | ||
libhugetlbfs could only eanble code section of a program, is it true? |
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.
nit: typo: s/eanble/enable/
- No | ||
correct_answer: 2 | ||
explanation: > | ||
Though code sectition is the typical section to be placed in hugepage, other sections like data can also be placed in hugepage. |
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.
nit: typo: s/sectition/section/
|
||
- questions: | ||
question: > | ||
After enabling libhugetlbfs on MySQL, which perf event would be decresed dramatically? |
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.
nit: typo: s/decresed/decreased/
$ HUGETLB_ELFMAP=RW /home/mysql/mysql_install/1-install_8.0.33_huge/bin/mysqld ... | ||
``` | ||
|
||
please note don't export HUGETLB_ELFMAP=RW as an environment varible, it has to be specified right before the mysqld exectuable. |
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.
nit: typo: s/exectuable/executable/
$ HUGETLB_ELFMAP=RW [path-to-redis]/src/redis-server redis.conf | ||
``` | ||
|
||
please note don't export HUGETLB_ELFMAP=RW as an environment varible, it has to be specified right before the mysqld exectuable. |
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.
nit: typo: s/exectuable/executable/
…erver
Before submitting a pull request for a new Learning Path, please review Create a Learning Path
Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the Creative Commons Attribution 4.0 International License.