[Discuss] Reducing wear on SSD drives - worth the effort and, if so, how?

Rich Pieri richard.pieri at gmail.com
Thu Dec 1 17:03:57 EST 2022


On Thu, 1 Dec 2022 16:17:45 -0500
Shirley Márquez Dúlcey <mark at buttery.org> wrote:

> Current distros mitigate that by automatically switching to a
> modified version of atime for file systems located on an SSD; it only
> guarantees to show whether the access time is more recent than the
> most recent change.

Current distros that I usually work with (Ubuntu, Mint, RHEL, SLES) all
default to relatime regardless of underlying storage. Now you have to
explicitly change to atime if that's the behavior you want/need.

> The very rapid changes to log files can still be an issue in some use
> cases; again, write-behind caching lowers the impact of that, as the
> log might be updated multiple times before being written to disk.
> Systems with extreme workloads might benefit from using a
> battery-backed RAMdisk for the log files.

Using a file system designed for NAND flash (F2FS) can also help.

-- 
\m/ (--) \m/


More information about the Discuss mailing list