←back to thread

2039 points Gadiguibou | 6 comments | | HN request time: 0.21s | source | bottom
Show context
Etheryte ◴[] No.36491866[source]
Neat, I was not aware of `networkQuality`. A good replacement for opening up Speedtest or whatnot when you just want to figure out if the network is slow or something else is up.
replies(3): >>36492595 #>>36497209 #>>36499583 #
1. gargs ◴[] No.36492595[source]
It seems to grossly underestimate my upload bandwidth!
replies(3): >>36492833 #>>36495510 #>>36504080 #
2. audessuscest ◴[] No.36492833[source]
same
3. samstave ◴[] No.36495510[source]
What are you, a station wagon full of thumb drives?
4. varenc ◴[] No.36504080[source]
It tests your bandwidth while fully saturating your upload AND your download. If maxing out your upload has a huge impact on your download (like, a 70% drop), then that’s probably a sign you could tweak your network for better flow control.

That’s sort of the idea of `networkQuality`. It’s a new idea for how to measure that’s different from the standard speed test.

Through if you run it with the `-s` flag it’ll test them sequentially.

replies(1): >>36505106 #
5. gargs ◴[] No.36505106[source]
In my case, it appears that maximizing my download has a huge impact on my upload as well, which makes sense from a TCP/IP point of view. In this case, do you mean the ISP's flow control?
replies(1): >>36515297 #
6. varenc ◴[] No.36515297{3}[source]
I'm sure others know waaay more about this, but I think it's a thing you can improve locally. Though usually I think of it as the other way around, where maxing out upload severely impacts download. My understanding is that this causes bufferbloat[0], making packets queue up for a long time on your gateway, ultimately limiting you to way less bandwidth then you should be able to get.

My one experience with this is on Ubiquiti hardware where there's a feature called "Smart Queues" you can enable. Really it's FQ_CODEL[1] under the hood. If you tell it your real maximum up/down bandwidth, minus ~5%, it'll enforce those limits in a way that prevents buffer bloat and lets you use nearly your full download bandwidth even when your upload bandwidth is maxed out. On Ubiquiti gear this has a CPU impact since it has move some traffic handling from dedicated hardware to the CPU. But it was a huge night and day difference for me. After enabling this, having a couple people on Zoom calls (highish upload) no longer tanked everyone else's download speed.

Also I think this stuff matters more when you have a large multi-user network. For normal home life, definitely not worth it. (In my case it was wifi for ~20 people).

[0] https://en.wikipedia.org/wiki/Bufferbloat [1] https://en.wikipedia.org/wiki/CoDel