How one KCDS server holds up
We load-tested one server on a VPS with 6 vCPUs and 16 GB with 250, 500, 750 and 1,000 players, and ran each count twice: everyone spread across the map, and everyone in one crowd. These are server numbers only.
All results
Spread across the map
Groups at eight villages 400 m apart, a fighting field, a road and a camp. How a normal server plays.
| Players | Near players (updates/s) | Update age p95 (ms) | Tick time p50 (ms) | Tick time p99 (ms) | Late ticks (%) | CPU (%) | Memory (MB) | Upload (Mbit/s) |
|---|---|---|---|---|---|---|---|---|
| 250 | 60 | 42 | 4 | 5.5 | 0.1 | 25 | 429 | 113 |
| 500 | 30 | 51 | 9.3 | 12.2 | 0.4 | 49 | 845 | 238 |
| 750 | 15 | 53 | 12.4 | 17.4 | 13.8 | 67 | 1318 | 346 |
| 1000 | 9 | 67 | 18.1 | 30.5 | 43.2 | 79 | 1596 | 382 |
One crowd
Everyone on one town square, 40 m across: a festival, a siege, a big event. Everyone sees everyone.
| Players | Near players (updates/s) | Update age p95 (ms) | Tick time p50 (ms) | Tick time p99 (ms) | Late ticks (%) | CPU (%) | Memory (MB) | Upload (Mbit/s) |
|---|---|---|---|---|---|---|---|---|
| 250 | 60 | 50 | 7.3 | 9.3 | 0.1 | 35 | 425 | 224 |
| 500 | 10 | 52 | 12 | 15.9 | 0.8 | 55 | 661 | 455 |
| 750 | 5 | 74 | 31.2 | 41.3 | 39.9 | 71 | 988 | 383 |
| 1000 | 5 | 110 | 52.2 | 80.7 | 25.4 | 71 | 1167 | 319 |
Smooth: fewer than 5 % of the server's ticks ran late. Busy: the median tick still fits its 16.7 ms. Strained: the median tick runs over, so players see others update less often.
How we tested
- Server: A VPS with 6 vCPUs and 16 GB, reproduced 1:1 in Docker: six CPUs held to twice the measured speed of a 6 vCPU AMD EPYC 7713 VPS (the copy was checked against that VPS at 750 players), and 16 GB of memory.
- KCDS build: KCDS 1.1.0 with its replication work, the dedicated server for Linux, no extra resources running
- Map: Trosecko
- Players: Test clients that walk, run, ride, fight, shoot, chat and talk on voice like players, on other CPUs of the same machine, with no internet in between
- Each run: 3 minutes per count spread out, 2 minutes per count in one crowd, after every player has joined. Every player joined: none failed, the slowest 5 % in under a second
- What we measure: Only the server: how often players see the people near them move, how old an update is when it arrives, the server's tick time and late ticks, CPU, memory and upload