Most active commenters
  • varenc(3)

←back to thread

2039 points Gadiguibou | 11 comments | | HN request time: 1.378s | source | bottom
1. 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 #
2. gargs ◴[] No.36492595[source]
It seems to grossly underestimate my upload bandwidth!
replies(3): >>36492833 #>>36495510 #>>36504080 #
3. audessuscest ◴[] No.36492833[source]
same
4. samstave ◴[] No.36495510[source]
What are you, a station wagon full of thumb drives?
5. zgluck ◴[] No.36497209[source]
I can't find any (official) documentation on how it measures the speed. Against which target?

Edit: Found https://www.macinstruct.com/tutorials/how-to-check-your-macs... which says:

"The networkquality tool uses Apple’s CDN (https://mensura.cdn-apple.com/api/v1/gm/config) as a target"

The contents of this file (for me):

  { "version": 1,
    "test_endpoint": "sesto4-edge-bx-021.aaplimg.com",
    "urls": {
        "small_https_download_url": "https://mensura.cdn-apple.com/api/v1/gm/small",
        "large_https_download_url": "https://mensura.cdn-apple.com/api/v1/gm/large",
        "https_upload_url": "https://mensura.cdn-apple.com/api/v1/gm/slurp",
        "small_download_url": "https://mensura.cdn-apple.com/api/v1/gm/small",
        "large_download_url": "https://mensura.cdn-apple.com/api/v1/gm/large",
        "upload_url": "https://mensura.cdn-apple.com/api/v1/gm/slurp"
     }
  }
replies(2): >>36499374 #>>36504104 #
6. Etheryte ◴[] No.36499374[source]
I find solace in the fact that even at large companies, there's still enough whimsy to name your upload endpoint slurp.
7. wlonkly ◴[] No.36499583[source]
There is also a CLI client for speedtest.net[1] and fast.com[2]! Not included with MacOS, of course, but nice to have around.

[1] https://www.speedtest.net/apps/cli

[2] https://github.com/sindresorhus/fast-cli

8. 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 #
9. varenc ◴[] No.36504104[source]
It’s a new proposed standard that’s gaining support. People are building alternative party implementations for it: https://github.com/network-quality/goresponsiveness

Try running it with `-s` to see if you get speed tests that resemble what you expect. The idea is that maxing out both links at once is a better measure of network quality than sequence speed tests. Also it’s new RTT metric is key.

10. gargs ◴[] No.36505106{3}[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 #
11. varenc ◴[] No.36515297{4}[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