linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Freemyer <greg.freemyer@gmail.com>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Manish Katiyar <mkatiyar@gmail.com>,
	OHSM-DEV <ohsm-devel@lists.sourceforge.net>,
	kernelnewbies <kernelnewbies@nl.linux.org>,
	ext4 <linux-ext4@vger.kernel.org>
Subject: Re: [ANNOUNCE] Online Hierarchical Storage Manager (OHSM v1.2)
Date: Tue, 23 Feb 2010 08:32:32 -0500	[thread overview]
Message-ID: <87f94c371002230532r19924ed3wd3501b051cc1a7af@mail.gmail.com> (raw)
In-Reply-To: <878wakl8zj.fsf@openvz.org>

On Tue, Feb 23, 2010 at 2:14 AM, Dmitry Monakhov <dmonakhov@openvz.org> wrote:
> Manish Katiyar <mkatiyar@gmail.com> writes:
>
>> Hello all,
>>    We are pleased to announce the first official functional release of Online
>> Hierarchical Storage Manager (OHSM v1.2).  This is a RFC release and
>> not yet aimed at mainline inclusion.
>>
>> OHSM is a tool to manage and move data across various class of storage.
>> It can help users to selectively place and move data across tiers such
>> as SSD, Raid 10, Raid 6 based on the attributes of the data. OHSM
>> supports background movement of data
>> without any visible change in a files namespace to users and user applications.
> It does sounds like btrfs multy-device support. Can you please
> what it the differance?

Dmitry,

Per my understanding of btrfs multi-device, ohsm is totally different.

Btrfs multi-device I believe provides functionality similar to DM
(device mapper) and/or mdraid.

Ohsm is about cost effectively managing multiple storage tiers within
a single filesystem and leverages having DM and mdraid available to
build on, but makes no effort to duplicate their functionality.  DM in
particular is a mandatory part of a ohsm environment.

For example:

Assume I have an enterprise app that needs 10 TB of storage, but 90%
of the data is of limited use most of the time.  The other 10% is
heavily used and high performance is paramount.  The trouble is that
from time-to-time the designation of the 10% changes as business needs
change.  ie. Normally I really need database abc to be fast, but at
the end of the month I need database xyz to be as fast as possible.

One real world solution without OHSM is to create a SSD raid-1 that
holds the 10%, (1TB), and a SATA raid 6 that holds the less critical
90% (9TB).

Then, as just one example, if I need to accelerate a database for a
few days / weeks I simply move the database tables from the
low-performance file system to the high-performance file system.  And
I see my database speed drastically accelerate.

There are 2 big downsides to the above:

1) The full path name to the database tables will change as they are
moved between file systems, so it is a admin hassle to update
references to the tables as they move around.

2) The tables can not be in use as they are moved, so if I really am
moving a TB of data between sata and SSD that could take some number
of hours where I can't be actively using the files.  A definite
downtime issue.

Now with OHSM, we would build a DM logical volume composed of a sata
raid array and a ssd raid array.  Thus blocks 0-x would be on the sata
array and blocks x-end would be on SSD.

We would then use ohsm to manage which block range was used by the
various files.  The goal being that low-performance files would be
stored on sata devices and files needing high-performance would be
stored on SSD.

And as the performance needs of the files changed, the files could be
moved between the tiers.  The files blocks are moved via
ext4_ioc_move_ext() so the path'ing is not changed and the file can be
open and in use as it is moved.

In a sense we are performing a defrag action on the file where the
destination blocks of the file are in a different storage tier than
the original data blocks.

fyi: One of the ways we track desired storage tier for a file is via
subtrees, thus the interest of ohsm in your subtree implementation.

HTH
Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-02-23 13:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-23  5:48 [ANNOUNCE] Online Hierarchical Storage Manager (OHSM v1.2) Manish Katiyar
2010-02-23  7:14 ` Dmitry Monakhov
2010-02-23 13:32   ` Greg Freemyer [this message]
2010-02-23 14:27 ` Jan Kara
2010-02-23 14:49   ` Manish Katiyar

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=87f94c371002230532r19924ed3wd3501b051cc1a7af@mail.gmail.com \
    --to=greg.freemyer@gmail.com \
    --cc=dmonakhov@openvz.org \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=mkatiyar@gmail.com \
    --cc=ohsm-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).