All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] speeding up mpathpersist
@ 2019-05-17 22:56 Martin Wilck
  2019-05-17 22:56 ` [RFC PATCH 1/7] mpathpersist: call usage() just once on return Martin Wilck
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Martin Wilck @ 2019-05-17 22:56 UTC (permalink / raw)
  To: Benjamin Marzinski; +Cc: dbond, dm-devel, Martin Wilck

We've had reports that mpathpersist doesn't scale well in environments
with lots of IO devices. This patch set tries to address this problem
with a few optimizations:

 - instead of doing a full path discovery at startup, only look at
   paths that are part of the maps being worked on
 - allow multiple PR commands in a single run using "batch files",
   without re-discovering everything between PR commands
 - avoid looking at priorities

I've done some basic testing and it seems to work. It remains to be
seen what the effect on performance really is.

Regards
Martin

Martin Wilck (7):
  mpathpersist: call usage() just once on return
  mpathpersist: add option --batch-file (-f)
  mpathpersist: no need to treat error close() as fatal
  libmpathpersist: updatepaths: deal with missing pp->udev
  libmpathpersist: factor out initialization and teardown
  mpathpersist: initialize data structures only once
  libmpathpersist: don't bother with priorities

 libmpathpersist/mpath_persist.c | 250 +++++++++++++++-----------------
 libmpathpersist/mpath_persist.h |  40 +++++
 mpathpersist/main.c             | 218 +++++++++++++++++++++-------
 mpathpersist/main.h             |   1 +
 4 files changed, 320 insertions(+), 189 deletions(-)

-- 
2.21.0

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

end of thread, other threads:[~2019-05-22 19:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-17 22:56 [RFC PATCH 0/7] speeding up mpathpersist Martin Wilck
2019-05-17 22:56 ` [RFC PATCH 1/7] mpathpersist: call usage() just once on return Martin Wilck
2019-05-17 22:56 ` [RFC PATCH 2/7] mpathpersist: add option --batch-file (-f) Martin Wilck
2019-05-22 19:28   ` Benjamin Marzinski
2019-05-22 19:30   ` Benjamin Marzinski
2019-05-22 19:31   ` Benjamin Marzinski
2019-05-17 22:56 ` [RFC PATCH 3/7] mpathpersist: no need to treat error close() as fatal Martin Wilck
2019-05-17 22:57 ` [RFC PATCH 4/7] libmpathpersist: updatepaths: deal with missing pp->udev Martin Wilck
2019-05-17 22:57 ` [RFC PATCH 5/7] libmpathpersist: factor out initialization and teardown Martin Wilck
2019-05-17 22:57 ` [RFC PATCH 6/7] mpathpersist: initialize data structures only once Martin Wilck
2019-05-17 22:57 ` [RFC PATCH 7/7] libmpathpersist: don't bother with priorities Martin Wilck

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.