Skip to content

Commit 80d4620

Browse files
committed
Add more information about deployment to make debugging easier
1 parent bc7d280 commit 80d4620

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

collector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Rust Compiler Performance Benchmarking and Profiling
22

33
Hardware and software details of the machine that executes the CI details can be found
4-
[here](../docs/perf-runner.md). A glossary of relevant terms can be found
4+
[here](../docs/deployment.md). A glossary of relevant terms can be found
55
[here](../docs/glossary.md).
66

77
## The benchmarks
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
# Benchmarking machine
2-
The machine that actually executes the benchmarks is the `AX-42` server running on [Hetzner](https://www.hetzner.com/dedicated-rootserver/). It has the following configuration.
1+
# Deployment
2+
3+
The machines that actually execute the benchmarks ("collectors") are dedicated machines running on [Hetzner](https://www.hetzner.com/dedicated-rootserver/). The [web server](http://perf.rust-lang.org/) runs on [ECS](https://github.com/rust-lang/infra-team/blob/HEAD/service-catalog/rustc-perf/README.md).
4+
5+
## Debugging
6+
This section documents what to do in case benchmarking doesn't work or something is stuck. The status of the collectors can be found on the [status page](https://perf.rust-lang.org/status.html). In particular, it shows the last heartbeat of each collector. If that date is very old (>1 hour), then something bad has probably happened with the collector.
7+
8+
You can SSH into the machines directly and examine what is going on there. The currently active machines have the following domain names:
9+
10+
- `rustc-perf-one.infra.rust-lang.org`
11+
- `rustc-perf-two.infra.rust-lang.org`
12+
13+
The benchmarking process runs as a systemd service called `collector`. You can start/stop/inspect it using the usual commands:
14+
- Start/restart/stop: `sudo systemctl start/restart/stop collector.service`
15+
- See logs: `sudo journalctl --utc -n 10000 -u collector -f`
16+
17+
The user account under which the benchmarks execute is called `collector`, you can switch to it using `su` and examine the `/home/collector/rustc-perf` checkout, from where are the benchmarks executed.
318

419
## Hardware
20+
- The collectors run on `AX-42` Hetzner server instances.
521
- 8-core AMD Ryzen 7 PRO 8700GE with HyperThreading (16 hardware threads total)
622
<details>
723
<summary>Output of `lscpu`</summary>

0 commit comments

Comments
 (0)