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

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

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

View full thread · View on Hacker News

Comment thread (2)

  1. Oh, this was excellent! And such a "duh! everything falls into place" with the components that in the end contributed to it.

    And how many impactful TODO's must have be in the kernel? I've run a naive `rg "TODO:" --stats -c` on the current mainline (7.4-rc5), and looks like there's opportunity!

        4501 matched lines
        2548 files contained matches
        97283 files searched
    
    (a bit more than 2.6% of files have at least one todo entry). Cutting it down, naively to only code withL `rg "TODO:" --stats -c -g "*.c"`

        3731 matched lines
        2093 files contained matches
        37790 files searched
    
    More than double, 5.5% of `.c` files have some todo...
    Replies (1)
    1. Amusingly this specific TODO was removed because TODOs are ending up the target for LLMs.

      https://github.com/torvalds/linux/commit/0041eef981cc55bb1f3...