linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Jones <paul@pauljones.id.au>
To: Tomasz Chmielewski <tch@virtall.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: RE: dedicated metadata drives?
Date: Wed, 9 Jan 2019 02:39:10 +0000	[thread overview]
Message-ID: <SYCPR01MB5086891E71B5CDBDED74CBD19E8B0@SYCPR01MB5086.ausprd01.prod.outlook.com> (raw)
In-Reply-To: <fcdfebdcb0e8d5fd291d08f844274212@virtall.com>

> -----Original Message-----
> From: linux-btrfs-owner@vger.kernel.org <linux-btrfs-
> owner@vger.kernel.org> On Behalf Of Tomasz Chmielewski
> Sent: Saturday, 5 January 2019 12:25 AM
> To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
> Subject: dedicated metadata drives?
> 
> According to btrfs wiki, some patches have been submitted to support
> metadata on different devices than data (i.e. metadata on SSD, data on
> HDD):
> 
> 
> https://btrfs.wiki.kernel.org/index.php/Project_ideas#Dedicated_metadata
> _drives
> 
>     Dedicated metadata drives
> 
>     Not claimed — submitted — Not in kernel yet
> 
>     We're able to split data and metadata IO very easily. Metadata tends to be
> dominated by seeks and for many applications it makes sense to put the
> metadata onto faster SSDs.
> 
> 
> 
> 
> This article (almost 2.5 years old) claims one company is already using either
> these patches or something similar:
> 
> https://lwn.net/Articles/698090/
> 
>     August 24, 2016
> 
>     To combat that, he has a set of patches to automatically put the Btrfs
> metadata on SSDs. The block layer provides information on whether the
> storage is rotational; for now, his patch assumes that if
>     it is not rotational then it is fast. The patch has made a huge difference in
> the latencies and requires less flash storage (e.g. 450GB for 40TB filesystem)
> for Facebook's file workload that
>     consists of a wide variety of file sizes.
> 
> 
> 
> Do these patches exist anywhere? I couldn't find them in the list archive.

I managed to find this suggestion about how it could be done:
https://patchwork.kernel.org/patch/9556973/

I would love to use this feature as well. My current setup uses btrfs on lvm with caching enabled, but I would prefer a simpler setup.

Paul.

  reply	other threads:[~2019-01-09  2:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04 13:25 dedicated metadata drives? Tomasz Chmielewski
2019-01-09  2:39 ` Paul Jones [this message]
2019-01-09 13:33   ` Eli V

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=SYCPR01MB5086891E71B5CDBDED74CBD19E8B0@SYCPR01MB5086.ausprd01.prod.outlook.com \
    --to=paul@pauljones.id.au \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=tch@virtall.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;
as well as URLs for NNTP newsgroup(s).