Search the docs
Menu
Updated Edit on GitHub

Capacity test

Copy as Markdown

The capacity test is a load test. It opens simulated connections to the server's ID server and relay until the machine's CPU, memory or disk reaches 80 %, and gives the server a tier by the number of connections it handled. Open Server, then Capacity test; it is under Show 2 more in the sidebar. You need the Run capacity tests permission, which Super admin, Administrator and Server admin accounts have by default.

The Capacity test page before a first test, with the warning, Run capacity test and the tiers, full size

Run the test

The test loads the production server for up to 10 minutes, and devices may connect more slowly while it runs. Run it when few people use the server.

  1. Click Run capacity test and confirm.
  2. The page follows the test: measuring the server at rest, checking that the test can connect, then "Testing 40 connections…" and so on, with the load as it rises.
  3. Stop test ends it early. The result of the test before stays.

The test first measures the machine at rest for 10 seconds. Then every 5 seconds it adds 5 connections to the ID server and 3 relay sessions, each a pair of connections, until CPU, memory or disk reaches 80 %, 500 connections are open, more than 5 % of them fail, or 10 minutes are up. A disk that is already 75 % full at rest doesn't count. The test connects over the WebSocket ports of the ID server and the relay, 21118 and 21119 unless you moved them (see Ports and firewall). When it can't reach them, it estimates the result from CPU and memory at rest, and the result says so.

The result

Last result shows when the test ran, the number of connections, split into ID server connections and relay sessions, the tier, and CPU, memory and disk at the end. In Docker, CPU and memory can be the container's limits rather than the machine's. Download report (JSON) saves every step of the test.

Tier Connections A machine of about this size
Bronze 1 to 25 A small virtual server with 1 to 2 vCPU and 2 to 4 GB RAM
Iron 26 to 75 2 to 4 vCPU and 4 to 8 GB RAM
Platinum 76 to 200 4 to 8 vCPU and 8 to 16 GB RAM
Titanium 201 to 400 8 or more vCPU and 16 to 32 GB RAM
Obsidian 401 or more Dedicated hardware with 16 or more vCPU, at least 32 GB RAM and NVMe storage

The test measures the machine the console runs on, with the console and the server on it, from that machine. It doesn't measure your internet connection.

The badge on the sign-in page

After a test with a result, the sign-in page shows a small badge with the console's name and the tier. Anyone can read the same at /api/public/server-attestation.

Sign-in page badge, at the end of the page, changes what it says: Tooltip is the text shown when someone points at the badge, and the five name fields rename the tiers. Leave a field empty for the default. Save badge settings applies the change to the sign-in page at once.

The command line does the same with the commands under neodesk attestation.

Type to search pages, sections, commands and settings.