Skip to content

Commit 6d86cc4

Browse files
authored
Merge pull request #668 from jasonrandrews/new-LP
review libhugetlbfs Learning Path
2 parents 883d078 + ed55f84 commit 6d86cc4

File tree

6 files changed

+327
-331
lines changed

6 files changed

+327
-331
lines changed

content/learning-paths/servers-and-cloud-computing/libhugetlbfs/_index.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
2-
title: Learn how to enable libhugetlbfs to increase performance on Arm Server
2+
title: Increase application performance with libhugetlbfs
33

44
minutes_to_complete: 60
55

6-
who_is_this_for: This is an advanced topic for performance engineers who wants to tune performance in arm server.
6+
who_is_this_for: This is an advanced topic for performance engineers looking for ways to increase performance on Arm servers.
77

88
learning_objectives:
9-
- enable libhugetlbfs to increase performance
10-
- see how much performance improved on workloads like MySQL, Redis.
9+
- Enable libhugetlbfs on an Arm server running Linux
10+
- Evaluate performance improvements for workloads such as MySQL.
1111

1212
prerequisites:
13-
- system with ubuntu 20 installed
14-
- knowledge to build MySQL server, and run sysbench benchmark test
15-
- knowledge to build Redis server, and run memtier benchmark test
13+
- An Arm server or virtual machine instance from a cloud service provider with Ubuntu installed
14+
- Knowledge to build MySQL server and run the sysbench benchmark test
1615

1716
author_primary: Bolt Liu
1817

@@ -23,15 +22,13 @@ armips:
2322
operatingsystems:
2423
- Linux
2524
tools_software_languages:
26-
- C
27-
- C++
25+
- MySQL
26+
- GCC
2827

2928
test_images:
3029
- ubuntu:latest
3130
test_link: null
32-
test_maintenance: true
33-
test_status:
34-
- passed
31+
test_maintenance: false
3532

3633
weight: 1
3734
layout: learningpathall

content/learning-paths/servers-and-cloud-computing/libhugetlbfs/_next-steps.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ further_reading:
2020
title: libhugetlbfs manpage
2121
link: https://linux.die.net/man/7/libhugetlbfs
2222
type: documentation
23+
- resource:
24+
title: libhugetlbfs HOWTO
25+
link: https://github.com/libhugetlbfs/libhugetlbfs/blob/master/HOWTO
26+
type: documentation
2327

2428
# ================================================================================
2529
# FIXED, DO NOT MODIFY

content/learning-paths/servers-and-cloud-computing/libhugetlbfs/_review.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,36 @@
1313
review:
1414
- questions:
1515
question: >
16-
In which build stage libhugetlbfs will take effect?
16+
To which build stage does information about libhugetlbfs need to be added?
1717
answers:
1818
- preprocessing
1919
- compilation
2020
- assembly
2121
- linking
2222
correct_answer: 4
2323
explanation: >
24-
libhugetlbfs takes effect during linking stage to place program sections into hugepage.
24+
libhugetlbfs is a library which is added during the linking stage.
2525
2626
- questions:
2727
question: >
28-
libhugetlbfs could only eanble code section of a program, is it true?
28+
True or False: libhugetlbfs can only be used on read-only sections of code.
2929
answers:
30-
- Yes
31-
- No
30+
- "True"
31+
- "False"
3232
correct_answer: 2
3333
explanation: >
34-
Though code sectition is the typical section to be placed in hugepage, other sections like data can also be placed in hugepage.
34+
The code section is a typical section to be placed in hugepages, but other sections like data can also be placed in hugepages.
3535
3636
- questions:
3737
question: >
38-
After enabling libhugetlbfs on MySQL, which perf event would be decresed dramatically?
38+
After enabling libhugetlbfs on MySQL, which perf event will be decrease dramatically?
3939
answers:
4040
- l1d_tlb_refill
4141
- l1i_tlb_refill
4242
- l2d_tlb_refill
4343
correct_answer: 2
4444
explanation: >
45-
After enabling libhugetlbfs on MySQL, we could see l1i_tlb_refill decreases dramatically from 490,265,467 to 70,741,621.
45+
After enabling libhugetlbfs on MySQL, l1i_tlb_refill decreases dramatically from 490,265,467 to 70,741,621.
4646
4747
4848

0 commit comments

Comments
 (0)