[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120621065534.GA27665@gamma.logic.tuwien.ac.at>
Date: Thu, 21 Jun 2012 15:55:34 +0900
From: Norbert Preining <preining@...ic.at>
To: Andreas Dilger <adilger@...ger.ca>
Cc: Eric Sandeen <sandeen@...hat.com>, Ted Ts'o <tytso@....edu>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: Ext4 slow on links
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@...ist.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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists