Linux Format

Lag is killing games

Part Two!

Did you miss part one? See page 64 to get hold of it

Latency is the biggest problem affecting online games today, from the biggest AAA titles to the smallest of indie games. A problem is that most games programmers, while being experts at graphics and physics programming, know comparatively little about the internet and the black-box that’s commonly referred to as “net code”. This, in turn, leads to poorly optimised game servers that are incredibly susceptible to fluctuations in latency, being deployed on hosting providers that oversell the quality of their networks while vastly under-delivering.

In a 2021 study completed by Plaintextnerds on behalf of Gameye (a provider-agnostic managed game hosting solution), it was discovered that seven of the 11 hosting providers included in the study (including one owned by a games publisher) suffered from jitter so extreme that it hit the upper limit of the test at more than one second of peak latency. Which, needless to say, would result in a terrible online gaming experience.

Jitter and latency

So how do you go about fixing this? First, you need to understand a few fundamentals about the sources of jitter and latency. You’ll probably have read somewhere that the primary root cause of latency is distance, and while that statement is true, it’s

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related Books & Audiobooks