Skip to content

Commit 1e8f333

Browse files
Merge pull request #2832 from geremyCohen/main
changed instance types to m6g from c8g, added uname steps, minor doc tweaks
2 parents 3b3347f + 6db74fa commit 1e8f333

9 files changed

Lines changed: 144 additions & 153 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ further_reading:
4141
type: documentation
4242
- resource:
4343
title: Kernel install guide
44-
link: /install-guides/kernel-build/
44+
link: /learning-paths/servers-and-cloud-computing/kernel-build/
4545
type: guide
4646
- resource:
4747
title: AWS Compute Service Provider learning path

content/learning-paths/servers-and-cloud-computing/fastpath/analyze_benchmark_results.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To see the swprofiles (kernels) tested and stored in the results directory, run:
1717

1818
```commandline
1919
source ~/venv/bin/activate
20-
fastpath result list results-fastpath_test_010826-1837 --object swprofile
20+
~/fastpath/fastpath/fastpath result list results-fastpath_test_010826-1837 --object swprofile
2121
```
2222

2323
If you followed the tutorial exactly, you should see output similar to:
@@ -61,7 +61,7 @@ If you followed the tutorial exactly, you should see output similar to:
6161
To see the relative results for each kernel, run the following commands:
6262

6363
```commandline
64-
fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.19.0-rc1-ubuntu --relative
64+
~/fastpath/fastpath/fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.19.0-rc1-ubuntu --relative
6565
```
6666
Relative in this case means that the statistics displayed are relative to the mean. In addition to the min/mean/max, you are also given the confidence interval bounds, the coefficient of variation and the number of samples, similar to:
6767

@@ -76,7 +76,7 @@ Relative in this case means that the statistics displayed are relative to the me
7676
You can run it again for the other kernel:
7777

7878
```commandline
79-
fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.18.1-ubuntu --relative
79+
~/fastpath/fastpath/fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.18.1-ubuntu --relative
8080
```
8181
with output similar to:
8282

@@ -95,7 +95,7 @@ To compare the relative results between both kernels, run:
9595

9696

9797
```commandline
98-
fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.19.0-rc1-ubuntu --swprofile fp_6.18.1-ubuntu --relative
98+
~/fastpath/fastpath/fastpath result show results-fastpath_test_010826-1837 --swprofile fp_6.19.0-rc1-ubuntu --swprofile fp_6.18.1-ubuntu --relative
9999
```
100100
with output similar to:
101101

content/learning-paths/servers-and-cloud-computing/fastpath/build_setup.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: "learningpathall"
88

99
## Provision the build host
1010

11-
CPU-optimized instances compile kernels quickly, so in our example, an AWS Graviton4 `c8g.24xlarge` instance is used. It will be referred to as the *build* machine throughout the rest of the guide.
11+
CPU-optimized instances compile kernels quickly, so in our example, an AWS Graviton `m6g.12xlarge` instance is used. It will be referred to as the *build* machine throughout the rest of the guide.
1212

1313
{{% notice Note %}}
1414
The following steps involve launching an EC2 instance. You can perform all EC2 instance creation steps via the AWS Management Console instead or AWS CLI. For step-by-step instructions to bring up an EC2 instance via the console, consult the [Compute Service Provider learning path](/learning-paths/servers-and-cloud-computing/csp/) for detailed instructions. A tutorial from AWS is also available via [Get started with Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html).
@@ -20,7 +20,7 @@ Create build host with the following specifications:
2020
2. **Operating system***Ubuntu*
2121
3. **AMI***Ubuntu 24.04 LTS (Arm)*
2222
4. **Architecture***64-bit Arm*
23-
5. **Instance type**`c8g.24xlarge`
23+
5. **Instance type**`m6g.12xlarge`
2424
6. **Key pair***Select or create a key for SSH*
2525
7. **Security group***allow SSH inbound from your IP and cluster peers*
2626
8. **Storage***200 GB gp3*
@@ -35,7 +35,7 @@ There are many different ways to create this instance, and a few different metho
3535
# Replace the placeholders with values from your account/environment
3636
aws ec2 run-instances \
3737
--image-id resolve:ssm:/aws/service/canonical/ubuntu/server/24.04/stable/current/arm64/hvm/ebs-gp3/ami-id \
38-
--instance-type c8g.24xlarge \
38+
--instance-type m6g.12xlarge \
3939
--key-name <KEY_PAIR_NAME> \
4040
--subnet-id <SUBNET_ID> \
4141
--security-group-ids <SECURITY_GROUP_ID> \
@@ -60,7 +60,7 @@ cat <<'EOF' > build-host.yaml
6060

6161
AWSTemplateFormatVersion: '2010-09-09'
6262
Description: >-
63-
Fastpath Learning Path - Build host for kernel compilation (Ubuntu 24.04 LTS on Graviton4 c8g.24xlarge).
63+
Fastpath Learning Path - Build host for kernel compilation (Ubuntu 24.04 LTS on Graviton m6g.12xlarge).
6464

6565
Parameters:
6666
LatestUbuntuAmiId:
@@ -69,13 +69,11 @@ Parameters:
6969
Description: SSM parameter for the latest Ubuntu 24.04 LTS (Arm) AMI.
7070
InstanceType:
7171
Type: String
72-
Default: c8g.24xlarge
72+
Default: m6g.12xlarge
7373
AllowedValues:
74-
- c8g.24xlarge
75-
- c8g.16xlarge
76-
- c8g.12xlarge
77-
- c8g.8xlarge
78-
- c8g.4xlarge
74+
- m6g.12xlarge
75+
- m6g.8xlarge
76+
- m6g.4xlarge
7977
Description: Instance size for the build host.
8078
KeyPairName:
8179
Type: AWS::EC2::KeyPair::KeyName
@@ -168,7 +166,7 @@ When the instance reports a `running` state, note the public and private IP addr
168166

169167
The Kernel Build repository contains build scripts and configuration files needed to easily compile kernels. To clone the repository:
170168

171-
1. SSH into the `c8g.24xlarge` host using the configured key pair.
169+
1. SSH into the `m6g.12xlarge` host using the configured key pair.
172170

173171
```output
174172
ssh -i ~/.ssh/gcohen1.pem ubuntu@34.216.87.65
@@ -187,7 +185,7 @@ The Kernel Build repository contains build scripts and configuration files neede
187185
ubuntu@ip-172-31-110-110:~$
188186
```
189187
190-
2. Open the [Install and Clone section](https://localhost:1313/install-guides/kernel-build/#install-and-clone) of the install guide from your workstation.
188+
2. Open the [Install and Clone section](/learning-paths/servers-and-cloud-computing/kernel-build/how-to-1/#install-required-dependencies) of the install guide from your workstation.
191189
192190
3. Run each command from that section on the build machine. It should be similar to the following (always refer to the above link for the latest command line):
193191
@@ -238,7 +236,11 @@ Once you are familiar with the process and you wish to explore and test further,
238236

239237
## Compile and build Fastpath-enabled kernels 6.18.1 and 6.19-rc1
240238

241-
To run the script with *fastpath* options:
239+
{{% notice Note %}}
240+
Warning messages are expected at compile-time. Warnings can be safely ignored, however fatal errors should be investigated.
241+
{{% /notice %}}
242+
243+
To compile kernels with *fastpath* options:
242244

243245
1. On the build machine, ```cd``` into the `arm_kernel_install_guide` folder you just cloned.
244246

@@ -250,7 +252,7 @@ cd ~/arm_kernel_install_guide
250252
ubuntu@ip-172-31-110-110:~/arm_kernel_install_guide$
251253
```
252254

253-
2. Open the [Custom tags with *fastpath* enabled](http://localhost:1313/install-guides/kernel-build/#2-custom-tags-with-fastpath-enabled) section from the install guide, and follow the instructions to run the build script. It should be similar to the following (always refer to the above link for the latest command line):
255+
2. Open the [Custom tags with *fastpath* enabled](/learning-paths/servers-and-cloud-computing/kernel-build/how-to-3/#build-custom-tags-with-fastpath-enabled) section from the install guide, and follow the instructions to run the build script. It should be similar to the following (always refer to the above link for the latest command line):
254256

255257
```output
256258
$ ./scripts/kernel_build_and_install.sh --tags v6.18.1,v6.19-rc1 --fastpath true
@@ -273,7 +275,7 @@ I: build output in /home/ubuntu/kernels/6.19.0-rc1-ubuntu
273275
[2026-01-08 18:32:06] [v6.19-rc1-2] Build artifacts are located in /home/ubuntu/kernels/6.19.0-rc1-ubuntu+
274276
```
275277

276-
The script will now build two kernel images. This process may take some time -- on a `c8g.24xlarge` instance, expect approximately 30 minutes for both kernel builds to complete.
278+
The script will now build two kernel images. This process may take some time -- on a `m6g.12xlarge` instance, expect approximately 30 minutes for both kernel builds to complete.
277279

278280
4. Monitor the console output for the `BUILD COMPLETE` message.
279281

content/learning-paths/servers-and-cloud-computing/fastpath/fastpath_setup.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ The *fastpath* host will manage testing against the system under test (SUT) and
1515
The following steps involve launching an EC2 instance. You can perform all EC2 instance creation steps via the AWS Management Console instead or AWS CLI. For step-by-step instructions to bring up an EC2 instance via the console, consult the [Compute Service Provider learning path](/learning-paths/servers-and-cloud-computing/csp/) for detailed instructions. A tutorial from AWS is also available via [Get started with Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html).
1616
{{% /notice %}}
1717

18-
Create build host with the following specifications:
18+
Create Fastpath host with the following specifications:
1919

2020
1. **Name***fastpath-host*
2121
2. **Operating system***Ubuntu*
2222
3. **AMI***Ubuntu 24.04 LTS (Arm)*
2323
4. **Architecture***64-bit Arm*
24-
5. **Instance type**`c8g.24xlarge`
24+
5. **Instance type**`m6g.4xlarge`
2525
6. **Key pair***Select or create a key for SSH*
2626
7. **Security group***allow SSH inbound from your IP and cluster peers*
2727
8. **Storage***200 GB gp3*
@@ -34,7 +34,7 @@ Create build host with the following specifications:
3434
# Replace the placeholders with values from your account/environment
3535
aws ec2 run-instances \
3636
--image-id resolve:ssm:/aws/service/canonical/ubuntu/server/24.04/stable/current/arm64/hvm/ebs-gp3/ami-id \
37-
--instance-type c8g.4xlarge \
37+
--instance-type m6g.4xlarge \
3838
--key-name <KEY_PAIR_NAME> \
3939
--subnet-id <SUBNET_ID> \
4040
--security-group-ids <SECURITY_GROUP_ID> \
@@ -67,11 +67,10 @@ Parameters:
6767
Description: SSM parameter for the latest Ubuntu 24.04 LTS (Arm) AMI.
6868
InstanceType:
6969
Type: String
70-
Default: c8g.4xlarge
70+
Default: m6g.4xlarge
7171
AllowedValues:
72-
- c8g.4xlarge
73-
- c8g.8xlarge
74-
- c8g.12xlarge
72+
- m6g.4xlarge
73+
- m6g.8xlarge
7574
Description: Instance size for the Fastpath host.
7675
KeyPairName:
7776
Type: AWS::EC2::KeyPair::KeyName
@@ -165,9 +164,9 @@ When the instance reports a `running` state, note the public and private IP addr
165164

166165
Repeat the dependency installation process so the *fastpath* host has the same toolchain and helper scripts as the build machine.
167166

168-
1. SSH into the `c8g.4xlarge` *fastpath* host using the configured key pair.
167+
1. SSH into the `m6g.4xlarge` *fastpath* host using the configured key pair.
169168

170-
2. Open the [Install and Clone section](https://localhost:1313/install-guides/kernel-build/#install-and-clone) of the install guide from your workstation.
169+
2. Open the [Install and Clone section](/learning-paths/servers-and-cloud-computing/kernel-build/how-to-1/#install-required-dependencies) of the install guide from your workstation.
171170

172171
3. Run each command from that section on the *fastpath* machine. It should be similar to the following (always refer to the above link for the latest command line):
173172

@@ -230,7 +229,7 @@ After copying the artifacts from the build machine, stop (or terminate it) to av
230229
231230
232231
{{% notice Note %}}
233-
If you do decide to keep the machine around as a kernel copy host, you can modify it to a smaller instance type such as `c8g.4xlarge` to save on costs when its running. The larger 24xlarge instance is only needed during kernel compilation.
232+
If you do decide to keep the machine around as a kernel copy host, you can modify it to a smaller instance type such as `m6g.4xlarge` to save on costs when its running. The larger 12xlarge instance is only needed during kernel compilation.
234233
{{% /notice %}}
235234
236235
## Configure the Fastpath host

content/learning-paths/servers-and-cloud-computing/fastpath/generate_and_execute_plan.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cd ~/arm_kernel_install_guide
2222
./scripts/generate_plan.sh
2323
```
2424

25-
When complete, the script creates the plan, and provides a list of frequently performed tasks relative to the plan:
25+
When complete, the script creates the plan with an auto-generated name and provides a list of frequently performed tasks relative to the plan:
2626

2727
```output
2828
Enter SUT private IP: 172.31.100.19
@@ -33,17 +33,17 @@ Plan written to:
3333
/home/ubuntu/arm_kernel_install_guide/plans/fastpath_test_010826-1837.yaml
3434
3535
Run Fastpath with:
36-
fastpath plan exec --output results/ /home/ubuntu/arm_kernel_install_guide/plans/fastpath_test_010826-1837.yaml
36+
~/fastpath/fastpath/fastpath plan exec --output results/ /home/ubuntu/arm_kernel_install_guide/plans/fastpath_test_010826-1837.yaml
3737
3838
After Fastpath run completes, gather results with:
39-
fastpath result list results/ --object swprofile
39+
~/fastpath/fastpath/fastpath result list results/ --object swprofile
4040
4141
Relative results per kernel:
42-
fastpath result show results/ --swprofile fp_6.19.0-rc1-ubuntu --relative
43-
fastpath result show results/ --swprofile fp_6.18.1-ubuntu --relative
42+
~/fastpath/fastpath/fastpath result show results/ --swprofile fp_6.19.0-rc1-ubuntu --relative
43+
~/fastpath/fastpath/fastpath result show results/ --swprofile fp_6.18.1-ubuntu --relative
4444
4545
Comparison between kernels:
46-
fastpath result show results/ --swprofile fp_6.19.0-rc1-ubuntu --swprofile fp_6.18.1-ubuntu --relative
46+
~/fastpath/fastpath/fastpath result show results/ --swprofile fp_6.19.0-rc1-ubuntu --swprofile fp_6.18.1-ubuntu --relative
4747
```
4848

4949

content/learning-paths/servers-and-cloud-computing/fastpath/next-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You now have a working *fastpath* benchmarking environment consisting of:
1616
Continue exploring by revisiting the source documentation:
1717

1818
- [*fastpath* documentation](https://fastpath.docs.arm.com/en/latest/index.html) for advanced deployment models, additional benchmarks, and troubleshooting tips.
19-
- [Kernel Install Guide](/install-guides/kernel-build/) for deeper dives into kernel customization, *fastpath* tagging, and artifact management.
19+
- [Kernel Install Guide](/learning-paths/servers-and-cloud-computing/kernel-build/) for deeper dives into kernel customization, *fastpath* tagging, and artifact management.
2020
- [Tuxmake documentation](https://docs.tuxmake.org/en/latest/) to learn how to tailor build matrices, cross-compilation targets, and caching strategies that complement the *fastpath* workflow.
2121

2222
Extend this learning path by experimenting with new kernel patches, expanding the benchmark suite, or automating the instance lifecycle with Terraform.

content/learning-paths/servers-and-cloud-computing/fastpath/sut_setup.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ Now that kernels are built and the *fastpath* host is ready, it's time to set up
1111

1212
The System Under Test (SUT) is the target machine where *fastpath* installs your kernels, runs benchmarks on each kernel (one at a time) and when complete, compares and displays the results via *fastpath*.
1313

14-
Just like choosing the kernels to test, the instance type of the SUT depends on your use case. For this *fastpath* LP, we recommend a Graviton4 `c8g.12xlarge` instance with Ubuntu 24.04 LTS. This instance type provides a good balance of CPU and memory for a test benchmark.
14+
Just like choosing the kernels to test, the instance type of the SUT depends on your use case. For this *fastpath* LP, we recommend a Graviton `m6g.12xlarge` instance with Ubuntu 24.04 LTS. This instance type provides a good balance of CPU and memory for a test benchmark.
1515

1616
{{% notice Note %}}
1717
The following steps involve launching an EC2 instance. You can perform all EC2 instance creation steps via the AWS Management Console instead or AWS CLI. For step-by-step instructions to bring up an EC2 instance via the console, consult the [Compute Service Provider learning path](/learning-paths/servers-and-cloud-computing/csp/) for detailed instructions. A tutorial from AWS is also available via [Get started with Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html).
1818
{{% /notice %}}
1919

20-
Create build host with the following specifications:
20+
Create the SUT host with the following specifications:
2121

2222
1. **Name***fastpath-sut*
2323
2. **Operating system***Ubuntu*
2424
3. **AMI***Ubuntu 24.04 LTS (Arm)*
2525
4. **Architecture***64-bit Arm*
26-
5. **Instance type**`c8g.12xlarge`
26+
5. **Instance type**`m6g.12xlarge`
2727
6. **Key pair***Select or create a key for SSH*
2828
7. **Security group***allow SSH inbound from your IP and cluster peers*
2929
8. **Storage***200 GB gp3*
@@ -40,7 +40,7 @@ Choose whichever provisioning method is most convenient—the tabs below provide
4040
# Replace the placeholders with values from your account/environment
4141
aws ec2 run-instances \
4242
--image-id resolve:ssm:/aws/service/canonical/ubuntu/server/24.04/stable/current/arm64/hvm/ebs-gp3/ami-id \
43-
--instance-type c8g.12xlarge \
43+
--instance-type m6g.12xlarge \
4444
--key-name <KEY_PAIR_NAME> \
4545
--subnet-id <SUBNET_ID> \
4646
--security-group-ids <SECURITY_GROUP_ID> \
@@ -73,11 +73,11 @@ Parameters:
7373
Description: SSM parameter for the latest Ubuntu 24.04 LTS (Arm) AMI.
7474
InstanceType:
7575
Type: String
76-
Default: c8g.12xlarge
76+
Default: m6g.12xlarge
7777
AllowedValues:
78-
- c8g.8xlarge
79-
- c8g.12xlarge
80-
- c8g.16xlarge
78+
- m6g.8xlarge
79+
- m6g.12xlarge
80+
- m6g.16xlarge
8181
Description: Instance size for the SUT.
8282
KeyPairName:
8383
Type: AWS::EC2::KeyPair::KeyName
@@ -230,7 +230,7 @@ HW:
230230
architecture: aarch64
231231
cpu_count: 48
232232
...
233-
product_name: c8g.12xlarge
233+
product_name: m6g.12xlarge
234234
SW:
235235
kernel_name: 6.14.0-1018-aws
236236
userspace_name: Ubuntu 24.04.3 LTS

0 commit comments

Comments
 (0)