From: Andrea Arcangeli <andrea@suse.de>
To: chris@scary.beasts.org
Cc: Linus Torvalds <torvalds@transmeta.com>,
Marcelo Tosatti <marcelo@conectiva.com.br>,
Paul Gortmaker <p_gortmaker@yahoo.com>,
linux-kernel@vger.kernel.org
Subject: Re: Making diff(1) of linux kernels faster
Date: Wed, 17 Oct 2001 23:30:17 +0200 [thread overview]
Message-ID: <20011017233017.G12055@athlon.random> (raw)
In-Reply-To: <20011017222108.C12055@athlon.random> <Pine.LNX.4.33.0110172220230.2072-100000@sphinx.mythic-beasts.com>
In-Reply-To: <Pine.LNX.4.33.0110172220230.2072-100000@sphinx.mythic-beasts.com>; from chris@scary.beasts.org on Wed, Oct 17, 2001 at 10:23:37PM +0100
On Wed, Oct 17, 2001 at 10:23:37PM +0100, chris@scary.beasts.org wrote:
>
> On Wed, 17 Oct 2001, Andrea Arcangeli wrote:
>
> > I think with directory readahead Marcelo meant a transparent kernel
> > heuristic in the readdir path. ext2_get_page is completly synchronous
> > and it's reading one page at time, that's bad but it can be improved
> > transparently to userspace, just like we do with the files, and also
> > like the old code was doing before the directory in pagecache IIRC.
>
> Do the -ac kernels have the directory in pagecache patch? If not, it could
yes, -ac has it too.
> explain why the -ac kernel performed _much_ better for the
> creat()/stat()/unlink() tests in bonnie++.
It can't explain that. But there was another optimization in -ac that
avoids restarting searching entries from the start of the directory. That
could make a relevant difference. It is included in mainline too starting
from 2.4.10.
Andrea
next prev parent reply other threads:[~2001-10-17 21:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-14 8:58 Making diff(1) of linux kernels faster Paul Gortmaker
2001-10-14 9:51 ` john slee
2001-10-14 15:48 ` Linus Torvalds
2001-10-17 12:25 ` Paul Gortmaker
2001-10-17 16:59 ` Linus Torvalds
2001-10-17 16:44 ` Marcelo Tosatti
2001-10-17 18:21 ` Linus Torvalds
2001-10-17 20:21 ` Andrea Arcangeli
2001-10-17 19:06 ` Marcelo Tosatti
2001-10-17 21:23 ` chris
2001-10-17 21:30 ` Andrea Arcangeli [this message]
2001-10-17 21:45 ` Linus Torvalds
2001-10-17 17:12 ` John Levon
2001-10-17 19:19 ` Benjamin LaHaise
2001-10-17 18:50 ` Andreas Schwab
-- strict thread matches above, loose matches on Subject: below --
2001-10-17 17:57 willy tarreau
2001-10-18 0:25 ` Horst von Brand
2001-10-18 8:02 ` Nick Craig-Wood
2001-10-18 9:55 ` Wojtek Pilorz
2001-10-18 11:18 ` vda
2001-10-18 12:39 Marco C. Mason
2001-10-18 14:48 Sean Neakums
2001-10-22 16:39 Andries.Brouwer
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=20011017233017.G12055@athlon.random \
--to=andrea@suse.de \
--cc=chris@scary.beasts.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=p_gortmaker@yahoo.com \
--cc=torvalds@transmeta.com \
/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