[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240612002034.1299922-1-jmeneghi@redhat.com>
Date: Tue, 11 Jun 2024 20:20:33 -0400
From: John Meneghini <jmeneghi@...hat.com>
To: kbusch@...nel.org,
hch@....de,
sagi@...mberg.me,
emilne@...hat.com
Cc: linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org,
jmeneghi@...hat.com,
jrani@...estorage.com,
randyj@...estorage.com,
hare@...nel.org
Subject: [PATCH v6 0/1] nvme: queue-depth multipath iopolicy
I've rebased this patch onto nvme-6.11, addressed all review comments,
and retested everything.
The new test results can be seen at:
https://github.com/johnmeneghini/iopolicy/tree/sample3
Changes since V5:
Refactored nvme_find_path() to reduce the spaghetti code.
Cleaned up all comments and reduced the total size of the
diff, and fixed the commit message. Thomas Song now
gets credit as the first author.
Changes since V4:
Removed atomic_set() from and return if (old_iopolicy == iopolicy)
At the beginning of nvme_subsys_iopolicy_update().
Changes since V3:
Addresssed all review comments, fixed the commit log, and moved
nr_counter initialization from nvme_mpath_init_ctlr() to
nvme_mpath_init_identify().
Changes since V2:
Add the NVME_MPATH_CNT_ACTIVE flag to eliminate a READ_ONCE in the
completion path and increment/decrement the active_nr count on all mpath
IOs - including passthru commands.
Send a pr_notice when ever the iopolicy on a subsystem is changed. This
is important for support reasons. It is fully expected that users will
be changing the iopolicy with active IO in progress.
Squashed everything and rebased to nvme-v6.10
Changes since V1:
I'm re-issuing Ewan's queue-depth patches in preparation for LSFMM
These patches were first show at ALPSS 2023 where I shared the following
graphs which measure the IO distribution across 4 active-optimized
controllers using the round-robin verses queue-depth iopolicy.
https://people.redhat.com/jmeneghi/ALPSS_2023/NVMe_QD_Multipathing.pdf
Since that time we have continued testing these patches with a number of
different nvme-of storage arrays and test bed configurations, and I've
codified the tests and methods we use to measure IO distribution
All of my test results, together with the scripts I used to generate these
graphs, are available at:
https://github.com/johnmeneghini/iopolicy
Please use the scripts in this repository to do your own testing.
These patches are based on nvme-v6.9
Thomas Song (1):
nvme-multipath: implement "queue-depth" iopolicy
drivers/nvme/host/core.c | 2 +-
drivers/nvme/host/multipath.c | 108 +++++++++++++++++++++++++++++++---
drivers/nvme/host/nvme.h | 5 ++
3 files changed, 106 insertions(+), 9 deletions(-)
--
2.39.3
Powered by blists - more mailing lists