• 2 Posts
  • 47 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle







  • I’m very confused by this thread.

    Progress bars are handled by the applications themselves, whether flushing happens or not;

    immediate flushing does not increase storage lifespan, in fact letting the OS decide when to do it may allow wear-leveling to work better.

    (Though, IMO immediate flushing should be the default for removable media on user-friendly distributions, like swap partitions are)








  • Disabling swap does not prevent disk I/O from becoming a problem under memory contention, it simply shifts the disk I/O thrashing from anonymous pages to file pages

    While the rest of that post matches my understanding of swap (I still think 1GB is next to useless in this case), that summarized point perplexes me.

    What non-special file(s) does the kernel write to and read from, and how does it know how much space to use?