]> git.itanic.dy.fi Git - linux-stable/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)
commit3284da34a87ab7a527a593f89bbdaf6debe9e713
tree01bec32924b5449ff50631947bd22dad8d63c5f8
parent891f6a726cacbb87e5b06076693ffab53bd378d7
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: e443343e509a ("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