NOPerf · plugins for the Nuclear Option Linux dedicated server
What we learned about Nuclear Option’s server
We made a few small server jobs cheaper. We have not shown that the server as a whole runs faster, and we have not yet tested real players joining.
Newer Ryzen measurements: four scripted pilots, separate server/client CPU and memory, and the limits of the tests. Those headless UDP clients do not establish retail Steam or human-player compatibility.
Reading the charts: smaller bars mean less work for the server. “ms” means milliseconds. We timed the work in each simulation cycle, excluding waiting for the frame-rate limit. These numbers are not FPS.
What changed
Three optional plugins do small, often-repeated jobs with less effort. A fourth only measures. The aim is to keep the game’s choices unchanged.
- Find nearby units with less bookkeepingOn by default
- Reuse temporary wreck listsOff · experimental
- Check road points fasterOff · experimental
- Optional measurementOff
Did it make the server faster?
Not that we could show.
Zoomed in: the same two bars, showing only 0 to 0.1 ms.
Source: one hour-long Escalation mission, plugins off, no players, extra timing on.
We made this small task cheaper. The rest of the server still has work to do.
Bars run from 0 to 25 ms. Source: two hour-long Escalation missions, no players.
Lower means less work, but the two battles played out differently, so this cannot show whether the plugins helped or hurt.
Show the numbers
| Measurement | Value |
|---|---|
| Whole server, average per game frame (plugins off, timing hour) | 20.54 ms |
| Finding nearby units, same hour (includes everything it calls) | ≈ 0.031 ms |
| Comparison hour, all plugins off | 20.05 ms |
| Comparison hour, all three on | 21.68 ms |
| Last part of the hour, off / on | 38.80 / 37.15 ms |
What we saw when it slowed down
Time spent working per game frame. Bars run from 0 to 50 ms.
Early: about 1 physics update per frame
Late: about 3 physics updates per frame
Each box is one game frame; each dot is one physics update. Source: one hour-long Escalation mission, no players.
Late in the mission, the game did more physics updates in each frame. Each update also took more time. We have not yet found the cause.
Show the numbers
| Measurement | Early | Late |
|---|---|---|
| Work per game frame | 13.85 ms | 48.08 ms |
| Physics updates per frame | 1.05 | 3.37 |
| Physics time per update | 4.37 ms | 5.54 ms |
Early is reports 5–24; late is reports 105–119. Reports are about 30 seconds apart.
What we tested
- Passed: old and modded game code compared automaticallyEvery tested case gave the same result.
- Passed: real missions run and reloaded repeatedlyThe completed test runs passed their checks.
- Not yet: real players connectingPlayers install nothing, but joining has not been tried.
- Not yet: every change automatically runs the gameGitHub’s checks on each commit verify the docs and evidence files only, not the game.
Tests run inside the actual server. The overnight runs are finished; no game test is running now.