From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/1 RFC] read_policy type heuristic
Date: Thu, 21 Jul 2022 19:52:26 +0800 [thread overview]
Message-ID: <cover.1658401527.git.anand.jain@oracle.com> (raw)
POC patch proposes a read_policy type Heuristic to solve the problem of
poor read performance for the mirrored stripes on mixed device types.
Read_policy Heuristic has benefits of both pid and has no dependency on
block layer iostats. Instead, it uses statically defined device_type and
its latency.
This patch is a POC patch that has no performance analysis yet. I am
sending this to get some early feedback.
For the read_policy type Latency, please refer here [1]. The read_policy
type Latency works better overall, and it is self-tuning based on the IO.
[1]
https://lore.kernel.org/linux-btrfs/20210120123437.OVx7ybGaVfmOdZxtpp43qcB_ORHQQs5OzPSzr3ZUGbo@z/T/#u
Anand Jain (1):
btrfs: add read_policy heuristic
fs/btrfs/sysfs.c | 2 +-
fs/btrfs/volumes.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++
fs/btrfs/volumes.h | 2 ++
3 files changed, 55 insertions(+), 1 deletion(-)
--
2.33.1
next reply other threads:[~2022-07-21 11:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 11:52 Anand Jain [this message]
2022-07-21 11:52 ` [PATCH 1/1 RFC] btrfs: add read_policy heuristic Anand Jain
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=cover.1658401527.git.anand.jain@oracle.com \
--to=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/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.