From: Matthew Sakai <msakai@redhat.com>
To: dm-devel@lists.linux.dev
Cc: Ken Raeburn <raeburn@redhat.com>, Matthew Sakai <msakai@redhat.com>
Subject: [PATCH 0/4] dm vdo: reduce reference count load time
Date: Fri, 31 Jan 2025 21:18:02 -0500 [thread overview]
Message-ID: <cover.1738375023.git.msakai@redhat.com> (raw)
A vdo device loads all reference count values at startup, reading
entire spans of up to a few MB at a time. Use a small number of large
vios instead of a big flurry of 4kB vios to read this data more
efficiently.
On our test systems (KVM virtual machines with 6 Intel Icelake cores
and 16 GB RAM, simulating ~34 TB of physical storage through some
device-mapper hackery), using the larger vios cuts the vdo startup
time by 15-30%. Installations with smaller or very fast storage may
see less benefit.
Ken Raeburn (4):
dm vdo vio-pool: add a pool pointer to pooled_vio
dm vdo vio-pool: support pools with multiple data blocks per vio
dm vdo vio-pool: allow variable-sized metadata vios
dm vdo slab-depot: read refcount blocks in large chunks at load time
drivers/md/dm-vdo/block-map.c | 11 ++---
drivers/md/dm-vdo/io-submitter.c | 6 ++-
drivers/md/dm-vdo/io-submitter.h | 18 +++++--
drivers/md/dm-vdo/slab-depot.c | 80 ++++++++++++++++++++++----------
drivers/md/dm-vdo/slab-depot.h | 13 +++++-
drivers/md/dm-vdo/types.h | 3 ++
drivers/md/dm-vdo/vio.c | 54 ++++++++++++---------
drivers/md/dm-vdo/vio.h | 13 ++++--
8 files changed, 136 insertions(+), 62 deletions(-)
--
2.45.2
next reply other threads:[~2025-02-01 2:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-01 2:18 Matthew Sakai [this message]
2025-02-01 2:18 ` [PATCH 1/4] dm vdo vio-pool: add a pool pointer to pooled_vio Matthew Sakai
2025-02-01 2:18 ` [PATCH 2/4] dm vdo vio-pool: support pools with multiple data blocks per vio Matthew Sakai
2025-02-01 2:18 ` [PATCH 3/4] dm vdo vio-pool: allow variable-sized metadata vios Matthew Sakai
2025-02-01 2:18 ` [PATCH 4/4] dm vdo slab-depot: read refcount blocks in large chunks at load time Matthew Sakai
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.1738375023.git.msakai@redhat.com \
--to=msakai@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=raeburn@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 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.