• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-2555
Back
1

Degradation Related to Vehicle Spawning and Persistence

VehiclesMultiplayerDesyncPerformanceModel / Texture ServerPersistence
1

State

Assigned
Issue key
DZG-2555
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
pyxarik
Created
Nov 5, 2026
Views
53
Platform
PC Steam
What happened?

We have identified a significant increase in dedicated server average tick time related to vehicle spawning and/or vehicle persistence loading.

Our server normally operates at approximately 15 ms average tick time when vehicle spawning is disabled.

However, enabling vehicle spawning causes a significant performance degradation:

  • Vehicle spawning disabled: approximately 15 ms.

  • Partial vehicle spawning: approximately 24 ms.

  • Full vehicle spawning: approximately 30 ms.

  • Full spawning with modded vehicles replacing vanilla vehicles (same quantity): approximately 30 ms.

The most interesting finding occurred during a separate test:

With vehicle spawning disabled, we manually spawned approximately 600 vehicles while the server was running. The average tick time remained stable at approximately 15 ms after 15-20 mins observation.

After restarting the server, the same vehicles were loaded from persistence, and the average tick time increased to approximately 31 ms.

This suggests that the performance issue may be related to vehicle initialization or restoration from persistence during server startup, rather than simply the number of vehicles present in the world.

We would like to investigate whether this behaviour is related to vehicle persistence, initialization, physics processing, terrain ? But at this step, we can't do anymore.

Reproduction steps
  1. Start a DayZ dedicated server with vehicle spawning disabled. (events)

  2. Measure the average server tick time (using CF Tools Cloud services to do that). Result: approximately 15 ms.

  3. Manually spawn approximately 600 vehicles all over the map (admin tools in game)

  4. Observe the server tick time while it is running. The average remains approximately 15 ms during 20mins observation

  5. Ensure that the vehicles are saved in server persistence. (storage_1)

  6. Stop and restart the server normally.

  7. Allow the server to fully initialize and restore the persisted vehicles.

  8. Measure the average server tick time again. Actual result: The average server tick time increases to approximately 31 ms after the restart.

Additional test:

  • Enable partial (1/2 +/-) vehicle spawning events : approximately 24 ms in first start, and restart.

  • Enable full vehicle spawning events : approximately 30 ms in first start, and restart.

  • Replace vanilla vehicles with modded vehicles while keeping the same spawn quantity: approximately 30 ms.

The performance degradation is therefore reproducible when vehicles are spawned through the economy system or restored from persistence after a server restart. No degradation in "in-game" spawn like admin tools or moded market system spawner. Only in "restoring persistance" and "initial events spawn".

Exact build version (optional)
—
Where did it happen?
Community
Is it modded?
Unknown
Expected result

In 1.29, to vanilla Chernarus map with events spawn system as "vanilla", we were running about 14 - 17 ms.

Reactions

Activity

    1 day ago
  • pyxarik
    created issue1 day ago
  • l909
    changed state to
    ASSIGNED
    about 15 hours ago

You are not signed in. Please sign in to see more details and to reply.

State

Assigned
Issue key
DZG-2555
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
pyxarik
Created
Nov 5, 2026
Views
53