Re: Mercurial 0.3 vs git benchmarks

Ingo Molnar
2005-04-27T06:35:25Z

* Andrew Morton <akpm@osdl.org> wrote:

> Magnus Damm <magnus.damm@gmail.com> wrote:
> >
> > My primitive guess is that it was because
> > the ext3 journal became full.
>
> The default ext3 journal size is inappropriately small, btw. Normally
> you should manually make it 128M or so, rather than 32M. Unless you
> have a small amount of memory and/or a large number of filesystems, in
> which case there might be problems with pinned memory.
>
> Mounting as ext2 is a useful technique for determining whether the fs
> is getting in the way.

on ext3, when juggling patches and trees, the biggest performance boost
for me comes from adding noatime,nodiratime to the mount options in
/etc/fstab:

LABEL=/ / ext3 noatime,nodiratime,defaults 1 1

Ingo