From: Damien Wyart <damien.wyart@free.fr>
To: David Chinner <dgc@sgi.com>
Cc: Christoph Hellwig <hch@infradead.org>,
Lachlan McIlroy <lachlan@sgi.com>, Peter Leckie <pleckie@sgi.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-xfs@oss.sgi.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Important regression with XFS update for 2.6.24-rc6
Date: Tue, 18 Dec 2007 15:30:31 +0100 [thread overview]
Message-ID: <877ijckrco.fsf@free.fr> (raw)
In-Reply-To: <20071218122445.GJ4396912@sgi.com> (David Chinner's message of "Tue, 18 Dec 2007 23:24:45 +1100")
* David Chinner <dgc@sgi.com> [071218 13:24]:
> Ok. I haven't noticed anything wrong with directories up to about
> 250,000 files in the last few days. The ls -l I just did on
> a directory with 15000 entries (btree format) used about 5MB of RAM.
> extent format directories appear to work fine as well (tested 500
> entries).
Ok, nice to know the problem is not so frequent.
> Can you:
> a) isolate the problem to one patch or the other. My guess
> would be the directory mod, but.....
Yes, it is indeed the directory patch. But even if I still sometimes get
huge memory usage with ls (using the patched kernel), this is quite
rare, and the problem is now mainly getting entries in the listing
repeated, and the ls process taking longer than without the patch. But
this is mainly after booting. I guess the cache plays a role and even
using drop_caches, I can't reproduce the problem. Only on fresh reboot
do I get it systematically, but much less often the memory problem. And
as said earlier, after fresh boot on rc5-git5 without the directory
patch, the ls -l goes normal (no repeated entries).
> b) show your working ;)
Sorry, I forgot this part in my initial report.
> - what platform (i386, x86_64, etc)
i386.
> - what debug options
Nothing special, the kernel has 4K stacks, and xfs partitions are
mounted with noatime,nodiratime.
> - commands and output that shows the problem
It is mainly "ls -l" in a quite crowded directory.
> - strace of ls -l going bad
> - xfs_info from filesystem in question
I have put the files at http://damien.wyart.free.fr/xfs/
strace_xfs_problem.1.gz and strace_xfs_problem.2.gz have been created
with the problematic kernel, and are quite bigger than
strace_xfs_problem.normal.gz, which has been created with the vanilla
rc5-git5. There is also xfs_info.
I can provide further details if needed (maybe kernel config, but
nothing special on the xfs side), but I confirm the behavior is
different with and without the directory patch
(041388b54ed95cd169546bd83bacd08ee32bd7ea on oss.sgi), and doesn't look
normal with the patch.
--
Damien Wyart
next prev parent reply other threads:[~2007-12-18 14:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 11:28 Important regression with XFS update for 2.6.24-rc6 Damien Wyart
2007-12-18 12:24 ` David Chinner
2007-12-18 14:30 ` Damien Wyart [this message]
2007-12-18 15:19 ` David Chinner
2007-12-19 10:45 ` David Chinner
2007-12-19 11:17 ` Damien Wyart
2007-12-19 11:31 ` David Chinner
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=877ijckrco.fsf@free.fr \
--to=damien.wyart@free.fr \
--cc=dgc@sgi.com \
--cc=hch@infradead.org \
--cc=lachlan@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@oss.sgi.com \
--cc=pleckie@sgi.com \
--cc=torvalds@linux-foundation.org \
/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