public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Richard Gooch <rgooch@ras.ucalgary.ca>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Stephen Tweedie <sct@redhat.com>
Subject: Re: Getting FS access events
Date: Wed, 23 May 2001 12:36:16 +0100	[thread overview]
Message-ID: <20010523123616.F27177@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0105142130480.23663-100000@penguin.transmeta.com> <200105180755.JAA23039@cave.bitwizard.nl>
In-Reply-To: <200105180755.JAA23039@cave.bitwizard.nl>; from R.E.Wolff@BitWizard.nl on Fri, May 18, 2001 at 09:55:14AM +0200

Hi,

On Fri, May 18, 2001 at 09:55:14AM +0200, Rogier Wolff wrote:

> The "boot quickly" was an example. "Load netscape quickly" on some
> systems is done by dd-ing the binary to /dev/null. 

This is one of the reasons why some filesystems use extent maps
instead of inode indirection trees.  The problem of caching the
metadata basically just goes away if your mapping information is a few
bytes saying "this file is an extent of a hundred block at offset FOO
followed by fifty blocks at offset BAR."

If the mapping metadata is _that_ compact, then your binaries are
almost guaranteed to be either mapped in the inode or in a single
mapping block, so the problem of seeking between indirect blocks
basically just goes away.  You still have to do things like prime the
inode/indirect cache before the first data access if you want
directory scans to go fast, and you still have to preload data pages
for readahead, of course.  

If the objective is "start netscape faster", then the cost of having
to do one synchronous IO to pull in a single indirect extent map block
is going to be negligible next to the other costs.

(Extent maps have their own problems, especially when it comes to
dealing with holes, but that's a different story...)

--Stephen

  reply	other threads:[~2001-05-23 12:06 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200105140117.f4E1HqN07362@vindaloo.ras.ucalgary.ca>
2001-05-14  1:32 ` Getting FS access events Linus Torvalds
2001-05-14  1:45   ` Larry McVoy
2001-05-14  2:39     ` Richard Gooch
2001-05-14  3:09       ` Rik van Riel
2001-05-14  4:27         ` Richard Gooch
2001-05-15  4:37       ` Chris Wedgwood
2001-05-23 11:37         ` Stephen C. Tweedie
2001-05-14  2:24   ` Richard Gooch
2001-05-14  4:46     ` Linus Torvalds
2001-05-14  5:15       ` Richard Gooch
2001-05-14 13:04         ` Daniel Phillips
2001-05-14 18:00           ` Andreas Dilger
2001-05-14 20:16         ` Linus Torvalds
2001-05-14 23:19           ` Richard Gooch
2001-05-15  0:42             ` Daniel Phillips
2001-05-15  4:00             ` Linus Torvalds
2001-05-15  4:35               ` Larry McVoy
2001-05-15  4:57                 ` David S. Miller
2001-05-15  5:12                   ` Alexander Viro
2001-05-15  9:10                   ` Alan Cox
2001-05-15  9:48                     ` Lars Brinkhoff
2001-05-15  9:54                       ` Alexander Viro
2001-05-15 20:17                         ` Kai Henningsen
2001-05-15 20:58                           ` Alexander Viro
2001-05-15 21:08                             ` Alexander Viro
2001-05-15  4:59                 ` Alexander Viro
2001-05-15 17:01                   ` Pavel Machek
2001-05-15  4:43               ` Linus Torvalds
2001-05-15  5:04                 ` Alexander Viro
2001-05-15  6:20                 ` Richard Gooch
2001-05-15  6:28                   ` Linus Torvalds
2001-05-15  6:49                     ` Richard Gooch
2001-05-15  6:57                       ` Alexander Viro
2001-05-15 10:33                         ` Daniel Phillips
2001-05-15 10:44                           ` Alexander Viro
2001-05-15 14:42                             ` Daniel Phillips
2001-05-15  7:13                       ` Linus Torvalds
2001-05-15  7:56                         ` Chris Wedgwood
2001-05-15  8:06                           ` Linus Torvalds
2001-05-15  8:33                             ` Alexander Viro
2001-05-15 10:27                               ` David Woodhouse
2001-05-15 16:00                               ` Chris Mason
2001-05-15 19:26                               ` H. Peter Anvin
2001-05-15 20:03                                 ` Alexander Viro
2001-05-15 20:07                                   ` H. Peter Anvin
2001-05-15 20:15                                     ` Alexander Viro
2001-05-15 20:17                                       ` H. Peter Anvin
2001-05-15 20:22                                         ` Alexander Viro
2001-05-15 20:26                                           ` H. Peter Anvin
2001-05-15 20:31                                             ` Alexander Viro
2001-05-15 21:12                                               ` Linus Torvalds
2001-05-15 21:22                                               ` H. Peter Anvin
2001-05-15 21:02                                           ` Linus Torvalds
2001-05-15 21:53                                             ` Jan Harkes
2001-05-19  5:26                             ` Chris Wedgwood
2001-05-15 10:04                       ` Anton Altaparmakov
2001-05-15 19:28                         ` H. Peter Anvin
2001-05-15 22:31                           ` Albert D. Cahalan
2001-05-15 22:35                             ` H. Peter Anvin
2001-05-16  1:17                             ` Anton Altaparmakov
2001-05-16  1:30                               ` H. Peter Anvin
2001-05-16  8:34                               ` Anton Altaparmakov
2001-05-16 16:27                                 ` H. Peter Anvin
2001-05-15 16:26                       ` Pavel Machek
2001-05-15 18:02                       ` Craig Milo Rogers
2001-05-15 16:17                 ` Pavel Machek
2001-05-19 19:39                   ` Linus Torvalds
2001-05-19 19:44                     ` Pavel Machek
2001-05-19 19:47                       ` Linus Torvalds
2001-05-23 11:29                         ` Stephen C. Tweedie
2001-05-20  4:30                     ` Chris Wedgwood
2001-05-20 19:47                       ` Alan Cox
2001-05-18  7:55                 ` Rogier Wolff
2001-05-23 11:36                   ` Stephen C. Tweedie [this message]
2001-05-15  6:13               ` Richard Gooch

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=20010523123616.F27177@redhat.com \
    --to=sct@redhat.com \
    --cc=R.E.Wolff@BitWizard.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rgooch@ras.ucalgary.ca \
    --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