Help tuning an Adaptec 7896.

Piete Brooks Piete.Brooks at cl.cam.ac.uk
Thu Jun 24 10:12:41 PDT 1999


Exec Summary: How can I get more than 11MB from an Adaptec 7896 ?

Gory Details:

I have 9 GigaByte GA-6BXDU motherboards which have onboard "Adaptec 7896 Dual
Channel Ultra 2 SCSI", connected to a JBoD with 24 LVD 18GB disks, which
appear to only manage 11MB/s,
It looks as if the problem is that the period is set to 43 on the controller.

Using the same discs and cables on a AIC-7881U and a Adaptec 2940U2, I get
20MB/s and 80MB/s respectively (5 disc RAID0 manages over 60MB/s under hdparm)
so it does seem to point at the 7896.

The Adaptec BIOS has all IDs set at 80MB/s

Any ideas what is wrong ?
Any ideas how I can "over ride" the period of "43" ?

Some config data follows ...

=========================================================================

Linux neots.cl.cam.ac.uk 2.2.7 #1 SMP Thu Apr 29 06:51:35 BST 1999 i686 unknown
Red Hat Linux release 5.2 (Apollo)

=========================================================================

00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
	Flags: bus master, medium devsel, latency 64
	Memory at e0000000 (32-bit, prefetchable)
	Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
	Flags: bus master, 66Mhz, medium devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: e4000000-e5ffffff
	Prefetchable memory behind bridge: e6000000-e6ffffff

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
	Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80)
	Flags: bus master, medium devsel, latency 64
	I/O ports at f000

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
	Flags: bus master, medium devsel, latency 64, IRQ 10
	I/O ports at d000

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
	Flags: medium devsel

00:08.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
	Subsystem: Unknown device 10b7:9055
	Flags: bus master, medium devsel, latency 64, IRQ 16
	I/O ports at d400
	Memory at eb003000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

00:09.0 SCSI storage controller: Adaptec AIC-7881U (rev 01)
	Subsystem: Unknown device 9004:7881
	Flags: bus master, medium devsel, latency 64, IRQ 17
	I/O ports at d800
	Memory at eb001000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

00:0a.0 SCSI storage controller: Adaptec 2940U2
	Subsystem: Unknown device 9005:a180
	Flags: bus master, medium devsel, latency 64, IRQ 18
	BIST result: 00
	I/O ports at dc00
	Memory at eb000000 (64-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

00:0c.0 SCSI storage controller: Adaptec 7896
	Subsystem: Unknown device 9005:080f
	Flags: bus master, medium devsel, latency 64, IRQ 16
	BIST result: 00
	I/O ports at e000
	Memory at eb002000 (64-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

00:0c.1 SCSI storage controller: Adaptec 7896
	Subsystem: Unknown device 9005:080f
	Flags: bus master, medium devsel, latency 64, IRQ 16
	BIST result: 00
	I/O ports at e400
	Memory at eb004000 (64-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller: ATI Technologies Inc 215GB [Mach64 GB] (rev 5c)
	Subsystem: Unknown device 1002:0080
	Flags: bus master, stepping, medium devsel, latency 64, IRQ 16
	Memory at e6000000 (32-bit, prefetchable)
	I/O ports at c000
	Memory at e5000000 (32-bit, non-prefetchable)
	Capabilities: [50] AGP version 1.0

=========================================================================

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST118202LC       Rev: 0006
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 12 Lun: 00
  Vendor: TRIMM    Model: GEM312V2 DR0-11  Rev: 4.1b
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 13 Lun: 00
  Vendor: TRIMM    Model: GEM312V2 DR12-23 Rev: 4.1b
  Type:   Processor                        ANSI SCSI revision: 02

=========================================================================

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xeb000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 18
                   SCBs: Active 0, Max Active 1,
                         Allocated 30, HW 32, Page 255
             Interrupts: 2827
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 13 (13 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       7       0       5       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi0:0:1:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 1 (1 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi0:0:2:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 18 (17 reads and 1 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       8       0       8       0       0       0       0
  Writes:       0       0       0       1       0       0       0       0


(scsi0:0:3:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 1 (1 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi0:0:4:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 1 (1 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi0:0:5:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 5 (5 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       2       0       2       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


=========================================================================

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7896/7 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller Channel A
    PCI MMAPed I/O Base: 0xeb002000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 16
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 32, Page 255
             Interrupts: 74
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5a
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 1:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 1:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi1:0:3:0)
  Device using Wide/Sync transfers at 11.4 MByte/sec, offset 15
  Transinfo settings: current(43/15/1), goal(43/127/1), user(43/127/1)
  Total transfers 5 (5 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       3       0       1       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


=========================================================================

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7896/7 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller Channel B
    PCI MMAPed I/O Base: 0xeb004000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 16
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 32, Page 255
             Interrupts: 72
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 2:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 2:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi2:0:3:0)
  Device using Wide/Sync transfers at 11.4 MByte/sec, offset 15
  Transinfo settings: current(43/15/1), goal(43/127/1), user(43/127/1)
  Total transfers 3 (3 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       2       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


=========================================================================

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0xeb001000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Disabled
                    IRQ: 17
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 16, Page 255
             Interrupts: 101
      BIOS Control Word: 0x18a2
   Adapter Control Word: 0x005d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 3:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 3:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi3:0:0:0)
  Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8
  Transinfo settings: current(25/8/1), goal(25/8/1), user(25/8/1)
  Total transfers 2 (2 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       1       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi3:0:12:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0), goal(0/0/0), user(25/8/1)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi3:0:13:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0), goal(0/0/0), user(25/8/1)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list