#Expected Same-Machine Latency in CSP System

1 messages · Page 1 of 1 (latest)

slender wasp
#

Problem: When attacking with the non-authoritative player, there is a noticeable lag between local execution and server execution. I see about 100 ms with state interpolation and 40 ms without state interpolation.

I’m trying to confirm whether this is a normal amount of latency for two builds on the same machine. From what I’ve read, I think that most of this delay comes from the tick-based replicate/reconcile pipeline (tick processing latency) rather than the network.

Is ~40–100 ms of delay typical for same-machine, non-authoritative clients?

west trout
#

Definitely not.

slender wasp
#

Alright noted, thank you! I will do some research on common causes for latency.

slender wasp
# west trout Definitely not.

Out of curiosity is there an acceptable amount latency? How far behind should the server be compared to the non-authoritative client's attack? Close to 0ms?

west trout
#

5 at max

#

If you're that much over using some sort of rollback/reconciliation, you're overloading it and/or it's flawed to begin with

#

Hard to say without any details