You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/tune-network-workloads-on-bare-metal/1_setup.md
+40-37Lines changed: 40 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Tomcat benchmark set up
2
+
title: Set up Tomcat
3
3
weight: 2
4
4
5
5
### FIXED, DO NOT MODIFY
@@ -9,16 +9,16 @@ layout: learningpathall
9
9
10
10
## Overview
11
11
12
-
There are numerouse client-server and network-based workloads, and Tomcat is a typical example of such applications, which provide services via HTTP/HTTPS network requests.
12
+
There are numerous client-server and network-based workloads, with Tomcat being a typical example of such applications. Tomcat provides services via HTTP/HTTPS network requests.
13
13
14
-
In this section, you'll set up a benchmark environment using Apache Tomcat and `wrk2` to simulate HTTP load and evaluate performance on an Arm-based bare-metal (**__`Nvidia-Grace`__**).
14
+
In this section, you will set up a benchmark environment using `Apache Tomcat` and `wrk2` to simulate an HTTP load and evaluate performance on an Arm-based baremetal instance. This Learning Path was tested on an AWS `c8g.metal-48xl` instance.
15
15
16
-
## Set up the Tomcat benchmark server on **Nvidia Grace**
16
+
## Set up the Tomcat benchmark server
17
17
[Apache Tomcat](https://tomcat.apache.org/) is an open-source Java Servlet container that runs Java web applications, handles HTTP requests, and serves dynamic content. It supports technologies such as Servlet, JSP, and WebSocket.
18
18
19
19
## Install the Java Development Kit (JDK)
20
20
21
-
Install OpenJDK 21 on your Arm-based Ubuntu 24 bare-metal:
21
+
Install OpenJDK 21 on your Arm-based Ubuntu 24.04 bare-metal instance:
Using CATALINA_BASE: /home/ubuntu/apache-tomcat-11.0.9
70
-
Using CATALINA_HOME: /home/ubuntu/apache-tomcat-11.0.9
71
-
Using CATALINA_TMPDIR: /home/ubuntu/apache-tomcat-11.0.9/temp
72
+
Using CATALINA_BASE: /home/ubuntu/apache-tomcat-11.0.10
73
+
Using CATALINA_HOME: /home/ubuntu/apache-tomcat-11.0.10
74
+
Using CATALINA_TMPDIR: /home/ubuntu/apache-tomcat-11.0.10/temp
72
75
Using JRE_HOME: /usr
73
-
Using CLASSPATH: /home/ubuntu/apache-tomcat-11.0.9/bin/bootstrap.jar:/home/ubuntu/apache-tomcat-11.0.9/bin/tomcat-juli.jar
76
+
Using CLASSPATH: /home/ubuntu/apache-tomcat-11.0.10/bin/bootstrap.jar:/home/ubuntu/apache-tomcat-11.0.10/bin/tomcat-juli.jar
74
77
Using CATALINA_OPTS:
75
78
Tomcat started.
76
79
```
@@ -91,7 +94,7 @@ You should see the Tomcat welcome page and examples, as shown below:
91
94
[Wrk2](https://github.com/giltene/wrk2) is a high-performance HTTP benchmarking tool specialized in generating constant throughput loads and measuring latency percentiles for web services. `wrk2` is an enhanced version of `wrk` that provides accurate latency statistics under controlled request rates, ideal for performance testing of HTTP servers.
92
95
93
96
{{% notice Note %}}
94
-
Currently `wrk2` is only supported on x86 machines. Run the benchmark client steps below on an `x86_64` server running Ubuntu 24.
97
+
Currently `wrk2` is only supported on x86 machines. Run the benchmark client steps below on a bare metal `x86_64` server running Ubuntu 24.04
0 commit comments