Maximize dev box SSD performance / by Brian Lambert

Since my machine is dedicated to development use, I don't care about the last time a file or directory was accessed. Nor do I use any programs that do. So, in order to maximize performance, and keep it that way over time, I adjusted the mount options of my SSD system disk as follows:

  • noatime - Don't record last accessed time for files.
  • nodiratime - Don't record last accessed times for directories.
  • discard - Enable TRIM

Here are the adjusted mount options:

 Updated mount options for my SSD system disk.

Updated mount options for my SSD system disk.

Additionally, I want to store all my code on another disk that is mounted in the ~/Code directory so that I can rebuild my system any time I like without losing all my local git repositories.

To do this, I changed the mount options on my second SSD as follows:

 Updated mount options for my second SSD disk.

Updated mount options for my second SSD disk.

So, with these things done, my machine is set-up for optimal performance and resiliency in the case of something going wrong with my system disk or installation.

#eof