Some friends and I play on a LAN regularly, and the clients always get a lag spike that occurs every few minutes. From watching the stats, my latency is <20ms most of the time, sometimes single digits. The problem seems to be that the "buffer" falls to 0 and then the lag occurs until the buffer jumps back up. The buffer never seems to go over 10 though. FPS on all the clients and server never seems to drop below 60 even during this lag spike. I'm assuming the buffering level is based on the latency and so because mine is sometimes so low on a LAN it does not buffer enough.
Any idea what I might be able to do to fix this? Is it possible to force a bigger buffer?
[0.14-exp] Multiplayer lag even with low latency
Re: [0.14-exp] Multiplayer lag even with low latency
It might be the autosave
no yes yes no yes no yes yes
Re: [0.14-exp] Multiplayer lag even with low latency
Not unless the autosave happens at seemingly random intervals, sometimes every minute or so.
Having played several more hours on the LAN today, I think it's an issue with the buffer getting too small when latency drops below 20. This lag occurs whenever the latency gets in the single digits and the buffer gets to like 1 or 2. Then it drops to 0 until the latency goes back up over 20, at which point it buffers again. If the game is deciding how much to buffer based on latency then it needs a floor set on that value. There's no point in treating latency as anything less than about 50 anyway. This isn't a competitive FPS game.
Having played several more hours on the LAN today, I think it's an issue with the buffer getting too small when latency drops below 20. This lag occurs whenever the latency gets in the single digits and the buffer gets to like 1 or 2. Then it drops to 0 until the latency goes back up over 20, at which point it buffers again. If the game is deciding how much to buffer based on latency then it needs a floor set on that value. There's no point in treating latency as anything less than about 50 anyway. This isn't a competitive FPS game.
Re: [0.14-exp] Multiplayer lag even with low latency
can you upload a log?
no yes yes no yes no yes yes
Re: [0.14-exp] Multiplayer lag even with low latency
There was mention of trying to enforce a minimum latency in the server config file. I don't know if you can set a minimum buffer size from the game UI though.