From: Chris Mason <mason@suse.com>
To: JP Howard <jh_lists@fastmail.fm>
Cc: Edward Shishkin <edward@namesys.com>,
Andreas Dilger <adilger@clusterfs.com>,
ReiserFS List <reiserfs-list@namesys.com>,
Oleg Drokin <green@namesys.com>
Subject: Re: External journals and NVRAM devices
Date: 04 Nov 2002 08:16:31 -0500 [thread overview]
Message-ID: <1036415792.14291.12.camel@tiny> (raw)
In-Reply-To: <20021101213703.D142A50D503@server5.fastmail.fm>
On Fri, 2002-11-01 at 16:37, JP Howard wrote:
> Apologies to all for my lack of reading comprehension. Yes, of course
> that shows 32M...
>
> When the 2.4.20 journal-size patches are out I'll try and do some
> benchmarking with larger journals on NVRAM devices. We use Cyrus IMAPd
> which is very fsync intensive, so I expect an NVRAM journal may make a
> big difference...
>
The data logging patches include a ton of reiserfs writeback changes
that allow good performance with small transactions (like mail server
workloads) and small log sizes.
With ext3, a 128M or bigger log can really improve performance because
so much of the writeback is done through bdflush/kupdate. With a bigger
log, it is much more likely things will already be written to the main
disk by the time you need to wrap around and reuse part of the log for a
new transaction. So a big log, and tuning bdflush to trigger writeback
quickly can really help ext3 performance.
(note, this gives ext3 some memory pressure advantages)
With data logging reiserfs a mail server will rarely need more than a
32MB log. A larger log can help when you've got a very full tree
(millions of files), since those transactions will be slightly larger,
or when you are doing fsyncs on big files.
Andrew Morton's synctest program is a pretty good tool for benchmarking
optimal transaction parameters.
-chris
next prev parent reply other threads:[~2002-11-04 13:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 21:37 External journals and NVRAM devices JP Howard
2002-11-04 13:16 ` Chris Mason [this message]
2002-11-05 21:23 ` reiser
2002-11-06 20:18 ` Andreas Dilger
2002-11-06 20:42 ` Chris Mason
-- strict thread matches above, loose matches on Subject: below --
2002-11-05 22:12 JP Howard
2002-11-01 20:38 JP Howard
2002-11-01 20:57 ` Valdis.Kletnieks
2002-11-01 21:57 ` Edward Shishkin
2002-11-01 21:58 ` Edward Shishkin
2002-11-01 7:29 JP Howard
2002-11-01 7:49 ` Serge Kolodeznyh
2002-11-01 15:33 ` Len Sorensen
2002-11-01 15:10 ` Edward Shishkin
2002-11-01 5:38 Jeremy Howard
2002-11-01 6:29 ` Andreas Dilger
2002-11-01 14:30 ` Edward Shishkin
2002-11-01 20:40 ` Hans Reiser
2002-11-01 21:45 ` Edward Shishkin
2002-11-01 20:41 ` Hans Reiser
2002-11-02 3:04 ` Andrew Clausen
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=1036415792.14291.12.camel@tiny \
--to=mason@suse.com \
--cc=adilger@clusterfs.com \
--cc=edward@namesys.com \
--cc=green@namesys.com \
--cc=jh_lists@fastmail.fm \
--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.