Re: Mercurial 0.3 vs git benchmarks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 27 Apr 2005, Bill Davidsen wrote:
> 
> I said much the same in another post, but noatime is not always what I 
> really want.

"atime" is really nasty for a filesystem. I don't know if anybody noticed, 
but git already uses O_NOATIME to open all the object files, because if 
you don't do that, then just looking at a full kernel tree (which has more 
than a thousand subdirectories) will cause nasty IO patterns from just 
writing back "atime" information for the "tree" objects we looked up.

So you can do (and git does) selective atime updates. It just requires a 
small amount of extra care. 

> How about a "nojournalatime" option, so the atime would be 
> updated at open and close, but not journaled at any other time.

Probably a good idea. 

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux