From: Jeffrey Mahoney <jeffm@suse.com>
To: David Masover <ninja@slaphack.com>
Cc: "Pierre Etchemaïté" <petchema@concept-micro.com>,
reiserfs-list@namesys.com
Subject: Re: [PATCH] reiserfs: on-demand bitmap loading (testing only)
Date: Fri, 08 Jul 2005 00:52:52 -0400 [thread overview]
Message-ID: <42CE06A4.8070101@suse.com> (raw)
In-Reply-To: <42CDB7AC.8030408@slaphack.com>
David Masover wrote:
> Pierre Etchemaïté wrote:
>
>> Le Thu, 7 Jul 2005 13:59:35 -0400, studdugie <studdugie@gmail.com> a
>> écrit :
>>
>>
>>> I agree w/ Jeff 100%. I'm not a kernel hacker, simply a user. As a
>>> matter of fact, I was one of those people that Jeff aluded to when he
>>> said: "There have been reports of large filesystems taking an
>>> unacceptably long time to mount."
>>
>>
>>
>> That also makes reiserfs uncomfortable with automount devices, specially
>> if they're bandwidth limited like external USB or firewire disks...
>
>
> USB and firewire disks already take a little long to mount anyway.
>
> But, it is definitely a performance enhancement, or at least a tweak.
> I'd like to see it happen -- it takes 10-15 seconds to mount my 200 gig
> Reiser4 partition, which is unacceptabe for a desktop machine -- at
> least, for a *linux* desktop machine.
>
> To keep Hans happy about the "default case", can we load the bitmap in
> the background during boot/mount? Basically, if it's loaded on demand,
> then we pretend to demand each part of it, one by one. Would that
> considerably slow normal FS operation? Could we defer it to when the
> disk is idle? (*disk*, not FS)
Hi David -
The main issue I have with this is that I don't think bitmaps should be
treated specially. They are metadata, pure and simple. We don't treat
the s-tree specially with respect to caching and it is used regardless
of whether the operations performed on the filesystem are for reads or
writes.
The root block/node sees far more activity than any bitmap and it is not
treated any differently than any other bit of metadata. It's simply
requested when it is needed. If the vm has determined that the root
block is frequently used, it stays in memory. Why should the bitmaps be
any different?
It's possible to read the bitmaps in a "delayed" fashion, but the
problem of completely wasted resources is still not addressed. I feel
the correct solution is to let the buffer cache do its job and not
assume that any particular filesystem takes priority over other resources.
-Jeff
--
Jeff Mahoney
SuSE Labs
jeffm@suse.com
next prev parent reply other threads:[~2005-07-08 4:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 21:22 [PATCH] reiserfs: on-demand bitmap loading (testing only) Jeff Mahoney
2005-07-06 22:45 ` Hans Reiser
2005-07-07 16:04 ` Jeff Mahoney
2005-07-07 17:59 ` studdugie
2005-07-07 22:37 ` Pierre Etchemaïté
2005-07-07 23:15 ` David Masover
2005-07-08 4:52 ` Jeffrey Mahoney [this message]
2005-07-08 5:52 ` Stefan Traby
2005-07-08 16:55 ` David Masover
2005-07-08 21:41 ` Jeff Mahoney
2005-07-09 7:46 ` Hans Reiser
2005-07-08 5:35 ` Alexander Zarochentsev
2005-07-08 6:04 ` Stefan Traby
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=42CE06A4.8070101@suse.com \
--to=jeffm@suse.com \
--cc=ninja@slaphack.com \
--cc=petchema@concept-micro.com \
--cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.