- When I was struggling to figure out why so many of my devices on my gigabit network were only getting 100 megabits, I learned that a lot more of my devices were on 10/100 ethernet than I expected. Including some recent purchases (TV's especially).
It took me a while because I assumed gigabit had been kind for far longer than it actually was in practice.
- Gigabit is more expensive, consumes more power, and generates more heat. If a device doesn't need the speed, 100M is a better choice.
Even the most high bitrate streaming services have peak bitrates under 80Mbps, with averages being much lower than that.
- TV stuff doesn't tend to need more than 100Mbps, unless you're playing blu-ray 4k discs which have higher peak rates. Saving a buck or two on the SoC adds up for the manufacturer.
- Even UHD Blu-Ray isn't likely to need sustained transfer rates over 100 Mbps. The spec allows transfer rates of about 128 Mbps, and some discs reportedly have momentary spikes above that, but I suspect the vast majority of titles would be playable over Fast Ethernet, especially if given a few seconds of buffer.
- It is so frustrating that this can bring down the rest of the network to the lowest common denominator. I know it is the fault of a cheap switch, not the TV, but still.
- > It is so frustrating that this can bring down the rest of the network to the lowest common denominator.
It shouldn't? I have 10M to 10G in the same ethernet collision domain everything works at appropriate speeds (my 10G hosts don't always hit 10G cause some of them have anemic cpus, but that's a different story). Most of my switches are cheap gigE switches, not the 10G stuff obviously, so cheap isn't the problem.
Only thing is if some equipment thought ethernet pause frames were a good idea... Send too much traffic to a low speed switch port and get a pause frame will tend to stop all outbound traffic which is not helpful. Not a lot of things send or respect pause frames though...
- Pause frames are wild. I have a cheap Legion Go dock and if I leave it with power/Ethernet connected and no legion in the dock, it brings down my whole network after about 30min or so.
- The only reason this would be the case is if you are using network hubs or some ancient early 200's network equipmemt.
- Buffer exhaustion can cause it to happen pretty quickly with some normal, non-contrived usage patterns. A 10G host sending large data to a 100M peer will cause all packets between all other peers to drop once switch memory is filled up. Ideally the switch is smarter about this, but cheap switches in the real world…
- And hubs like that wouldn't work with 1G anyway. (Apparently theoretically some versions of gigabit ethernet could work with hubs but it's not clear any were ever made)
- Totally. It's only inconvenient for a total rounding error of a customer who's trying to stream games from cloud or sunshine/moonlight, where it can cost up to 4ms of latency for higher bitrates.
- > had its receive buffers at the default 512, although it supported up to 4096. I increased them. I love an increased buffer.
Dave Täht is rolling in his grave
- Might also want to see: https://docs.pixeldrain.com/posts/2024-03-07_network_optimiz...
- Is there a similar diagnostic that can be run on a Playstation 5? I generally have good download speeds on my network but it seems to take forever to install games on my PS5.
- Take a pcap on your router while you're downloading things and it should be enlightening.
If you don't have a router you can capture pcaps with, setup a box with two nics, bridged, between your ps5 and your router and take pcaps on that.
I'd expect slow downloads to be either a pMTU problem (but I over index on that), the tcp window is too small, or the download server is far away/high latency. Too small window and far away download server combine to make it worse. Sibling's suggestion of adding a squid proxy likely helps because squid is highly likely to have large tcp windows. Other sibling's suggestion of disable ipv6 is likely to help if Sony didn't bother to do happy eyeballs and their ipv6 infrastructure chooses far away mirrors or is otherwise partially broken.
Could also be using a download server with high path loss, that would show up in the pcap as lots of out of order packets.
- If it's anything like the PS4, you might be able to fix this by running a HTTP proxy using Squid and configuring that on the PlayStation. There's something really funky about Sony's networking on them, and configuring a squid proxy for my PS4 vastly sped up my downloads.
I tried to find an article covering this but I've had no luck, so I'm just going off memory here, but I'm pretty certain that's all that was required.
- My guess would be that this has more to do with disk speed if your download speeds are decent. Especially if it’s wired to the internet rather than WiFi. It’s always easy to spot the console user in cross-platform lobbies because of the loading times.
- The write speed of the PS5 SSD is indeed quite bad but it's still way faster than gigabit ethernet, it can't be the bottleneck. It also can't be the bottleneck with load times, it still reads at 5000MB/s even though it writes at 1/10 that on a good day.
- Playstation's networking capabilities are an absolute mess.
In anticipation for GTA6 I actually bought a PS5 Pro 2 weeks ago. I had to create a separate IPv4-only network because it would not complete the user-sign-up on the device on my IPv4/IPv6 network.
Absolutely insane.
- Another example: PCIe ASPM exit latency. Fast LAN speed (because the card does not have time to go into sleep) but low internet speed (manages to enter ASPM if the host is at least 3ms away)
https://lore.kernel.org/intel-wired-lan/803760bf-04ff-4b23-8...
- Awesome writeup, thanks. I wasn't aware of iperf3 as a tool. This helped me confirm that the 10GbE lines I ran a while ago are in good shape.
I didn't need to change any NIC settings, but I'm on an X540 instead of an E610-XT2
- Recently I found my bilateral Bandwidth was limited from the switch to host. Turns out I didn’t plug the sfp+ all the way in. Amazing it worked at all
- > Turns out I didn’t plug the sfp+ all the way in.
I don't know why I know this but back in 2011 something not being plugged in all the way was the root reason why neutrinos were detected traveling faster than the speed of light.
"In March 2012 an LNGS seminar was held, confirming the fiber cable was not fully screwed in during data gathering"
https://en.wikipedia.org/wiki/2011_OPERA_faster-than-light_n...
- Always check the physical layer first!
- good old buffer packet size
anyone old enough from dialup modems and RS232 to remember the trick of replacing the 16450 UART with 16550 if you were lucky enough to have it on a socket instead of soldered?
that took it from a 1-byte buffer to 16-bytes, instant speed boost
same idea going from X-modem to Y-modem for transfers, 128bytes vs 1024bytes before checksum
surprised ethernet by now doesn't constantly try to negotiate larger buffer windows
- A lot of these drivers were written in a different era and the defaults are less appropriate now.
Having too few receive buffers leaves a trail in diagnostics (if you know to look for it!), having too many gives more subtle problems. But with 10G ethernet, you can get a lot of packets really quickly and the buffer default was probably set for a card doing 100M or 1G and the driver was updated to handle 10G without new defaults. Interrupt modulation is also common now, which is great for throughput, but means packets buffers will get more full.
I feel like segmentation offload is a nice idea, but weirdness always lurks in the shadows and I don't hesitate to turn it off if any weirdness appears. I haven't noticed a perf difference when I turn it off, but I also haven't run great tests.
- Took wayyyy too many hours of tech support to find someone that clued in that I had an 8250 uart. A surprisingly crappy piece of hardware on an 486. and that’s why my $$$ 33.6k performed like garbage until I bought a 16550 card.
I also only learned like 5 years ago that crossover cables are unnecessary nowadays. The 10mbit one I made with a bad soldering iron worked surprisingly well.
- I upgraded my entire home network to 10GBase-T earlier this year, and I get 10Gbps speeds everywhere, but I run Linux everywhere, except for a few Windows VMs, which also get 10Gbps. I think the TLDR for this article comes down to "Windows networking sucks", which everybody should already know anyway.
- Windows networking doesn't suck that much. Microsoft does do some good things with networking (they originated receive side scaling, which is really useful for high volume servers), this is just bad defaults and poor feedback.
Other OSes also suffer from bad defaults and poor feedback, so whatcha gonna do.
- > I think the TLDR for this article comes down to "Windows networking sucks", which everybody should already know anyway.
You can even safely remove the word "networking" from that sentence.