Hi Everybody,

4 months before now I sent a question to this list. Thank you all for answering,
I managed to compile the kernel and set the "TCQ Enabled By Default" to
"Enabled". Now I have a new /proc/scsi/adaptec/0 file, which seems to be
better than before. But unfortunately my special need is not solved yet.

I am using Postgres, and when I rebuild the database (with pg_dump) there are
many small transactions (about 10 thousand ones). On an IDE winchester the
rebuild process takes 3 minutes, on my SCSI one it takes 10 or more. Why?
OK, I solved this problem putting the INSERT statements into one giant
transaction, the process time is now 5 seconds. But I would like to know:
what are you thinking about the new configuration? Is it correct?

Please answer my mail to my private address, because I'm not a member of
the list. Thank you in advance.

Zoltan


# Commented lines are the old ones (without setting "TCQ Enabled By Default"
# to "Enabled" in the kernel).

Adaptec AIC7xxx driver version: 5.1.20/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
# TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
                           Narrow Controller
    PCI MMAPed I/O Base: 0xfecff000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 2, Max Active 8,
#                  SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 3, Page 255
             Interrupts: 27655
#            Interrupts: 123904
      BIOS Control Word: 0x10b6
   Adapter Control Word: 0x005c
   Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
 Tag Queue Enable Flags: 0x0001
#Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0001
#Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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:
      {8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
#     {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}


Statistics:

(scsi0:0:0:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(25/15/0/0), user(25/15/0/0)
  Total transfers 27605 (2550 reads and 25055 writes)
# Total transfers 123854 (8124 reads and 115730 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:     578     106     812     606     197     125     126       0
#  Reads:       9       0    4570    1124    1171     468     782       0
  Writes:     652     119   12510   11369     368      23      14       0
# Writes:       0       0   60220   52295    1342     242    1631       0

----------------------------------------------------------------------------
KOV\'ACS Zolt\'an
Assistant teacher at Bolyai Institute in mathematics, Szeged
http://www.math.u-szeged.hu/~kovzol



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to