Skip to content

Commit b11c351

Browse files
codex review updates
1 parent b9b8302 commit b11c351

5 files changed

Lines changed: 15 additions & 17 deletions

File tree

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Deploy Gerrit on Google Cloud C4A
3-
description: Learn how to install and configure Gerrit on Google Cloud Axion C4A Arm64 instances and benchmark its performance
4-
5-
3+
description: Learn how to install and configure Gerrit on Google Cloud Axion C4A Arm64 instances and benchmark its performance
64
minutes_to_complete: 30
75

86
who_is_this_for: This is an introductory topic for developers deploying Gerrit in Arm Linux environments, specifically using Google Cloud C4A virtual machines (VM) powered by Axion processors.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/benchmarking.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,27 +123,27 @@ The benchmark gives a high-quality performance view: client latency, stepwise co
123123
CPU/memory/disk, and Gerrit-side JVM, GC, Jetty, cache, queue, Git, REST, NoteDB, and receive-commits metrics
124124
are all present:
125125

126-
![Gerrit Benchmark Summary alt-text #center](images/analysis.png "Gerrit Benchmark Summary")
126+
![Charts and graphs showing the Gerrit benchmark performance summary including operation counts, success rates, and latency metrics across the four 120-second test steps.#center](images/analysis.png "Gerrit Benchmark Summary")
127127

128128
Client-visible correctness is excellent: all 47,863 measured operations succeeded. REST query latency remains low
129129
with p99 69 ms. Clone is the dominant pressure point at p99 521 ms, and push remains sub-second at p99 288 ms:
130130

131-
![Client-side Operation Summary alt-text #center](images/client-summary.png "Client-side Operation Summary")
131+
![Performance metrics showing client-side operation summary with statistics for git_clone, git_push_refs_for, and rest_change_query operations, including latency percentiles and success rates.#center](images/client-summary.png "Client-side Operation Summary")
132132

133133
The useful capacity signal is the flattening throughput curve after step 2. CPU is already near saturation in step 2, then
134134
stays around 99% in steps 3 and 4. Latency continues rising: clone p99 increases from 221 ms in step 2 to 550 ms in
135135
step 4, while aggregate throughput only rises from 103.3 to 108.4 ops/sec:
136136

137-
![Stepwise Concurrency Behavior Summary alt-text #center](images/stepwise-summary.png "Stepwise Concurrency Behavior Summary")
137+
![Graph showing throughput and latency trends across four concurrency steps, demonstrating how performance degrades as concurrency increases and CPU approaches saturation.#center](images/stepwise-summary.png "Stepwise Concurrency Behavior Summary")
138138

139139
Host CPU pressure:
140140

141-
![CPU Pressure Summary alt-text #center](images/cpu-pressure.png "CPU Pressure Summary")
141+
![Chart displaying CPU usage metrics across the benchmark steps, showing how CPU pressure increases and stabilizes near saturation levels as concurrency increases.#center](images/cpu-pressure.png "CPU Pressure Summary")
142142

143143
Gerrit server-side correlation observations:
144144

145-
![Gerrit Server-side Correlation Findings alt-text #center](images/gerrit-correlation.png "Gerrit Server-side Correlation Findings")
145+
![Graph showing correlations between various Gerrit server-side metrics such as GC pressure, cache performance, and queue depths in relation to client request latency.#center](images/gerrit-correlation.png "Gerrit Server-side Correlation Findings")
146146

147147
Basic Server Metrics:
148148

149-
![Basic Additional Server Metrics alt-text #center](images/server-metrics.png "Basic Additional Server Metrics")
149+
![Server metrics dashboard showing host resource utilization metrics including memory, disk I/O, and other system-level performance indicators during the benchmark run.#center](images/server-metrics.png "Basic Additional Server Metrics")

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/firewall_setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To expose TCP port 8080 for Gerrit, start by creating a new firewall rule in Goo
2323

2424
You'll use this rule to allow incoming traffic on TCP port 8080, which is required for Gerrit access on your Arm-based VM.
2525

26-
![Google Cloud Console showing the Create firewall rule page with fields for Name set to allow-tcp-8080, Network dropdown, Direction set to Ingress, Action set to Allow, Targets set to Specified target tags with allow-tcp-8080 entered, and Source IPv4 ranges set to 0.0.0.0/0. The interface is clean and organized, focusing on configuring firewall settings for a virtual machine. The overall tone is neutral and instructional. alt-text#center](images/firewall-rule.png "Create a firewall rule")
26+
![Google Cloud Console showing the Create firewall rule page with Name set to allow-tcp-8080, Direction set to Ingress, Action set to Allow, Targets set to Specified target tags with allow-tcp-8080, and Source IPv4 ranges set to 0.0.0.0/0. These settings configure the firewall to allow incoming TCP traffic on port 8080 from any IPv4 address.#center](images/firewall-rule.png "Create a firewall rule")
2727

2828
- Set **Name** to `allow-tcp-8080`.
2929
- Select the network you want to use for your VM. The default is `autoscaling-net`, but your organization might use a different network.
@@ -34,7 +34,7 @@ You'll use this rule to allow incoming traffic on TCP port 8080, which is requir
3434

3535
This configuration allows incoming TCP traffic on port 8080 from any IPv4 address.
3636

37-
![Google Cloud Console interface displaying the Create firewall rule page. The main section shows fields for Name set to allow-tcp-8080, Network dropdown, Direction set to Ingress, Action set to Allow, Targets set to Specified target tags with allow-tcp-8080 entered, and Source IPv4 ranges set to 0.0.0.0/0. The environment is a clean, organized web dashboard focused on configuring firewall settings for a virtual machine. The tone is neutral and instructional. All visible text is transcribed in the description. alt-text #center](images/network-rule.png "Creating the TCP/8080 firewall rule")
37+
![Google Cloud Console showing the firewall rule configuration form with allow-tcp-8080 in the Name field, Ingress direction, Allow action, Specified target tags field with allow-tcp-8080, and Source IPv4 ranges set to 0.0.0.0/0. This configuration enables TCP port 8080 traffic for Gerrit access.#center](images/network-rule.png "Creating the TCP/8080 firewall rule")
3838

3939
## Specify protocols and ports
4040

@@ -47,6 +47,6 @@ Next, configure the protocols and ports for your firewall rule:
4747

4848
This step ensures that only TCP traffic on port 8080 is allowed through the firewall.
4949

50-
![Google Cloud Console showing the Protocols and ports section of the Create firewall rule page. The TCP checkbox is selected and the Ports field contains 8080. The interface is part of a clean, organized web dashboard for configuring firewall settings. Visible text includes Protocols and ports, Specified protocols and ports, TCP, and Ports 8080. The tone is neutral and instructional. alt-text#center](images/network-port.png "Specifying the TCP port to expose")
50+
![Google Cloud Console showing the Protocols and ports section with TCP checkbox selected and Ports field containing 8080. This ensures only TCP traffic on port 8080 is allowed through the firewall for Gerrit.#center](images/network-port.png "Specifying the TCP port to expose")
5151

5252
Your network firewall rule has now been created. You're ready to continue with VM creation.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ http://my_vm_public_ip_address:8080
7272

7373
You should see output similar to this:
7474

75-
![Gerrit Dashboard alt-text#center](images/gerrit-dashboard.png "Gerrit Dashboard")
75+
![Gerrit web console dashboard showing the main interface with navigation menu and project/change options available.#center](images/gerrit-dashboard.png "Gerrit Dashboard")
7676

7777
In the next section, basic performance testing of Gerrit will be performed.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/instance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To create a virtual machine based on the C4A instance type:
2424
- Set **Series** to `C4A`.
2525
- Select `c4a-standard-4` for machine type.
2626

27-
![Create a Google Axion C4A Arm virtual machine in the Google Cloud Console with c4a-standard-4 selected alt-text#center](images/gcp-vm.png "Creating a Google Axion C4A Arm virtual machine in Google Cloud Console")
27+
![Google Cloud Console interface showing the Create Instance page with Machine configuration section. Series is set to C4A and machine type shows c4a-standard-4 selected. The dialog displays configuration options for CPU, memory, and other VM settings.#center](images/gcp-vm.png "Creating a Google Axion C4A Arm virtual machine in Google Cloud Console")
2828

2929

3030
- Under **OS and Storage**, select **Change**. Choose an Arm64-based OS image. For this Learning Path, select **Ubuntu 24.04 LTS**.
@@ -33,17 +33,17 @@ To create a virtual machine based on the C4A instance type:
3333
- Under **Networking**, enable **Allow HTTP traffic** and **Allow HTTPS traffic**.
3434
- In the **Network tags** field, add `allow-tcp-8080` to allow Gerrit dashboard traffic.
3535

36-
![Screenshot showing the Google Cloud Console interface with the Networking tab open for a VM instance. The primary subject is the configuration of a firewall rule allowing TCP traffic on port 8080. The Network tags field contains allow-tcp-8080. The wider environment includes other VM configuration options and navigation menus. The tone is neutral and instructional. Visible text includes Network tags and allow-tcp-8080. alt-text#center](images/network-config.png "Adding the TCP/8080 firewall rule to our VM")
36+
![Google Cloud Console interface showing the Networking tab for VM instance configuration. The Network tags field displays allow-tcp-8080 to enable firewall rule for Gerrit dashboard traffic on port 8080. Other networking options and VM configuration controls are visible.#center](images/network-config.png "Adding the TCP/8080 firewall rule to our VM")
3737

3838
- Select **Create** to launch your VM instance.
3939
- After the VM is ready, you'll see an **SSH** button next to your instance in the VM list. The public IP address for your VM also appears here.
4040
- Copy the public IP address—you'll need it later to connect to Gerrit.
4141
- Select **SSH** to open a shell session directly in your browser.
4242

43-
![Screenshot showing the Google Cloud Console interface with the SSH option highlighted for a running VM instance. The primary subject is the SSH button next to the VM, indicating how to open a shell session in the browser. The wider environment includes the VM instance list, navigation menus, and status indicators. Visible text includes SSH and the public IP address for the VM. The tone is neutral and instructional. alt-text#center](images/gcp-pubip-ssh.png "Invoke a SSH session into your running VM instance")
43+
![Google Cloud Console showing the VM Instances list with a running VM instance. The SSH button is highlighted next to the instance entry, with the public IP address visible in the same row. This shows how to access the SSH terminal to connect to your Arm-based VM.#center](images/gcp-pubip-ssh.png "Invoke a SSH session into your running VM instance")
4444

4545
A window from your browser should come up and you should now see a shell into your VM instance:
4646

47-
![Screenshot of a terminal shell open in a browser window, displaying a command prompt for a SUSE Linux Enterprise Server VM instance on Google Cloud Platform. The primary subject is the active shell session, ready for user input. The wider environment includes browser interface elements and navigation menus. Visible text includes the command prompt and system information. The tone is neutral and instructional. alt-text#center](images/gcp-shell.png "Terminal shell in your VM instance")
47+
![Browser-based terminal window showing an active shell session on the Ubuntu VM instance. The command prompt is ready for input. This demonstrates successful connection to your C4A Arm virtual machine on Google Cloud.#center](images/gcp-shell.png "Terminal shell in your VM instance")
4848

4949
Next, let's install Gerrit!

0 commit comments

Comments
 (0)