Linux Device Mapper development
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: dm-devel@redhat.com
Subject: Re: Huge memory allocation
Date: Thu, 03 Mar 2011 11:00:19 +0100	[thread overview]
Message-ID: <4D6F66B3.2050401@redhat.com> (raw)
In-Reply-To: <E04C10E329E0CD40816C9C17AE53BBD301863ED7@kit001.kaminario.local>

Dne 3.3.2011 09:58, Eli Malul napsal(a):
> I would like to accelerate read IO performance for user data which
> resides on one machine (with low IO performance due to slow media) and
> might be scattered on many different extents by mirroring these extents
> to another machine with much better IO performance and direct read
> requests to that machine (I already added a patch to the dm-raid1.c to
> set preferred read capability).
> 
> Any suggestions would be appreciated...

There were some projects like  dm cache and probably few others.
(http://visa.cis.fiu.edu/ming/dmcache/)
You will need to create a new dm target for the thing you try to achieve.
Handling this in userspace could only serve for prototype thing.

Structures in  libdm are not designed to work efficiently with millions of
extents passed to kernel through ioctl operation - this path isn't probably
the best one...

You may still want to check dm-replicator or drdb technology.

But it all depends on how do you plan to synchronize above the block level,
and how the write operation is supposed to handled.

Zdenek

      reply	other threads:[~2011-03-03 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 13:04 Huge memory allocation Eli Malul
2011-03-01 13:46 ` Alasdair G Kergon
2011-03-03  8:05   ` Eli Malul
2011-03-03  8:41     ` Zdenek Kabelac
2011-03-03  8:58       ` Eli Malul
2011-03-03 10:00         ` Zdenek Kabelac [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=4D6F66B3.2050401@redhat.com \
    --to=zkabelac@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox