From: Ash <ashrat@gmail.com>
To: Hans Reiser <reiser@namesys.com>
Cc: Will Smith <will@willsmith.org>, reiserfs-list@namesys.com
Subject: Re: ReiserFS post-crash issues
Date: Thu, 30 Sep 2004 14:48:19 +0530 [thread overview]
Message-ID: <e96ff120040930021831aa6d41@mail.gmail.com> (raw)
In-Reply-To: <41504435.9050604@namesys.com>
Hi,
Is there any mount / mkfs option which tunes this maximum transacation age ?
I didn't see anything in the man pages for reiserfstune or mkreiserfs
but maybe I missed something.
I saw a discussion in the list archives about a "commit" option in mount.
What is this about ? I don't see anything on it in the docs.
What options do I have, either at compile time or runtime, to tune transaction
commit values ?
Thanks,
Ash
On Tue, 21 Sep 2004 08:09:41 -0700, Hans Reiser <reiser@namesys.com> wrote:
> Will Smith wrote:
>
> > Sorry if the below is obvious...
> >
> > In reiser4, there's a parameter tmgr.atom_max_age which is the maximum
> > time an atomic operation (=transaction in database language, I believe)
> > can remain 'dirty' before being written to disk. It defaults to 600
> > seconds. I'd argue that's too high, it should be low for safety and
> > tunable up. Maybe I don't this properly, but I see very high dirty
> > values, remaining for minutes at at time, in /proc/meminfo when using
> > reiser4.
> >
> > In reiserfs, I'm not what the default is (but I see
> > JOURNAL_MAX_TRANS_AGE=30) in reiserfs_fs.h) or how it's tunable.
> >
> > In ext3, I belive the default is for the journal to be flushed after 5
> > seconds, and the data after 30 The ext3 limits also seem to be related
> > to the kernel parameters
> > vm.dirty_expire_centisecs = 3000
> > vm.dirty_writeback_centisecs = 500
> > (from /sbin/sysctl -a).
> >
> > Maybe if you are concerned about power failure events, you have to
> > sacrifice performance a bit with a lower flush interval for the journal
> > and/or data.
> >
> >
> > Will Smith
> >
> >
> >>
> >
> >
> >
> >
> >
> There is no right answer to that setting except to let the user control
> it. Developers doing compiles would want it as it is, as fsync takes
> care of their edits, and repeat compiles are significantly optimized by
> write caching of them.
>
next prev parent reply other threads:[~2004-09-30 9:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-21 8:32 ReiserFS post-crash issues Ash
2004-09-21 9:51 ` Will Smith
2004-09-21 15:09 ` Hans Reiser
2004-09-30 9:18 ` Ash [this message]
2004-09-21 15:01 ` Hans Reiser
2004-09-22 11:16 ` Ash
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=e96ff120040930021831aa6d41@mail.gmail.com \
--to=ashrat@gmail.com \
--cc=reiser@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=will@willsmith.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 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.