[PATCH v8 2/2] nvme-multipath: implement "queue-depth" iopolicy
Chaitanya Kulkarni
chaitanyak at nvidia.com
Wed Jun 26 01:19:46 PDT 2024
On 6/25/24 05:26, John Meneghini wrote:
> From: Thomas Song<tsong at purestorage.com>
>
> The round-robin path selector is inefficient in cases where there is a
> difference in latency between paths. In the presence of one or more
> high latency paths the round-robin selector continues to use the high
> latency path equally. This results in a bias towards the highest latency
> path and can cause a significant decrease in overall performance as IOs
> pile on the highest latency path. This problem is acute with NVMe-oF
> controllers.
>
> The queue-depth path selector sends I/O down the path with the lowest
> number of requests in its request queue. Paths with lower latency will
> clear requests more quickly and have less requests queued compared to
> higher latency paths. The goal of this path selector is to make more use
> of lower latency paths which will bring down overall IO latency and
> increase throughput and performance.
>
> Signed-off-by: Thomas Song<tsong at purestorage.com>
> [emilne: patch developed by Thomas Song @ Pure Storage, fixed whitespace
> and compilation warnings, updated MODULE_PARM description, and
> fixed potential issue with ->current_path[] being used]
> Co-developed-by: Ewan D. Milne<emilne at redhat.com>
> Signed-off-by: Ewan D. Milne<emilne at redhat.com>
> [jmeneghi: various changes and improvements, addressed review comments]
> Co-developed-by: John Meneghini<jmeneghi at redhat.com>
> Signed-off-by: John Meneghini<jmeneghi at redhat.com>
> Link:https://lore.kernel.org/linux-nvme/20240509202929.831680-1-jmeneghi@redhat.com/
> Tested-by: Marco Patalano<mpatalan at redhat.com>
> Reviewed-by: Randy Jennings<randyj at purestorage.com>
> Tested-by: Jyoti Rani<jrani at purestorage.com>
> Tested-by: John Meneghini<jmeneghi at redhat.com>
> Reviewed-by: Hannes Reinecke<hare at suse.de>
thanks for sharing github link, those scripts are in-general helpful ...
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list