Skip to content

Commit 53548ab

Browse files
Content review
1 parent d08cb81 commit 53548ab

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed

content/learning-paths/servers-and-cloud-computing/arm_linux_page_size/centos.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ weight: 5
55
layout: learningpathall
66
---
77

8-
Follow the steps below to install a 64K page size kernel on [CentOS 9 or newer](https://www.centos.org/download/).
8+
Follow the steps below to install a 64K page size kernel on [CentOS 9 or later](https://www.centos.org/download/).
99

1010
## Verify the current page size
1111

12-
Verify you’re using a 4 KB pagesize kernel by entering the following commands:
12+
Verify you’re using a 4KB pagesize kernel by entering the following commands:
1313

1414
```bash
1515
getconf PAGESIZE
@@ -25,9 +25,9 @@ The output should be similar to below. The kernel flavor (the string after the v
2525

2626
The 4096 indicates the current page size is 4KB. If you see a value that is different, you are already using a page size other than 4096 (4K). On Arm systems, the valid options are 4K, 16K, and 64K.
2727

28-
## Install the 64k kernel package:
28+
## Install the 64K kernel package:
2929

30-
Enter the command below to install the 64k kernel:
30+
Enter the command below to install the 64K kernel:
3131

3232
```bash
3333
sudo dnf -y install kernel-64k
@@ -68,7 +68,7 @@ The output shows the 64k kernel is running:
6868
5.14.0-583.el9.aarch64+64k
6969
```
7070

71-
## Revert back to the 4K kernel
71+
## Revert to the 4K kernel
7272

7373
To revert to the original 4K kernel, enter the following:
7474

@@ -100,7 +100,7 @@ sudo grubby --set-default "$k4"
100100
sudo reboot
101101
```
102102

103-
Upon reboot, verify you’re on a 4 KB pagesize kernel by entering the following commands:
103+
Upon reboot, verify you’re on a 4KB pagesize kernel by entering the following commands:
104104

105105
```bash
106106
getconf PAGESIZE

content/learning-paths/servers-and-cloud-computing/arm_linux_page_size/debian.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 4
55
layout: learningpathall
66
---
77

8-
Follow the steps below to install a 64K page size kernel on [Debian 11 “Bullseye” or newer](https://www.debian.org/releases/bullseye/).
8+
Follow the steps below to install a 64K page size kernel on [Debian 11 “Bullseye” or later](https://www.debian.org/releases/bullseye/).
99

1010
Debian does not provide a 64K kernel package, so you will need to compile it from source.
1111

@@ -17,7 +17,7 @@ The instructions below use the Debian source package.
1717

1818
## Verify the current page size
1919

20-
Verify you’re using a 4 KB pagesize kernel by entering the following commands:
20+
Verify you’re using a 4KB pagesize kernel by entering the following commands:
2121

2222
```bash
2323
getconf PAGESIZE
@@ -100,11 +100,11 @@ The output shows the 64k kernel is running:
100100
6.12.22-64k
101101
```
102102

103-
This indicates the current page size is 64K, and you are using the new custom made 64k kernel.
103+
This indicates the current page size is 64K, and you are using the new custom-built 64k kernel.
104104

105-
## Revert back to the 4K kernel
105+
## Revert to the 4K kernel
106106

107-
To revert back to the kernel we started with, enter:
107+
To revert to the kernel we started with, enter:
108108

109109
```bash
110110
dpkg-query -W -f='${Package}\n' 'linux-image-*-64k*' 'linux-headers-*-64k*' \
@@ -127,4 +127,4 @@ The output should be similar to below -- the full kernel name may vary, but the
127127
6.1.0-34-cloud-arm64
128128
```
129129

130-
The 4096 indicates the current page size has been reverted to 4KB.
130+
The 4096 indicates the current page size has been reverted to 4 KB.

content/learning-paths/servers-and-cloud-computing/arm_linux_page_size/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Why does page size matter?
2+
title: Overview
33
weight: 2
44
### FIXED, DO NOT MODIFY
55
layout: learningpathall
66
---
77

8-
## Background
8+
## Page size fundamentals
99

10-
Before you modify the Linux kernel page size on an Arm system, you need to know what a page is, why page size matters, and how page size directly affects performance.
10+
Before you modify the Linux kernel page size on an Arm system, you need to know what a page is, why size matters, and how size affects performance.
1111

1212
## What’s a memory page?
1313

1414
Think of your computer’s memory like a big sheet of graph paper. Each page is one square on that sheet.
1515

16-
The page table is the legend that identifies which square, the *virtual address*, maps to which corresponding spot in physical RAM. Each page represents a fixed-size block of virtual memory that maps to physical memory through the page table. This mapping is managed by the operating system and the CPU’s Memory Management Unit (MMU).
16+
The page table acts like a legend on the map, showing which virtual address square corresponds to a specific location in physical RAM. This mapping is managed by the operating system and the CPU’s Memory Management Unit (MMU).
1717

1818
To keep track of these mappings efficiently, CPUs use a fast lookup cache called the Translation Lookaside Buffer (TLB). Every access first attempts a TLB hit; a miss forces a page table lookup. If the page isn't already in the TLB, the CPU must fetch the mapping from memory—a process that adds latency and stalls execution.
1919

@@ -66,7 +66,7 @@ In addition, the page size might need to be reviewed over time as the applicatio
6666
The best way to determine the impact of page size on application performance is to experiment with both options.
6767

6868
{{% notice Warning%}}
69-
Do not test in a production environment - modifying the Linux kernel page size can lead to system instability or failure. Perform testing in a non-production environment before applying to production systems.
69+
Do not modify the Linux kernel page size in a production environment. It can lead to system instability or failure. Perform testing in a non-production environment before applying to production systems.
7070
{{% /notice %}}
7171

7272
Select the Arm Linux distribution you are using to find out how to install the 64K page size kernel.

content/learning-paths/servers-and-cloud-computing/arm_linux_page_size/ubuntu.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ weight: 3
55
layout: learningpathall
66
---
77

8-
Follow the steps below to install a 64K page size kernel on [Ubuntu 22.04 LTS or newer](https://releases.ubuntu.com/22.04/).
8+
To install a 64 K page size kernel on [Ubuntu 22.04 LTS or later](https://releases.ubuntu.com/22.04/), follow the steps below.
99

1010
## Verify the current page size
1111

12-
Verify you’re using a 4 KB pagesize kernel by entering the following commands:
12+
Verify you’re using a 4KB base-page-size kernel by entering the following commands:
1313

1414
```bash
1515
getconf PAGESIZE
@@ -23,7 +23,7 @@ The output should be similar to below. The kernel flavor (the string after the v
2323
6.1.0-34-cloud-arm64
2424
```
2525

26-
The 4096 indicates the current page size is 4KB. If you see a value that is different, you are already using a page size other than 4096 (4K). On Arm systems, the valid options are 4K, 16K, and 64K.
26+
The 4096 indicates the current page size is 4 KB. If you see a value that is different, you are already using a page size other than 4096 (4K). On Arm systems, the valid options are 4K, 16K, and 64K.
2727

2828
## Install the required dependencies and the 64K kernel
2929

@@ -34,15 +34,15 @@ sudo apt-get -y update
3434
sudo apt-get -y install git build-essential autoconf automake libtool gdb wget linux-generic-64k
3535
```
3636

37-
Next, run the following command to configure grub to load the 64K kernel by default:
37+
Next, run the following command to configure GRUB to load the 64K kernel by default:
3838

3939
```bash
4040
echo "GRUB_FLAVOUR_ORDER=generic-64k" | sudo tee /etc/default/grub.d/local-order.cfg
4141
```
4242

43-
## Update grub and reboot
43+
## Update GRUB and reboot
4444

45-
Commit your changes to grub and reboot by entering the following:
45+
Commit your changes to GRUB and reboot by entering the following:
4646

4747
```bash
4848
sudo update-grub
@@ -56,32 +56,32 @@ getconf PAGESIZE
5656
uname -r
5757
```
5858

59-
The output shows the 64k kernel is running:
59+
The output shows the 64K kernel is running:
6060

6161
```output
6262
65536
6363
6.8.0-59-generic-64k
6464
```
6565

66-
This indicates the current page size is 64K and you are running the new 64K kernel.
66+
This indicates that the current page size is 64K and that you are running the new 64K kernel.
6767

68-
## Revert back to the 4K kernel
68+
## Revert to the 4K kernel
6969

70-
To revert back to the original 4K kernel, run the following commands:
70+
To revert to the original 4K kernel, run the following commands:
7171

7272
```bash
7373
echo "GRUB_FLAVOUR_ORDER=generic" | sudo tee /etc/default/grub.d/local-order.cfg
7474
sudo update-grub
7575
sudo reboot
7676
```
77-
Upon reboot, verify you’re on a 4 KB pagesize kernel by entering the following commands:
77+
Upon reboot, verify you’re on a 4KB pagesize kernel by entering the following commands:
7878

7979
```bash
8080
getconf PAGESIZE
8181
uname -r
8282
```
8383

84-
The output shows the 4k kernel is running:
84+
The output shows the 4K kernel is running:
8585

8686
```output
8787
4096

0 commit comments

Comments
 (0)