Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 1998 05:12:26 -0800 (PST)
From:      vk@spies.com (Venkatesh Krishnamurthi)
To:        aic7xxx@FreeBSD.ORG
Subject:   Why is the 5.1.5 aic7xxx using async with hard drives?
Message-ID:  <m0znjPm-000TjnC@spies.com>

next in thread | raw e-mail | index | archive | help
Hi,

  I installed the 2.0.37-pre-1 kernel, which has the 5.1.5 aic7xxx driver, and
discovered that the driver now uses async transfers to the hard disks.
This results in a dramatic slowdown in disk throughput.

  This is on a ASUS P2-BDS motherboard with the onboard 7890 controller and
2 IBM 9ZX UW disks.  The BIOS shows the settings for transfers to the hard
disks to be synchronous.

  I'm including the relevant portions from the output of "dmesg" and the output
from "cat /proc/scsi/aic7xxx/1"

Venkatesh

------------------------------------------------------------------------------
(scsi1) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 6/0
(scsi1) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi1) Downloading sequencer code... 407 instructions downloaded
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.5/3.2.4
       <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
scsi : 2 hosts.
  Vendor: IBM       Model: DGVS09U           Rev: 03B0
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sda at scsi1, channel 0, id 0, lun 0
  Vendor: IBM       Model: DGVS09U           Rev: 03B0
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sdb at scsi1, channel 0, id 1, lun 0
  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.01
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 6, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17829870 [8705 MB] [8.7 GB]
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17829870 [8705 MB] [8.7 GB]
 sdb: sdb1 sdb2 sdb3

from /proc/scsi/aic7xxx/1

Adaptec AIC7xxx driver version: 5.1.5/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-7890/1 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 14
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 32, Page 255
             Interrupts: 9018
      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 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:
(scsi1:0:0:0)
  Device using Wide/Async transfers.
    Device Negotiation Settings
        Period Offset Bus Width
User       010    127        1
Goal       000    000        1
Current    000    000        1
    Total transfers 6722 (6046 read;676 written)
      blks(512) rd=168749; blks(512) wr=1808
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      1   2964    104    868   1007     34     24   1044      0 
Writes:     0      0    571     72     31      1      1      0      0      0 

(scsi1:0:1:0)
  Device using Wide/Async transfers.
    Device Negotiation Settings
        Period Offset Bus Width
User       010    127        1
Goal       000    000        1
Current    000    000        1
    Total transfers 2215 (2181 read;34 written)
      blks(512) rd=4541; blks(512) wr=104
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      1   2169      5      4      1      0      1      0      0 
Writes:     0      0     28      5      0      1      0      0      0      0 



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



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