Hacker News new | ask | show | jobs
by 1000100_1000101 22 days ago
You'd need your OS to support, and be configured to use, a disk mounting option that disables file access timestamps, otherwise reads ARE writes.
2 comments

Do any operating systems update file access time after every read operation instead of just at fopen?
Based on the ~10x performance gain from disabling access timestamps in VxWorks' HRFS, I'd guess it does. I have no idea if that's common or rare.
...and disable swap.