atime: indicates the time when a file is read for the last time. By default, the system updates atime and writes it to the file metadata each time a file is read or modified (needs to be read first). Because writes are expensive, reducing unnecessary writes can improve drive performance. The noatime mount attribute disables this mechanism and improves drive performance by reducing write operations.
A barrier is a method for ensuring the write ahead logging (WAL) of the log file system. When data is written to a drive, it should be written to the journal area first and then to the actual location of the drive. Drive vendors have built-in caches to speed up the drive write speed. Generally, data is written to the drive cache first. The barrier prevents data from being written after the barrier method is used. Data in the drive cache is completely written to the drive before the barrier method is used, ensuring the integrity of the file system. The nobarrier disables the barrier to improve drive performance. However, data recoverability may not be ensured when a storage device is powered off unexpectedly.