From: Jonathan Briggs <jbriggs@esoft.com>
To: Reiserfs mail-list <Reiserfs-List@namesys.com>
Subject: Re: external journal questions
Date: Fri, 24 Feb 2006 09:57:37 -0700 [thread overview]
Message-ID: <1140800258.14747.19.camel@localhost> (raw)
In-Reply-To: <20060224115816.7624e2a8.pegasus@nerv.eu.org>
[-- Attachment #1: Type: text/plain, Size: 2702 bytes --]
On Fri, 2006-02-24 at 11:58 +0100, Jure Pečar wrote:
> On Thu, 23 Feb 2006 04:21:46 -0600
> David Masover <ninja@slaphack.com> wrote:
>
> > Where can I find the paper on why this makes sense? Because offhand,
> > it doesn't, unless you're hoping that the majority of transactions
> > can be flushed on boot, rather than unrolled.
>
> Can't point you to any specific paper, but you can imagine running a
> large mailserver for hundreds of tousands of users. Plenty of
> small, random io, almost as much writes as reads. That's where ssd for
> journal makes sense.
>
> > I'm going to assume you aren't talking about v4, since this sounds
> > like a mission-critical production-style environment. As I
> > understand it, v4 has a completely different way of doing journaling.
>
> Right and right.
>
> > I'm replying to you, not because I actually have an answer for you,
> > but because your case seems interesting, and I'm curious how Reiser4
> > handles it.
>
> Check namesys.com on "wandering logs" :)
>
> > Problem is, I see nowhere for this to fit in the current model of
> > Reiser4. As I understand it, there is no concept of a separate
> > "journal" device, or of writing a file twice, because the vast
> > majority of writes are simply written out to disk in the new
> > location, and then the "commit" is updating the metadata to point to
> > the new location and free the old.
>
> I suppose this "wandering logs" concept is going to be much better that
> "journal file/device" concept ext3 uses, but right now it sounds like
> it needs some more optimization work.
>
> The cost here we all want to avoid is called seek time. Even today,
> it's still measured in miliseconds and that's a couple orders of
> magnitude more that gigaherzs cpus tick at. Reiser4 is on a good way to
> decrease this cost by spending some more cpu ticks, but because I need
> a solution "yesterday" (welcome to the real world ... or how they
> say:), I'm lookig for a more traditional approach, ssd journal.
It does sound like Reiser4 will have problems with the small email files
scenario. Each email file will be written out and immediately sync'd,
so R4 will not have any opportunity to build up its usual delayed
allocation and wandering log.
With an external journal on SSD, data journaling and Ext3 or Reiser3,
the small email files become very efficient because the journal writes
move in a simple linear pattern across the journal. fsync() can return
immediately once the data is in the journal and the file system can move
data from the journal to the actual disk at its own time.
--
Jonathan Briggs <jbriggs@esoft.com>
eSoft, Inc.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-02-24 16:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 15:04 external journal questions Jure Pečar
2006-02-21 17:07 ` Jeff Mahoney
2006-02-23 10:21 ` David Masover
2006-02-24 10:58 ` Jure Pečar
2006-02-24 16:57 ` Jonathan Briggs [this message]
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=1140800258.14747.19.camel@localhost \
--to=jbriggs@esoft.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.