linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] scsi: switch to scsi-mq by default
@ 2018-07-03  6:54 Johannes Thumshirn
  2018-07-03  6:56 ` Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Johannes Thumshirn @ 2018-07-03  6:54 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: Christoph Hellwig, Bart Van Assche, Hannes Reinecke, Ming Lei,
	Linux Kernel Mailinglist, Linux SCSI Mailinglist,
	Johannes Thumshirn

It has been more than one year since we tried to change the default
from legacy to multi queue in SCSI. Back then we had to retract the
change because of performance issues with rotating disks.

In the meantime there have been a substantial amount of performance
improvements, thus we can re-enable scsi-mq without a significant
performance penalty.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 drivers/scsi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 35c909bbf8ba..bd115bab162e 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -49,6 +49,7 @@ config SCSI_NETLINK
 
 config SCSI_MQ_DEFAULT
 	bool "SCSI: use blk-mq I/O path by default"
+	default y
 	depends on SCSI
 	---help---
 	  This option enables the new blk-mq based I/O path for SCSI
-- 
2.16.4


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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-03  6:54 [RFC] scsi: switch to scsi-mq by default Johannes Thumshirn
@ 2018-07-03  6:56 ` Hannes Reinecke
  2018-07-03  6:59 ` Ming Lei
  2018-07-03 23:21 ` Bart Van Assche
  2 siblings, 0 replies; 7+ messages in thread
From: Hannes Reinecke @ 2018-07-03  6:56 UTC (permalink / raw)
  To: Johannes Thumshirn, Martin K . Petersen
  Cc: Christoph Hellwig, Bart Van Assche, Ming Lei,
	Linux Kernel Mailinglist, Linux SCSI Mailinglist

On 07/03/2018 08:54 AM, Johannes Thumshirn wrote:
> It has been more than one year since we tried to change the default
> from legacy to multi queue in SCSI. Back then we had to retract the
> change because of performance issues with rotating disks.
> 
> In the meantime there have been a substantial amount of performance
> improvements, thus we can re-enable scsi-mq without a significant
> performance penalty.
> 
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> ---
>  drivers/scsi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index 35c909bbf8ba..bd115bab162e 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -49,6 +49,7 @@ config SCSI_NETLINK
>  
>  config SCSI_MQ_DEFAULT
>  	bool "SCSI: use blk-mq I/O path by default"
> +	default y
>  	depends on SCSI
>  	---help---
>  	  This option enables the new blk-mq based I/O path for SCSI
> 

Yeah, let's try it.

Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-03  6:54 [RFC] scsi: switch to scsi-mq by default Johannes Thumshirn
  2018-07-03  6:56 ` Hannes Reinecke
@ 2018-07-03  6:59 ` Ming Lei
  2018-07-03 23:21 ` Bart Van Assche
  2 siblings, 0 replies; 7+ messages in thread
From: Ming Lei @ 2018-07-03  6:59 UTC (permalink / raw)
  To: Johannes Thumshirn
  Cc: Martin K . Petersen, Christoph Hellwig, Bart Van Assche,
	Hannes Reinecke, Linux Kernel Mailinglist,
	Linux SCSI Mailinglist

On Tue, Jul 3, 2018 at 2:54 PM, Johannes Thumshirn <jthumshirn@suse.de> wrote:
> It has been more than one year since we tried to change the default
> from legacy to multi queue in SCSI. Back then we had to retract the
> change because of performance issues with rotating disks.
>
> In the meantime there have been a substantial amount of performance
> improvements, thus we can re-enable scsi-mq without a significant
> performance penalty.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> ---
>  drivers/scsi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index 35c909bbf8ba..bd115bab162e 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -49,6 +49,7 @@ config SCSI_NETLINK
>
>  config SCSI_MQ_DEFAULT
>         bool "SCSI: use blk-mq I/O path by default"
> +       default y
>         depends on SCSI
>         ---help---
>           This option enables the new blk-mq based I/O path for SCSI
> --
> 2.16.4
>

Reviewed-by: Ming Lei <ming.lei@redhat.com>


thanks,
Ming Lei

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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-03  6:54 [RFC] scsi: switch to scsi-mq by default Johannes Thumshirn
  2018-07-03  6:56 ` Hannes Reinecke
  2018-07-03  6:59 ` Ming Lei
@ 2018-07-03 23:21 ` Bart Van Assche
  2018-07-04  8:18   ` John Garry
  2018-07-04  8:49   ` Johannes Thumshirn
  2 siblings, 2 replies; 7+ messages in thread
From: Bart Van Assche @ 2018-07-03 23:21 UTC (permalink / raw)
  To: jthumshirn, martin.petersen
  Cc: hch, Bart Van Assche, linux-kernel, hare, tom.leiming, linux-scsi

On Tue, 2018-07-03 at 08:54 +0200, Johannes Thumshirn wrote:
> It has been more than one year since we tried to change the default
> from legacy to multi queue in SCSI. Back then we had to retract the
> change because of performance issues with rotating disks.
> 
> In the meantime there have been a substantial amount of performance
> improvements, thus we can re-enable scsi-mq without a significant
> performance penalty.

Hello Johannes,

Please include references to commits cbe7dfa26eee ("Revert "scsi:
default to scsi-mq"") and 5c279bd9e406 ("scsi: default to scsi-mq").
I think it's a good idea to mention that suspend/resume now works
with scsi-mq.

Bart.









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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-03 23:21 ` Bart Van Assche
@ 2018-07-04  8:18   ` John Garry
  2018-07-04  8:48     ` Johannes Thumshirn
  2018-07-04  8:49   ` Johannes Thumshirn
  1 sibling, 1 reply; 7+ messages in thread
From: John Garry @ 2018-07-04  8:18 UTC (permalink / raw)
  To: Bart Van Assche, jthumshirn, martin.petersen
  Cc: hch, linux-kernel, hare, tom.leiming, linux-scsi, chenxiang, Linuxarm

On 04/07/2018 00:21, Bart Van Assche wrote:
> On Tue, 2018-07-03 at 08:54 +0200, Johannes Thumshirn wrote:
>> It has been more than one year since we tried to change the default
>> from legacy to multi queue in SCSI. Back then we had to retract the
>> change because of performance issues with rotating disks.
>>
>> In the meantime there have been a substantial amount of performance
>> improvements, thus we can re-enable scsi-mq without a significant
>> performance penalty.
>
> Hello Johannes,
>
> Please include references to commits cbe7dfa26eee ("Revert "scsi:
> default to scsi-mq"") and 5c279bd9e406 ("scsi: default to scsi-mq").
> I think it's a good idea to mention that suspend/resume now works
> with scsi-mq.
>
> Bart.

We were seeing performance drops previously for hisi_sas when originally 
enabled by default, but results on 4.18 seem almost identical with and 
without MQ default.

FWIW,

Acked-by: John Garry <john.garry@huawei.com>

>
>
>
>
>
>
>
>



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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-04  8:18   ` John Garry
@ 2018-07-04  8:48     ` Johannes Thumshirn
  0 siblings, 0 replies; 7+ messages in thread
From: Johannes Thumshirn @ 2018-07-04  8:48 UTC (permalink / raw)
  To: John Garry
  Cc: Bart Van Assche, martin.petersen, hch, linux-kernel, hare,
	tom.leiming, linux-scsi, chenxiang, Linuxarm

On Wed, Jul 04, 2018 at 09:18:23AM +0100, John Garry wrote:
> We were seeing performance drops previously for hisi_sas when originally
> enabled by default, but results on 4.18 seem almost identical with and
> without MQ default.
> 
> FWIW,
> 
> Acked-by: John Garry <john.garry@huawei.com>

Thanks for letting me know.
-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

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

* Re: [RFC] scsi: switch to scsi-mq by default
  2018-07-03 23:21 ` Bart Van Assche
  2018-07-04  8:18   ` John Garry
@ 2018-07-04  8:49   ` Johannes Thumshirn
  1 sibling, 0 replies; 7+ messages in thread
From: Johannes Thumshirn @ 2018-07-04  8:49 UTC (permalink / raw)
  To: Bart Van Assche
  Cc: martin.petersen, hch, linux-kernel, hare, tom.leiming, linux-scsi

On Tue, Jul 03, 2018 at 11:21:18PM +0000, Bart Van Assche wrote:
> Please include references to commits cbe7dfa26eee ("Revert "scsi:
> default to scsi-mq"") and 5c279bd9e406 ("scsi: default to scsi-mq").
> I think it's a good idea to mention that suspend/resume now works
> with scsi-mq.

That's actually a good idea. Will be sending out a non-rfc version
with these changelog changes and Reviews/Acks applied.
-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

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

end of thread, other threads:[~2018-07-04  8:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-03  6:54 [RFC] scsi: switch to scsi-mq by default Johannes Thumshirn
2018-07-03  6:56 ` Hannes Reinecke
2018-07-03  6:59 ` Ming Lei
2018-07-03 23:21 ` Bart Van Assche
2018-07-04  8:18   ` John Garry
2018-07-04  8:48     ` Johannes Thumshirn
2018-07-04  8:49   ` Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).