304
submitted 10 months ago by OsrsNeedsF2P@lemmy.ml to c/linux@lemmy.ml
all 33 comments
sorted by: hot top controversial new old
[-] Aradia@lemmy.ml 43 points 10 months ago

Now, gamers will want to play on Linux for the low latency on online games.

[-] taladar@sh.itjust.works 44 points 10 months ago

Most low latency use cases in games use UDP, not TCP.

[-] pandacoder@lemmy.world 17 points 10 months ago

Unless it's a Java Minecraft server which I believe exclusively uses TCP still.

[-] Aradia@lemmy.ml 6 points 10 months ago

Yeah, that would make sense as opening TCP connections is not really viable for low latency, hahaha.

[-] taladar@sh.itjust.works 8 points 10 months ago

Opening the connections is one thing but resends and stream ordering can also cause issues since they might delay the latest information reaching the user space application even if the packet for them has actually arrived just because some earlier packet has not. There can also be issues with implementations waiting for enough data to be available before sending a packet.

[-] Atemu@lemmy.ml 3 points 10 months ago

Depends. There was that one F2P COD clone which used TCP and IIRC it did fine?

[-] icydefiance@lemm.ee 4 points 10 months ago

If your connection is stable, the latency will more or less be the same, but TCP will consume more bandwidth because of acknowledgement packets, making it harder to keep your connection stable.

On an unstable connection, TCP latency will skyrocket as it resends packets, while UDP will just drop those packets unless the game engine has its own way of resending them. Most engines have that, but they only do it for data that is marked as "important". For example using an item is important, but the position of your character probably isn't, because it'll be updated on the next tick anyway.

[-] WindowsEnjoyer@sh.itjust.works 5 points 10 months ago

Before that you have to download it. Well, using p2p mechanisms.

[-] Aradia@lemmy.ml 3 points 10 months ago* (last edited 10 months ago)

I always download my games before playing them. I don't know what you mean here.

[-] neurospice@lemmy.dbzer0.com 5 points 10 months ago

I think they mean peer to peer ^arrr^

[-] Aradia@lemmy.ml 1 points 10 months ago

But is that related to my comment? I don't understand why he's talking about downloading games via P2P.

[-] WindowsEnjoyer@sh.itjust.works 1 points 10 months ago
[-] Aradia@lemmy.ml 1 points 10 months ago
[-] WMTYRO@lemmy.world 1 points 10 months ago

Unfortunately, many games where people care about that lower latency tend to be competitive with some kind of anti-cheat that doesn’t mesh with Linux.

[-] YIj54yALOJxEsY20eU@lemm.ee 36 points 10 months ago

Somebody please temper my expectations because this seems like an absolute game changer.

[-] OsrsNeedsF2P@lemmy.ml 69 points 10 months ago* (last edited 10 months ago)

You're not a cloud server that needs to run this many concurrent connections (probably)

[-] Mubelotix@jlai.lu 21 points 10 months ago

Well I am, so that's exciting

[-] YIj54yALOJxEsY20eU@lemm.ee 9 points 10 months ago* (last edited 10 months ago)

No but my friend is cloud server with many concurrent connections and may want to hear the good news!

[-] KarnaSubarna@lemmy.ml 26 points 10 months ago* (last edited 10 months ago)

The test data on article is about server setup which is the right use case for this change.

Moreover the L3 cache on CPU is what makes significant difference, IMO.

If that is true, not sure how much improvement consumer-grade desktop will see, given that most consumer-grade CPU will not have that much L3 cache on chip.

[-] AlexJD@feddit.uk 17 points 10 months ago

AMD has been putting a lot of L3 cache on their consumer CPUs. The 5800X3D has 96mb of L3 cache.

[-] KarnaSubarna@lemmy.ml 5 points 10 months ago

Yes, that's true. Only if Intel follows the same in future.

On a separate note, 5800X3D seems to be most efficient (throughput/watt) consumer grade CPU out there right now.

[-] Atemu@lemmy.ml 7 points 10 months ago

On a separate note, 5800X3D seems to be most efficient (throughput/watt) consumer grade CPU out there right now.

Pretty sure the 7800x3D surpasses it and the 7950x3D is no slouch either.

[-] dai@lemmy.world 4 points 10 months ago

Man looking at my old 5960x with it's 20mb of cache from 2014, and Intel's current top consumer chip with 36mb.

Crazy to think Intel were 'ahead of the curve' so long ago, those x99 chips are still relevant compared to some AM4 chips.

[-] qupada@kbin.social 4 points 10 months ago

Their top-of-the-range Epyc 9684X has 1152MB :)

[-] KarnaSubarna@lemmy.ml 8 points 10 months ago

That's definitely a CPU for server (unless you are a general consumer with lots of $ 🙂 ).

[-] qupada@kbin.social 3 points 10 months ago

There definitely are vendors ignoring common sense and putting socket SP5 on desktop boards.

No argument about the price, I think list on these is something like $13k USD.

[-] autotldr@lemmings.world 18 points 10 months ago

This is the best summary I could come up with:


This effort has been around optimizing cacheline consumption and adding safeguards to ensure future changes don't regress.

In turn this optimizing of core networking structures is causing TCP performance with many concurrent connections to increase by as much as 40% or more!

This patch series attempts to reorganize the core networking stack variables to minimize cacheline consumption during the phase of data transfer.

Meanwhile new Ethernet driver hardware support in Linux 6.8 includes the Octeon CN10K devices, Broadcom 5760X P7, Qualcomm SM8550 SoC, and Texas Instrument DP83TG720S PHY.

NVIDIA Mellanox Ethernet data center switches can also now enjoy firmware updates without a reboot.

The full list of new networking patches for the Linux 6.8 kernel merge window can be found via today's pull request.


The original article contains 387 words, the summary contains 124 words. Saved 68%. I'm a bot and I'm open source!

this post was submitted on 10 Jan 2024
304 points (100.0% liked)

Linux

48182 readers
1674 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS