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

add Learn how to enable libhugetlbfs to increase performance #611

Merged
merged 1 commit into from Jan 3, 2024

Conversation

boltliu85
Copy link
Contributor

@boltliu85 boltliu85 commented Nov 30, 2023

…erver

Before submitting a pull request for a new Learning Path, please review Create a Learning Path

  • I have reviewed Create a Learning Path

Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information.

  • I have checked my contribution for confidential 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.

@jasonrandrews jasonrandrews merged commit 883d078 into ArmDeveloperEcosystem:main Jan 3, 2024

- questions:
question: >
libhugetlbfs could only eanble code section of a program, is it true?

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.

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?

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.

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.
Copy link

@jthackray jthackray Jan 12, 2024

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants