All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE
@ 2011-05-27 19:52 Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2011-05-27 19:52 UTC (permalink / raw)
  To: Eric Moore, support; +Cc: DL-MPTFusionLinux, linux-scsi, linux-kernel

It seems that can_queue on mptsas controllers is clamped to 128 even though the
hardware can have much larger queues.  Clamp to a higher value to utilize the
hardware more effectively--with a large number of disks I see contention for
queue slots, and with the higher clamp I don't.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
---

 drivers/message/fusion/mptbase.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index fe90233..5d8c57e 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -159,7 +159,7 @@
  */
 #define MPT_FC_CAN_QUEUE	1024
 #define MPT_SCSI_CAN_QUEUE	127
-#define MPT_SAS_CAN_QUEUE	127
+#define MPT_SAS_CAN_QUEUE	511
 
 /*
  * Set the MAX_SGE value based on user input.

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

* Re: [PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE
@ 2011-06-11 20:22 Richard Scobie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Scobie @ 2011-06-11 20:22 UTC (permalink / raw)
  To: linux-scsi

  Darrick J. Wong wrote:

 > It seems that can_queue on mptsas controllers is clamped to 128 even 
  > though the hardware can have much larger queues.  Clamp to a higher
 > value to utilize the hardware more effectively--with a large number 
of > disks I see contention for queue slots, and with the higher clamp I
 > don't.
 >
 > Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
 > ---
 >
 > drivers/message/fusion/mptbase.h |    2 +-
 > 1 files changed, 1 insertions(+), 1 deletions(-)
 >
 > diff --git a/drivers/message/fusion/mptbase.h
 > b/drivers/message/fusion/mptbase.h
 > index fe90233..5d8c57e 100644
 > --- a/drivers/message/fusion/mptbase.h
 > +++ b/drivers/message/fusion/mptbase.h
 > @@ -159,7 +159,7 @@
 >   */
 >  #define MPT_FC_CAN_QUEUE	1024
 > #define MPT_SCSI_CAN_QUEUE	127
 > -#define MPT_SAS_CAN_QUEUE	127
 > +#define MPT_SAS_CAN_QUEUE	511
 >
 > /*
 >  * Set the MAX_SGE value based on user input.

Any comment from the LSI maintainers on this change?

Regards,

Richard

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

end of thread, other threads:[~2011-06-11 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11 20:22 [PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE Richard Scobie
  -- strict thread matches above, loose matches on Subject: below --
2011-05-27 19:52 Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.