All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] dm-zoned: improve cache performance
@ 2020-05-13  7:07 Hannes Reinecke
  2020-05-13  7:07 ` [PATCH 1/2] dm-zoned: invert zone check in dmz_reset_zone() Hannes Reinecke
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Hannes Reinecke @ 2020-05-13  7:07 UTC (permalink / raw)
  To: Mike Snitzer; +Cc: Damien LeMoal, dm-devel

Hi all,

here are two patches to improve performance when a regular device
is specified for dm-zoned.
Damien noted that we have a performance drop after the zones on the
regular device are used up, as then the random zones on the zoned
device are being used, _and_ reclaim is running on the same disk.
This slows down I/O whle using random zones, increasing again after
the random zones are used up.
This patchset fixes this by not allowing random zones for caching
if a regular device is present.

Patch is relative to the dm-5.8 branch from
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git

As usual, comments and reviews are welcome.


Hannes Reinecke (2):
  dm-zoned: invert zone check in dmz_reset_zone()
  dm-zoned: split off random and cache zones

 .../admin-guide/device-mapper/dm-zoned.rst    |  17 +-
 drivers/md/dm-zoned-metadata.c                | 157 +++++++++++++-----
 drivers/md/dm-zoned-reclaim.c                 |  70 ++++----
 drivers/md/dm-zoned-target.c                  |  19 ++-
 drivers/md/dm-zoned.h                         |   7 +-
 5 files changed, 189 insertions(+), 81 deletions(-)

-- 
2.25.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-14  6:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  7:07 [PATCH 0/2] dm-zoned: improve cache performance Hannes Reinecke
2020-05-13  7:07 ` [PATCH 1/2] dm-zoned: invert zone check in dmz_reset_zone() Hannes Reinecke
2020-05-13 12:16   ` Damien Le Moal
2020-05-13  7:07 ` [PATCH 2/2] dm-zoned: split off random and cache zones Hannes Reinecke
2020-05-13 12:44   ` Damien Le Moal
2020-05-14  6:41     ` Hannes Reinecke
2020-05-14  6:45       ` Damien Le Moal
2020-05-14  6:52         ` Hannes Reinecke
2020-05-13  9:44 ` [PATCH 0/2] dm-zoned: improve cache performance Damien Le Moal
2020-05-13 14:02 ` Damien Le Moal

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.