lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 27 May 2011 12:52:15 -0700
From:	"Darrick J. Wong" <djwong@...ibm.com>
To:	Eric Moore <Eric.Moore@....com>, support@....com
Cc:	DL-MPTFusionLinux@....com, linux-scsi@...r.kernel.org,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE

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@...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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ