summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1999-03-14 05:15:38 +0000
committerken <ken@FreeBSD.org>1999-03-14 05:15:38 +0000
commit61a6296116f7ce2e8d5fb9c66acef69bb228e0a7 (patch)
treeabfb5cc93198daac243d716e253b28fab9531f55 /sys/cam
parent7b7b2f7b72dd64b14fd0b1170260307826d2d017 (diff)
downloadFreeBSD-src-61a6296116f7ce2e8d5fb9c66acef69bb228e0a7.zip
FreeBSD-src-61a6296116f7ce2e8d5fb9c66acef69bb228e0a7.tar.gz
Disable tagged queueing for the IBM DCAS drives. These drives have poor
write performance when tagged queueing is enabled. Although the PR was submitted for the 4 gig version of this drive, the assumption is that the 2 gig version has the same problem. Therefore tagged queueing is disabled for both. Also, update the comment for the Western Digital Enterprise drives to note that the best performance for those drives is achieved when tagged queueing is disabled and write caching is enabled. PR: kern/10398 Submitted by: Hideaki Okada <hokada@isl.melco.co.jp>
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c31
1 files changed, 30 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index fa034d3..dcdc663 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cam_xpt.c,v 1.47 1999/03/07 22:48:50 ken Exp $
+ * $Id: cam_xpt.c,v 1.48 1999/03/11 10:48:02 jkh Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -336,6 +336,31 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
/*quirks*/0, /*mintags*/2, /*maxtags*/2
},
{
+ /*
+ * Slow when tagged queueing is enabled. Write performance
+ * steadily drops off with more and more concurrent
+ * transactions. Best sequential write performance with
+ * tagged queueing turned off and write caching turned on.
+ *
+ * PR: kern/10398
+ * Submitted by: Hideaki Okada <hokada@isl.melco.co.jp>
+ * Drive: DCAS-34330 w/ "S65A" firmware.
+ *
+ * The drive with the problem had the "S65A" firmware
+ * revision, and has also been reported (by Stephen J.
+ * Roznowski <sjr@home.net>) for a drive with the "S61A"
+ * firmware revision.
+ *
+ * Although no one has reported problems with the 2 gig
+ * version of the DCAS drive, the assumption is that it
+ * has the same problems as the 4 gig version. Therefore
+ * this quirk entries disables tagged queueing for all
+ * DCAS drives.
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "IBM", "DCAS*", "*" },
+ /*quirks*/0, /*mintags*/0, /*maxtags*/0
+ },
+ {
/* Broken tagged queuing drive */
{ T_DIRECT, SIP_MEDIA_REMOVABLE, "iomega", "jaz*", "*" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
@@ -360,6 +385,8 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
* Slow when tagged queueing is enabled. (1.5MB/sec versus
* 8MB/sec.)
* Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
+ * Best performance with these drives is achieved with
+ * tagged queueing turned off, and write caching turned on.
*/
{ T_DIRECT, SIP_MEDIA_FIXED, west_digital, "WDE*", "*" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
@@ -369,6 +396,8 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
* Slow when tagged queueing is enabled. (1.5MB/sec versus
* 8MB/sec.)
* Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
+ * Best performance with these drives is achieved with
+ * tagged queueing turned off, and write caching turned on.
*/
{ T_DIRECT, SIP_MEDIA_FIXED, west_digital, "ENTERPRISE", "*" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
OpenPOWER on IntegriCloud