Re: Noatime vs relatime

From: Arjan van de Ven
Date: Fri Aug 10 2007 - 10:50:44 EST



On Fri, 2007-08-10 at 07:26 -0700, Vlad wrote:
> Linus Torvalds wrote:
> Relatime seems to be wasteful of both IO resources _and_ CPU cycles.
> Instead of performing a single IO operation (as atime does), relatime
> performs at least three IO operations and three CPU-dependent
> operations:


>
> 1) a read IO operation to find out the old atime
> 2) a read IO operation to find out the old ctime
> 3) a read IO operation to find out the old mtime

you've mistaken the concept of inode-in-memory... there is no IO
involved in any of these.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/