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 (6)

  1. > The two-megabyte window was a hardcoded constant in the kernel version we were debugging, with a TODO: in the kernel asking it to scale with the machine size.

    That TODO was removed about a month ago but remains there in spirit.

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

    Replies (2)
    1. > There has been a steady stream of patches that have been submitted by newcomers to core mm 'fixing' this TODO, with all but the original having very likely been generated by LLMs.

      > It appears that TODOs to LLMs are like red rags to a bull.

      So... big open source projects are now forced to remove important TODOs from their code, because of vibe coders spamming patches for them?

      Every day, I discover a new way in which AI is killing open source.

      Replies (2)
      1. I understand the annoyance but at least from my experiences TODOs do have tendency to rot and be ignored for sometimes years; even before LLMplosion we stopped doing those because there is rarely someone that goes some day "lets fix that TODO"

        Roadmap or a ticketing system is far better place for it, I only use it in currently work in progress code to denote which part isn't implemented yet

        Replies (1)
        1. This is why I prefer FIXMEs limited to things that need immediate improvement. I try to resolve them in new code before the first commit and I periodically sweep for them in places where they remain in the repo.
      2. From the context of this HN post it seems like it was a TODO that should be fixed

        The structural issue is more that the threshold for getting the initial limit in when you first write the code is very low, the standard of evidence for changing it afterwards is very high because you don't want to make things worse for anyone

        The issue is more in how to communicate to all potential contributors (of which there are a lot more, now that llms promise an easier path to the still prestigious mark of "kernel contributor"). Improving on the current approach surely isn't hard, proving that your version is better is the hard part, and that has to be communicated

    2. > those who understand the code know what could be improved in future

      my god, they never learn, do they?

      it's ego and no true scotsman all the way down

      if they can't do it for memory management, they do it somewhere else