1777
But my WiFi is just fine! (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] jaschen@lemm.ee 24 points 1 year ago

Latency is the name of the game if you're gaming. Copper will always give you the fastest ping times compared to the fastest wifi you can buy.

[-] quadropiss@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

The wifi latency on generic 5ghz routers is like 5ms if not less

[-] regbin_@lemmy.world 7 points 1 year ago

Not even 5 ms. I have a properly set up Wi-Fi at home and you'll feel no difference in gaming. Wi-Fi only adds like 1-2 ms latency at most.

[-] WindowsEnjoyer@sh.itjust.works 5 points 1 year ago

Unless you have no choice - a good WiFi will not add noticeable latency.

Myself I am playing over 5ghz wifi. I would say I don't feel much difference, but prefer cable any time!

[-] tfw_no_toiletpaper@feddit.de 3 points 1 year ago

Is the notebook or desktop wifi NIC and antenna important or only the router? Because when I had a shitty laptop a few years back the latency sucked ass, both at home and at my university (where I hope they had good network components but idk)

[-] MystikIncarnate@lemmy.ca 1 points 1 year ago

With wifi, everything is important, even the number of people connected on your channel... not the number of wifi networks on the channel, the number of total nodes using the same channel. The ap hardware factors in, your wifi card (client) factors in, even drivers and other things can factor in. The band (2.4/5/6 GHz), the non-wifi traffic, spurious emissions from other harmonic frequencies, even electrical noise from gadgets and other devices nearby. You can even factor in distance to the ap and cosmic background noise.

On top of that, it's half duplex, so only one node can successfully transmit at a time. So it interferes with itself.

It's a complete mess of unknowns and unknowable things, unless you have a very good spectrum analyser to look into it.

IMO, this is what makes WiFi so terrible. There's simply too many factors that can be slowing you down, most of which you can't see and aren't obvious.

[-] Aux@lemmy.world 5 points 1 year ago

WiFi 5 latency on a decent router (not the shit your ISP gives you for free) is only 0.6ms. Yes, that's less than 1ms.

[-] uis@lemmy.world 3 points 1 year ago

I just tested ping between my weak computers, one of which supports only 100mbit ethernet and are sequentially connected via cheap 2$ dumb switch and ISP-provided router and got 0.187ms average, while ping via same system, but using 802.11ac for one device got 8.16ms with standard deviation of 11.9, maximum of 67ms and minimum of 1.44ms.

[-] Aux@lemmy.world 0 points 1 year ago

You have a very shitty WiFi over there. I haven't seen anything over 1ms ever.

[-] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I just don't live on the moon, neighbours have WIFI too.

[-] Aux@lemmy.world 0 points 1 year ago
[-] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Ranges are crowded, a lot of interference.

[-] Aux@lemmy.world 0 points 1 year ago

Where? There's not much interference even in Soviet blocks. What are you talking about?

[-] uis@lemmy.world 1 points 1 year ago

Replying to you from soviet blocks. I see strong signal from 7 neighbours, including one HT40 network.

[-] Aux@lemmy.world 0 points 1 year ago
[-] uis@lemmy.world 0 points 1 year ago

Are you troll? Read context.

Ranges are crowded, a lot of interference.

[-] Aux@lemmy.world 0 points 1 year ago

No, you're a troll. Seven networks won't result in any interference even in the 2.4GHz range.

[-] uis@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

6*3+1*7 < 14(channels 1-13 are allowed in Russia). You can't lie to math.

[-] Aux@lemmy.world 0 points 1 year ago
[-] uis@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

There is simply not enough channels for more than 5 20MHz wifi networks. Channels 1, 4, 7, 10, 13. Then interference becomes a problem.

[-] Aux@lemmy.world -1 points 1 year ago

Having two networks max on the same frequency won't cause any interference.

[-] quadropiss@lemmy.world 2 points 1 year ago

Right. Like even in the shittiest scenario that's not a major difference. There's stuff like interference and the speeds are lower, sure, but 1 gigabit is plenty for non enterprise situations

[-] Aux@lemmy.world 1 points 1 year ago

There's no interference unless you live in a Soviet block.

[-] MystikIncarnate@lemmy.ca 0 points 1 year ago

Maybe....

your latency on your network might be 0.6ms, but for most practical use-cases, it will be orders of magnitude more. Partly due to the interference and half duplex nature of wifi, but also because of CSMA/CA (carrier sense multi access / collision avoidance) algorithm, which listens before transmitting to ensure the channel is clear, and waits when it's busy until it's clear before transmitting. The actual transit time for each frame is very short, but getting to the point where you can actually transmit is the main challenge for wifi.

Propegation time for a 1500 byte frame on gigabit Ethernet is approximately 12 µs, or 12 microseconds, aka 0.012 ms. So the argument is kind of squished here. Given that you have a dedicated channel to the switch (and not needing a carrier sense, collision avoidance of detection algorithm with ethernet) the frame can be immediately sent, so the total transit time from a computer connected by ethernet to a router or switch is orders of magnitude faster.

[-] Aux@lemmy.world 1 points 1 year ago

Here's the thing - it won't in real life.

[-] MystikIncarnate@lemmy.ca 1 points 1 year ago

This comment does not make sense to me

[-] MooseBoys@lemmy.world 3 points 1 year ago

Your experience varies massively depending on your RF environment. In my suburban neighborhood, I’m getting a stable 3.4ms to my router. The same hardware when I was in a dense urban environment was around 11ms. I’ve never looked at retry counters, but if I had to guess, I’m getting close to zero right now, but was getting considerably higher in a dense area.

[-] uis@lemmy.world 1 points 1 year ago

How would you get an entire 5g BTS without frequency regulating agency hunting your ass?

[-] quadropiss@lemmy.world 1 points 1 year ago

I meant to say 5ghz

[-] FordPrefect@startrek.website 4 points 1 year ago

Wireless has a lower minimum latency than wired, that's why trading houses set up relay towers from Chicago to NYC, in order to achieve the lowest possible latency for their trades between the two markets.

Wired gives better stability, due to almost zero interference noise. The primary cause of sucky WiFi speeds/stability, is having too many other people's routers nearby.

[-] randombullet@feddit.de 2 points 1 year ago

No shit?

I mean copper runs at 2/3 the speed of light.

Wireless is pretty much the speed of light.

I thought they used dedicated fiber for their links.

[-] MystikIncarnate@lemmy.ca 1 points 1 year ago

Ehhh... not quite. There's evidence that copper runs closer to the speed of light (aka c), than fiber. Light through glass runs at around 2/3 c, making it the slowest option.

Wireless technically runs as fast as light, through atmosphere that's a tiny bit slower than c, but as close as we can get.

There's also a large argument among physisicts and electrician YouTubers about the speed of electricity through a wire, and I don't understand the conclusions, though they were articulated quite well by the YouTubers, it just didn't stick in my brain. The premise is how fast a lightbulb would illuminate if it had one light-second of pure copper (or superconducting) wire between the power source and the bulb, with little to no resistance. It's interesting but nuanced and complex.

Wifi, being EM waves (same as light) should run the fastest, copper ethernet close behind and fiber dragging it's heels at 2/3rds c. However, in practical applications, wifi has more to overcome since it's a shared medium. Copper and fiber have a dedicated medium, so they have no competition in signaling, wifi needs to contend with everything from other wifi networks spurious emissions from other frequencies, even background cosmic radiation, as well as itself (half duplex). Because of all of that, you generally end up with wifi in last because it has so many protections and checks that it delays itself to ensure that it's transmission will be recieved intact. The packets are generally larger and take longer to get started, so all the additional (mostly artificial) slowdowns make it slower. However, if you use highly directional antennas, a pair of them, on different but otherwise equivalent frequencies for send/receive, and cut out a lot of the other factors by designing the system well, then disable most of the protections because they're not needed by design, it will be faster, at least in terms of latency, than fiber or copper in almost every case.

Since designing a multi-access system that doesn't need wifi's protections is borderline impossible, this is limited to very controlled point to point systems where both ends are tightly constrained.

So the argument "wifi has a lower minimum latency" is correct, but irrelevant in 99.99% of use-cases. Copper is easier and cheaper than fiber and actually runs faster, than fiber, but it's only viable for extremely short runs, up to 100m in most cases, and fiber, while "slow" at 2/3rds c, is better for longer distance since there's less line-loss across the glass per foot.

This is a very deep topic and I'm no physicist, but I've been endlessly fascinated by this issue for a very long time. The information here is the result of my research over many years. I still consider fiber to be the gold standard of data communication, ethernet to be next-best and overall best for relatively short connections, and wireless to be dead last due to all the challenges it faces that are not easily overcome.

[-] Aux@lemmy.world -2 points 1 year ago

WiFi 5 latency is only two times higher than cooper (0.3ms vs 0.6ms). WiFi 6 has the same or even lower latency. WiFi 7 is even better. If latency is your game, copper is a poor choice. Unless you have spare money for an industrial 100Gbps set up. Which you don't.

[-] uis@lemmy.world 3 points 1 year ago

Please speak standards, not marketing language. Replace WiFi and number with 802.11 and letters in the end.

If latency is your game, copper is a poor choice

One packet drop for TCP creates huge latency for application level protocol. And not many games use UDP for their transport.

[-] MooseBoys@lemmy.world 1 points 1 year ago

not many games use UDP for their transport

Citation Needed

I have never heard of a latency-sensitive game that doesn’t use UDP for inner loop communication. Sure they use TCP for login and server browser, but the actual communication for gameplay almost always uses UDP.

[-] uis@lemmy.world 1 points 1 year ago

Let's see... Terraria, Factorio, Minecraft.

[-] MooseBoys@lemmy.world 2 points 1 year ago

Minecraft and Terraria use both TCP and UDP, presumably in the way I described (TCP for initial connection, asset download, etc. and UDP for world state sync). Factorio uses UDP exclusively, and implements reliable transport where needed in software.

[-] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Oops, Factorio moved to UDP.

Can't find any UDP implementation or even UDP protocol description for Terraria, while there are implementations of Terraria protocol that use TCP and documentation for it. Basically no evidence of UDP and a lot of evidence of TCP for gameplay.

Minecraft uses only TCP. Sources: wiki.vg, myself, myself and friend of mine and myself again(no link for now, but two minecraft proxy server implementations)

[-] 2xsaiko@discuss.tchncs.de 1 points 1 year ago

Unless it’s changed in the past year which I doubt, Minecraft exclusively uses TCP for client/server communication. I’ve been modding the game for years and am pretty familiar with the protocol. I think it’s actually one of the few which don’t use UDP to some capacity.

[-] MooseBoys@lemmy.world 1 points 1 year ago

The original PC Java client uses TCP; every other client, including the C++ PC version, uses UDP.

[-] 2xsaiko@discuss.tchncs.de 1 points 1 year ago

Ah okay, didn’t know that does it differently since I’ve never touched it. Makes me wonder why they used UDP for it but didn’t use it in the Java protocol yet.

this post was submitted on 22 Sep 2023
1777 points (98.4% liked)

Lemmy Shitpost

26972 readers
3583 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS