Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 23:26:43 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r254892 - projects/camlock/sys/dev/ahci
Message-ID:  <201308252326.r7PNQhr4021791@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Aug 25 23:26:43 2013
New Revision: 254892
URL: http://svnweb.freebsd.org/changeset/base/254892

Log:
  With GEOM direct dispatch support there is finally a good reason to enable
  multi-vector MSI interrupts.  Single interrupt thread may have insufficient
  performance to handle completion from all ports of the controller.  At least
  on synthetic tests 6 SSDs can outperform it.

Modified:
  projects/camlock/sys/dev/ahci/ahci.c

Modified: projects/camlock/sys/dev/ahci/ahci.c
==============================================================================
--- projects/camlock/sys/dev/ahci/ahci.c	Sun Aug 25 23:16:52 2013	(r254891)
+++ projects/camlock/sys/dev/ahci/ahci.c	Sun Aug 25 23:26:43 2013	(r254892)
@@ -676,7 +676,7 @@ static int
 ahci_setup_interrupt(device_t dev)
 {
 	struct ahci_controller *ctlr = device_get_softc(dev);
-	int i, msi = 1;
+	int i, msi = 2;
 
 	/* Process hints. */
 	if (ctlr->quirks & AHCI_Q_NOMSI)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308252326.r7PNQhr4021791>