]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: reduce the default queue depth and nr of hardware queues
authorStefan Haberland <sth@linux.ibm.com>
Tue, 12 Jun 2018 14:47:10 +0000 (16:47 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:22:41 +0000 (11:22 +0200)
commit0b3e782170add5e798ba1f445bb02c764b30b0f9
tree01bec32924b5449ff50631947bd22dad8d63c5f8
parentdc1bbc4834bc593a7643495f8849422a08c64718
s390/dasd: reduce the default queue depth and nr of hardware queues

Reduce the default values for the number of hardware queues and queue depth
to significantly reduce the memory footprint of a DASD device.
The memory consumption per DASD device reduces from approximately 40MB to
approximately 1.5MB.

This is necessary to build systems with a large number of DASD devices and
a reasonable amount of memory.
Performance measurements showed that good performance results are possible
with the new default values even on systems with lots of CPUs and lots of
alias devices.

Fixes: a7b91817c024 ("s390/dasd: blk-mq conversion")
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_int.h