From: Norbert Preining <preining@logic.at>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Eric Sandeen <sandeen@redhat.com>, Ted Ts'o <tytso@mit.edu>,
"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: Ext4 slow on links
Date: Thu, 21 Jun 2012 15:55:34 +0900 [thread overview]
Message-ID: <20120621065534.GA27665@gamma.logic.tuwien.ac.at> (raw)
In-Reply-To: <F2D9C6D0-92EC-46E1-B040-6E35F077E2E6@dilger.ca>
On Mi, 20 Jun 2012, Andreas Dilger wrote:
> That's what the LD_PRELOAD library that Eric referenced does - you can
> load it for any application, and it will sort the dirents in inode order.
Yes, hmm, I tried it without success.
I did:
export LD_PRELOAD=/path/to/spd_readdir.so
strace -o ... /usr/bin/texlua /usr/bin/mtxrun --generate
(the bad command) and I still see stats and getdents out of
inode order.
> It would definitely be better to do this in glibc, though we've also
> been discussing on occasion doing this inside ext4 for small directories.
I have now found the thread
Large directories and poor order correlation
from March 2011 on ext4-devel, interesting read.
Anyway, as far as I can see I cannot do much but
fsck -D
the filesystem and see if it gets better, right?
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
MARGATE (n.)
A margate is a particular kind of commissionaire who sees you every
day and is on cheerful Christian-name terms with you, then one day
refuses to let you in because you've forgotten your identify card.
--- Douglas Adams, The Meaning of Liff
next prev parent reply other threads:[~2012-06-21 6:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 0:20 Ext4 slow on links Norbert Preining
2012-06-20 2:19 ` Ted Ts'o
2012-06-20 3:38 ` Norbert Preining
2012-06-20 3:57 ` Eric Sandeen
2012-06-20 4:01 ` Norbert Preining
2012-06-20 5:18 ` Norbert Preining
2012-06-20 14:07 ` Eric Sandeen
2012-06-20 19:35 ` Eric Sandeen
2012-06-21 2:28 ` Norbert Preining
2012-06-21 4:05 ` Eric Sandeen
2012-06-21 4:50 ` Norbert Preining
2012-06-21 5:18 ` Andreas Dilger
2012-06-21 6:55 ` Norbert Preining [this message]
2012-06-22 9:53 ` Bernd Schubert
2012-06-22 14:08 ` Ted Ts'o
2012-06-20 3:15 ` Eric Sandeen
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=20120621065534.GA27665@gamma.logic.tuwien.ac.at \
--to=preining@logic.at \
--cc=adilger@dilger.ca \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).