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.

PlayersNear players (updates/s)Update age p95 (ms)Tick time p50 (ms)Tick time p99 (ms)Late ticks (%)CPU (%)Memory (MB)Upload (Mbit/s)
250604245.50.125429113
50030519.312.20.449845238
750155312.417.413.8671318346
100096718.130.543.2791596382

One crowd

Everyone on one town square, 40 m across: a festival, a siege, a big event. Everyone sees everyone.

PlayersNear players (updates/s)Update age p95 (ms)Tick time p50 (ms)Tick time p99 (ms)Late ticks (%)CPU (%)Memory (MB)Upload (Mbit/s)
25060507.39.30.135425224
50010521215.90.855661455
75057431.241.339.971988383
1000511052.280.725.4711167319

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