All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Zhang <mingz@ele.uri.edu>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Device Mapper as a cache for SAN?
Date: Tue, 11 Apr 2006 08:57:39 -0400	[thread overview]
Message-ID: <1144760259.26235.9.camel@localhost.localdomain> (raw)
In-Reply-To: <20060411105552.3f32c4ef.pegasus@nerv.eu.org>

On Tue, 2006-04-11 at 10:55 +0200, Jure Pečar wrote:
> On Mon, 10 Apr 2006 17:25:25 -0400
> Ming Zhang <mingz@ele.uri.edu> wrote:
> 
> > still, what is the main benefit of this cache? what u mean "local disk
> > page cache"? use "local disk" as page cache or page cache for "local
> > disk" or something else?
> 
> I recently did some tests with ext3 data journaling and discovered that
> large journals eat almost as much system memory as its size, which is a
> bit crazy. Some might argue that configuring 4gb journal is crazy too,
> but there are scenarios where this might be beneficial (think large
> mail servers with gazillion small writes, which journal turns into one
> big sequential write). So if something like external journal can be
> implemented in dm, fs-agnostic and not as memory hungry, I'd be very
> interested.

even u journal is a big sequential write, u data write are not. so the
combined performance will not have big difference. 

u mean u journal contain everything? including log and data? you might
want to ask ext3 list and ask them why take so many memory with a 4GB
journal. Also i think journal will write to disk very fast, so after
written to disk, the ram can be reclaimed.

also i do not see how a DM disk cache can help you on this.

ming

  reply	other threads:[~2006-04-11 12:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 17:58 Device Mapper as a cache for SAN? Eric Van Hensbergen
2006-04-10 18:45 ` Ed Wilts
2006-04-10 19:46   ` Eric Van Hensbergen
2006-04-10 21:25     ` Ming Zhang
2006-04-11  0:28       ` Eric Van Hensbergen
2006-04-11  0:35         ` Ming Zhang
2006-04-11  0:47           ` Eric Van Hensbergen
2006-04-11  0:50             ` Ming Zhang
2006-04-11  8:55       ` Jure Pečar
2006-04-11 12:57         ` Ming Zhang [this message]
2006-04-10 22:22     ` Artur Bergman

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=1144760259.26235.9.camel@localhost.localdomain \
    --to=mingz@ele.uri.edu \
    --cc=dm-devel@redhat.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.