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.

Watch how finding nearby units works

Did it make the server faster?

Not that we could show.

The task we improved is tiny next to the whole server’s work
Whole server, per game frame20.54 ms
Finding nearby units, per game frameabout 0.031 ms

Zoomed in: the same two bars, showing only 0 to 0.1 ms.

Whole server20.54 ms, far off this scale
Finding nearby unitsabout 0.031 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.

Time spent working per game frame, one hour each
All plugins off20.05 ms
All three plugins on21.68 ms

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
MeasurementValue
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 off20.05 ms
Comparison hour, all three on21.68 ms
Last part of the hour, off / on38.80 / 37.15 ms

What we saw when it slowed down

Same mission, same hour, plugins off: early versus late
Early in the mission13.85 ms
Late in the mission48.08 ms

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
MeasurementEarlyLate
Work per game frame13.85 ms48.08 ms
Physics updates per frame1.053.37
Physics time per update4.37 ms5.54 ms

Early is reports 5–24; late is reports 105–119. Reports are about 30 seconds apart.

What we tested

Tests run inside the actual server. The overnight runs are finished; no game test is running now.

Testing guide: what is tested, and what is not yet

Try it / read more