mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Nick Piggin <piggin@cyberone.com.au>
Cc: jacobs@penguin.theopalgroup.com, linux-kernel@vger.kernel.org
Subject: Re: Ext3 meta-data performance
Date: Fri, 30 May 2003 09:21:11 -0700	[thread overview]
Message-ID: <20030530092111.5bdadf5c.akpm@digeo.com> (raw)
In-Reply-To: <3ED772F5.8060100@cyberone.com.au>

Nick Piggin <piggin@cyberone.com.au> wrote:
>
> >
>  >I have some more time to experiment, so please let me know if there is
>  >anything else you think I should try.
>  >
>  Andrew might be able to suggest some worthwhile tests, if nothing
>  else, try mounting your filesystems as ext2, so you can get a
>  baseline figure.

So the workload is a `cp -Rl' of a 500,000 file tree?

Vast amounts of metadata.  ext2 will fly through that.  Poor old ext3 has
to write everything twice, and has to keep on doing seek-intensive
checkpointing when the journal fills.

When we get Andreas's "dont bother reading empty inode blocks" speedup
going it will help both filesystems quite a bit.

Increasing the journal size _may_ help.  `tune2fs -J size=400', or `mke2fs
-j J size=400'.

The Orlov allocator will help this workload significantly, but you have to
give it time to settle in: it uses different decisions for the placement of
directories on disk.  If the source directory of the copy was created by a
2.4 filesystem then we won't get any of that benefit.



  reply	other threads:[~2003-05-30 16:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-29 12:49 Kevin Jacobs
2003-05-29 13:04 ` Nick Piggin
2003-05-30 10:09   ` Kevin Jacobs
2003-05-30 15:04     ` Nick Piggin
2003-05-30 16:21       ` Andrew Morton [this message]
2003-05-30 17:44         ` Andreas Dilger
2003-06-04 16:57     ` Petro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030530092111.5bdadf5c.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=jacobs@penguin.theopalgroup.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piggin@cyberone.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®