Does ROCK use TRIM on USB SSDs?

Ther is no distro upon which ROCK is based. It’s a built-from-scratch system. First the compilers are built, then those compilers are used to build every byte running on the system from source. The bootup, the rootfs, and the typical process table looks very different from any other distribution.

We do not trim external drives at all.

We also do not trim the database partition on the m.2 SSD, nor do we mount with -o discard. These both lead to performance issues. One might think this degrades the lifespan of the built-in m.2 because the Roon database is often doing writes, but deletes are extremely uncommon due to how leveldb works. The rest of the OS runs out of RAM. The OS is heavily optimized to not touch the SSD in ways that cause wear.

4 Likes