From: Norbert Preining <preining@logic.at>
To: Eric Sandeen <sandeen@redhat.com>
Cc: 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 13:50:04 +0900 [thread overview]
Message-ID: <20120621045004.GD18182@gamma.logic.tuwien.ac.at> (raw)
In-Reply-To: <4FE29DA7.40405@redhat.com>
Hi Eric,
wow, thanks again.
On Mi, 20 Jun 2012, Eric Sandeen wrote:
> Hm. Upstream coreutils fixed this for rm and some other ops:
Ok, I see.
> sorted took 2.6s, unsorted took 52s.
Got the idea, and tried it now myself not with ls etc, but
with the program that generates the caos, and yes, stracing it
gives the same result, getdents and the followed stats are all
*not* in inode order.
So that means, it should be fixed in glibc? Right? Ouuchhh...
That means that this behaviour is for *each* program using getdent
etc ...
Do you have any suggestions? Is there a way to force readdir (I guess
most people use readdir instead of getdents directly) to iterate
in inode order?
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
------------------------------------------------------------------------
PABBY (n.,vb.)
(Fencing term.) The play, or manoeuvre, where one swordsman leaps on
to the table and pulls the battleaxe off the wall.
--- Douglas Adams, The Meaning of Liff
next prev parent reply other threads:[~2012-06-21 4:50 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 [this message]
2012-06-21 5:18 ` Andreas Dilger
2012-06-21 6:55 ` Norbert Preining
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=20120621045004.GD18182@gamma.logic.tuwien.ac.at \
--to=preining@logic.at \
--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).