Comment by bitwize

1 day ago

This is the most useless thing I've seen on here lately. It's not necessary on hard drives, as the page cache did a decent job of improving disk access even in the 90s, let alone with today's fast HDDs. And if you're on an SSD... it'll just burn that out faster.

I love it!

Page caches are nice, but you would see meaningful reduction in load times for the OS and applications by getting data in order on spinning disks. Especially games that used most of your ram and loaded reasonably large level files.

fat seemed particularly prone to spreading files into very small chunks across the disk surface; it's not so big of a deal when fragmented files are made up of large contiguous chunks.

  • When I started Linux in the 90s, I remember looking for defrag utilities and finding none, but reading that defragging wasn't really necessary under ext2, because the page cache smoothed things out and/or the fs was to some degree self-maintaining. The same with NTFS. DOS file systems needed regular defragging, of course, because they were kind of garbo anyway. But coming across a real filesystem blew my mind at the time.

yeah, this will definitely shorten the lifetime of an nvme.

but check my other comments, it makes a difference, even on a slow nvme. Probably the overhead of the wasted small extent, and maybe prefetching?