@
phuslu http://xfs.org/index.php/XFS_FAQ说没必要mount noatime。读的时候不记录atime是可以避免读的时候的写操作,但是写不一定是马上写到硬盘上的,应该对io的影响方面,关系不大吧。
不过如果只用作mongodb的文件系统,也确实没必要记录atime
引用:
The default atime behaviour is relatime, which has almost no overhead compared to noatime but still maintains sane atime values. All Linux filesystems use this as the default now (since around 2.6.30), but XFS has used relatime-like behaviour since 2006, so no-one should really need to ever use noatime on XFS for performance reasons.