From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] jbd2 keeps spinning my disk up
Date: Sun, 31 Jul 2011 17:29:44 -0400 [thread overview]
Message-ID: <CA+czFiCFRu74nsP8zuuh9DnEEY2_MZxM-uRNYcmYpLNWdJkr6A@mail.gmail.com> (raw)
In-Reply-To: <201107311839.21845.peter@humphrey.ukfsn.org>
On Sun, Jul 31, 2011 at 1:39 PM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
> On Sunday 31 July 2011 17:05:39 Michael Mol wrote:
>
>> However, if it's doing that, then it probably has something it needs to
>> write to disk. That might be metadata updates.
>
> What, at least once a minute? While the system's idling, waiting for
> something to do? Doesn't sound likely to me.
>
>> Have you tried adding things to your mount parameters like 'noatime' or
>> 'relatime'?
>
> I've been specifying 'noatime' on all partitions for several years now; it's
> automatic behaviour on my part.
>
>> What about "data=writeback"?
>
> I don't like the sound of the warning in the man page.
>
> Thanks for the ideas. So far I'm inclining to the reformatting I mentioned.
Here's what I think is happening:
ext3/ext4 is not going to arbitrarily poll writes to disk without
there being something to write. Some program, somewhere on your system
is doing something that involves modifying a file. Any filesystem that
provides guarantees about disk integrity is going to get that data to
a physically persistent state ASAP. That's why we have journaled
filesystems in the first place: to speed that up.
So, with the same application and configuration set, you're going to
see the same behavior on any filesystem which provides such
guarantees.
You're perfectly welcome to reformat if you're so inclined; it really
sounds like you're simply more comfortable (or more interested in)
reiserfs. If you perceive that that solve your problem, great--but I
don't think that would really solve the underlying technical issue.
What you really want to do is find some way to log what's actually
driving the data writes. If it were a particular app, it'd be as
simple as launching the app via strace and analyzing the output. I
don't know how one would do that system-wide, though. Perhaps someone
else might have ideas.
--
:wq
next prev parent reply other threads:[~2011-07-31 21:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 15:50 [gentoo-user] jbd2 keeps spinning my disk up Peter Humphrey
2011-07-31 16:05 ` Michael Mol
2011-07-31 17:39 ` Peter Humphrey
2011-07-31 18:26 ` Alan McKinnon
2011-07-31 21:29 ` Michael Mol [this message]
2011-07-31 21:40 ` Florian Philipp
2011-08-01 15:36 ` Peter Humphrey
2011-08-01 18:33 ` [gentoo-user] " James
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=CA+czFiCFRu74nsP8zuuh9DnEEY2_MZxM-uRNYcmYpLNWdJkr6A@mail.gmail.com \
--to=mikemol@gmail.com \
--cc=gentoo-user@lists.gentoo.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