On Sat, Sep 5, 2015 at 8:21 AM, Nikos Chantziaras <[email protected]> wrote:
> On 05/09/15 08:52, Dale wrote:
>>
>> tmpfs                   /var/tmp/portage tmpfs          noatime         0
>> 0
>
>
> Off-topic: forget "noatime". Use "lazytime" instead:
> https://lwn.net/Articles/621046

I don't really see the point in using either for tmpfs.  If the file
is read its inode is in RAM, and altering it costs just a few CPU
cycles.  On disk it makes a big difference though.

Also, I'd be careful about anything other than noatime on COW
filesystems like ZFS/btrfs.  Disk reads will consume disk space if you
have any snapshots, since you're modifying inodes.  lazytime does't
really do anything to fix this (I believe the intent is to update
atime ever 24 hrs as with relatime, but I don't know if this is
implemented yet).

-- 
Rich

Reply via email to