From: Andrew Morton <akpm@osdl.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Tilman Schmidt <tilman@imap.cc>,
linux-kernel@vger.kernel.org, Chris Mason <mason@suse.com>,
ext2-devel@lists.sourceforge.net, reiserfs-dev@namesys.com
Subject: Re: [2.6.18-rc7-mm1] slow boot
Date: Sun, 24 Sep 2006 15:41:49 -0700 [thread overview]
Message-ID: <20060924154149.6f8dc5b2.akpm@osdl.org> (raw)
In-Reply-To: <1159137402.11049.40.camel@localhost.localdomain>
On Sun, 24 Sep 2006 23:36:41 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> Ar Sul, 2006-09-24 am 14:53 -0700, ysgrifennodd Andrew Morton:
> > I've *never* seen any reports of any problems being caused by disk
> > writeback caching. Yes, it's a theoretical problem but for some reason it
> > just doesn't seem to be a problem in practice. Hence I'm really reluctant
> > to go and slow everyone's machines down so much in this manner.
>
> It happens in some cases, the usual one is sudden loss of power. In the
> crashed box cases the disk still gets to write data back and in the
> Linux power off sanely cases we explicitly cache flush. Its the sudden
> loss of power case that is nasty.
I don't know about reiserfs, but for ext3 writeback caching delays aren't a
problem per-se. It's write *reordering* which matters.
And given that the jounal tends to be a single contiguous hunk of disk, the
probability that a journal block at LBA #N gets written before the commit
block at LBA #N+20 is probably fairly low. There's block remapping of
course, but software journal wrapping might be a more likely cause of write
reordering.
And of course the time window is small - a few milliseconds per five
seconds, and not every five seconds at that.
Hand wavy, I know. But I wouldn't pay 15% throughput for it..
> We are also helped of course by the fact the cache is never more than
> can be flushed in about 7 seconds because of other-os features.
Well, as I say, the absolute value of any delay doesn't really matter,
except you'd lose an additional seven seconds worth of work. It's
write reordering which can damage the fs.
next prev parent reply other threads:[~2006-09-24 22:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-24 16:59 Tilman Schmidt
2006-09-24 19:22 ` Valdis.Kletnieks
2006-09-24 22:02 ` Tilman Schmidt
2006-09-24 21:53 ` Andrew Morton
2006-09-24 22:15 ` Tilman Schmidt
2006-09-24 22:36 ` Alan Cox
2006-09-24 22:41 ` Andrew Morton [this message]
2006-09-26 23:48 ` Tilman Schmidt
2006-09-27 0:21 ` Andrew Morton
2006-09-28 17:00 ` Tilman Schmidt
2006-09-28 17:12 ` Andi Kleen
2006-09-28 23:20 ` Tilman Schmidt
2006-09-28 23:30 ` Randy Dunlap
2006-09-29 0:15 ` Tilman Schmidt
2006-09-29 7:10 ` Jan Beulich
2006-09-29 16:12 ` Andi Kleen
2006-09-29 18:39 ` Ingo Molnar
2006-10-04 7:05 ` Jan Beulich
2006-09-29 8:49 ` Andi Kleen
2006-09-24 21:58 ` [2.6.18-mm1] slow boot (was: [2.6.18-rc7-mm1] slow boot) Tilman Schmidt
2006-09-25 12:09 ` [2.6.18-rc7-mm1] slow boot Alexander Gran
2006-10-25 18:14 ` Tilman Schmidt
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=20060924154149.6f8dc5b2.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ext2-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@suse.com \
--cc=reiserfs-dev@namesys.com \
--cc=tilman@imap.cc \
/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
Powered by JetHome