All of lore.kernel.org
 help / color / mirror / Atom feed
From: d tbsky <tbskyd@gmail.com>
To: Peter Grandi <pg@mdraid.list.sabi.co.uk>
Cc: list Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: use ssd as write-journal or lvm-cache?
Date: Wed, 17 Feb 2021 21:50:09 +0800	[thread overview]
Message-ID: <CAC6SzH+ai5jD8ZQi2f-vTYjBGWDshXJVVm+xM9KZ3OCjk5Sz4g@mail.gmail.com> (raw)
In-Reply-To: <24620.56829.93946.65275@cyme.ty.sabi.co.uk>

Peter Grandi <pg@mdraid.list.sabi.co.uk>
> Also, the MDRAID write journal is usually (and should be) a lot
> smaller than a whole flash SSD unit, so you can use a small part
> of a flash SSD for write journaling and most of it for caching.

I thought journal write-back mode should use large ssd space,like
bcache which will prevent random write at all cost.
but reading the document again, it said "The flush conditions could be
free in-kernel memory cache space is low".  since the memory won't be
too large compare to normal ssd disk, maybe a small optane ssd is best
for mdadm write-journal.

  reply	other threads:[~2021-02-17 13:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17  3:27 use ssd as write-journal or lvm-cache? d tbsky
2021-02-17  6:09 ` Roman Mamedov
2021-02-17  8:45   ` Peter Grandi
2021-02-17 10:17     ` Roman Mamedov
2021-02-17  8:52   ` d tbsky
2021-02-17  9:12 ` Peter Grandi
2021-02-17 13:50   ` d tbsky [this message]
2021-02-17 20:50     ` Peter Grandi
2021-02-17 18:03   ` antlists

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=CAC6SzH+ai5jD8ZQi2f-vTYjBGWDshXJVVm+xM9KZ3OCjk5Sz4g@mail.gmail.com \
    --to=tbskyd@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=pg@mdraid.list.sabi.co.uk \
    /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.