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

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

402 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. But is that a default usecase?
    Replies (1)
    1. well YES, even on desktop

      Many, many apps do "download to tmpfile then move to final location when finished", from browsers thru Steam to package managers.

      Replies (1)
      1. That's a metadata action and has nothing to do with rewriting the blocks of the file.
        Replies (1)
        1. that would be true if /tmp and the destination happen to be on the same filesystem, but I don't think that's a safe assumption. Especially if you are using tmpfs which stores /tmp in ram or swap.
          Replies (1)
          1. I'm not sure that changes anything about the analysis. (1) It's not like pages in tmpfs are dirty to be flushed anywhere. (2) Web browsers typically download to temporary files in ~/Downloads before renaming in place anyway, to avoid that exact cross-filesystem mv problem.