Dostlar STUDIO / Archive / Server Diagnostics

Server Diagnostics

Measures the stutter · Server management

ShelvedFS25_ServerDiagnostics

Hunting the culprit on a stuttering server usually means switching mods off and on. This mod measures instead: how long each mod's update takes, which vehicle or placeable model is expensive, how much of the frame is script and how much is engine, how often network events and sync requests arrive. When a long frame happens, the stall catcher notes the most expensive call at that moment, the player count, the relation to a savegame write and whether the event is periodic. The mod is off by default and adds nothing to the game while off; you start a measurement from the console. The report is written as plain text into the settings folder.

Status: Shelved. Active development is paused for now, but the mod still gets an occasional update.

Features

What it does

  • Off by default. While off it installs no hooks and costs the game nothing.
  • Update time per mod: what each mod spends per frame, listed separately.
  • Update time per vehicle and placeable model, because the expensive thing is often a single model.
  • How much of the frame goes into the mission and server loop: is the problem in script or in the engine?
  • Network event and sync request counters.
  • Vehicle, pallet, bale and placeable counts per farm.
  • Stall catcher: for every long frame the most expensive call at that moment, the player count, the relation to a savegame write and periodicity detection.
  • The relation between player count and frame time: does it break under a crowd, or is it always there?
  • The report is written as plain text to modSettings/FS25_ServerDiagnostics/.
  • Console commands: sdStart, sdStop, sdReport, sdStatus. On a dedicated server a player logged in as admin drives the server-side measurement with them.

Works with

With our other mods

Works on its own. With these mods also installed, you get the following:

  • Discord Bridge v1.6.1.0 · Released

    The bridge's web panel gets a Diagnostics tab: start and stop a measurement from the browser, see the results in the snapshot, and view or download the report files.

  • Server Tuner v0.2.0.0 · Shelved

    Diagnostics finds which mod the load comes from and Server Tuner lightens it; Tuner's effect is measured with Diagnostics again.

Setup

How to use it

  1. Not released yet. The first measurements were taken on our main server and a measurement during peak hours is pending.
  2. On release the zip goes into the server's mods folder only; the measurement runs on the server side.
  3. Start with sdStart, finish with sdStop and take the report with sdReport. autoStart in the settings file can also begin at launch.