Unofficial Hacker News companion — get notified on comment replies, and more.

Uncovering Hidden TCP Throttling in the Linux Kernel (opens external site)

401 points by josefinaspidlen 1 day ago | www.cdn77.com | 48 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. More of a meta comment, but I'm always grateful for these sort of network-related debugging blog posts. As a software eng who has a good grasp of networking at a conceptual layer, but has struggled to translate concept into concrete implementation in linux, I get a lot of value from these. Thank you to the author(s) for putting in the effort to write this up.
    Replies (3)
    1. Indeed this was such a pleasurable read (and very nicely written too). Absolutely agree, +1 :)
    2. Same here. Is there any good printed/printable resource on all of the state of the art protocol configurations? Like what can all be configured, how can stuff break? It seems there is a myriad of man pages, mailing lists with that arcane knowledge
      Replies (1)
      1. Brendan Greggs Systems Performance: Enterprise and the Cloud[0] gives a nice overview on available diagnostic tools in linux (like kprobe mentioned in TFA), and BPF Performance Tools[1] is a great introduction to eBPF tools (like bpftrace mentioned in TFA). His page Linux Performance[2] should be in everyone's bookmarks.

        The rest is reading through the well documented linux source code, with the help of a map[3] I guess.

        [0]: https://www.brendangregg.com/systems-performance-2nd-edition...

        [1]: https://www.brendangregg.com/bpf-performance-tools-book.html

        [2]: https://www.brendangregg.com/linuxperf.html

        [3]: https://makelinux.github.io/kernel/map/

    3. that's exactly the comment I wanted to give. I love to see people feel encouraged to go into such rabbit holes and also dare to spend time to describe it and share with the community!