svn commit: r254892 - projects/camlock/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Sun Aug 25 23:26:44 UTC 2013
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)
More information about the svn-src-projects
mailing list