public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Poor SCSI drive performance on SMP machine, 2.2.16
@ 2001-01-28  7:26 paradox3
  2001-01-28  7:48 ` Andre Hedrick
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: paradox3 @ 2001-01-28  7:26 UTC (permalink / raw)
  To: linux-kernel, linux-smp

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

I have an SMP machine (dual PII 400s) running 2.2.16 with one 10,000 RPM IBM
10 GB SCSI drive
(AIC 7890 on motherboard, using aic7xxx.o), and four various IDE drives. The
SCSI drive
performs the worst. In tests of writing 100 MB and sync'ing, one of my IDE
drives takes 31 seconds. The SCSI drive (while doing nothing else) took
2 minutes, 10 seconds. This is extremely noticable in file transfers that
completely
monopolize the SCSI drive, and are much slower than when involving the IDE
drives.
After a large data operation on the SCSI drive, the system will hang for
several minutes.
Anyone know what could be causing this? Thanks.

Attached are some data to help.


Thanks,
    Para-dox (paradox3@maine.rr.com)


[-- Attachment #2: interrupts.txt --]
[-- Type: text/plain, Size: 578 bytes --]

           CPU0       CPU1       
  0:   43661720   59171710    IO-APIC-edge  timer
  1:     233992     282694    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 13:          1          0          XT-PIC  fpu
 14:         20         10    IO-APIC-edge  ide0
 15:   46455293   50354306    IO-APIC-edge  ide1
 16:   14508949   14462778   IO-APIC-level  eth0
 17:    3939554    4293901   IO-APIC-level  eth1
 18:     750747     761816   IO-APIC-level  aic7xxx
NMI:          0
ERR:          0

[-- Attachment #3: pci.txt --]
[-- Type: text/plain, Size: 2197 bytes --]

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xe8000000 [0xe8000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  Min Gnt=136.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xf000 [0xf001].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=64.  
      I/O at 0xe000 [0xe001].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   8, function  0:
    Ethernet controller: Intel 82557 (rev 5).
      Medium devsel.  Fast back-to-back capable.  IRQ 16.  Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xef101000 [0xef101008].
      I/O at 0xe400 [0xe401].
      Non-prefetchable 32 bit memory at 0xef000000 [0xef000000].
  Bus  0, device   9, function  0:
    Ethernet controller: Winbond NE2000-PCI (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 17.  
      I/O at 0xe800 [0xe801].
  Bus  0, device  12, function  0:
    SCSI storage controller: Adaptec AIC-7890/1 (rev 0).
      Medium devsel.  Fast back-to-back capable.  BIST capable.  IRQ 18.  Master Capable.  Latency=64.  Min Gnt=39.Max Lat=25.
      I/O at 0xec00 [0xec01].
      Non-prefetchable 64 bit memory at 0xef100000 [0xef100004].
  Bus  1, device   0, function  0:
    VGA compatible controller: S3 Inc. ViRGE/GX2 (rev 6).
      Medium devsel.  IRQ 16.  Master Capable.  Latency=64.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000].

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Poor SCSI drive performance on SMP machine, 2.2.16
@ 2001-01-28 22:57 paradox3
  0 siblings, 0 replies; 12+ messages in thread
From: paradox3 @ 2001-01-28 22:57 UTC (permalink / raw)
  To: Trevor Hemsley, linux-kernel

> It sounds to me like you have a SCSI bus problem. Have you checked
> termination? Cable quality? Cable lengths?

Forgive me, I'm rather ignorant of SCSI hardware.....All that I have is a
cable (appears
to be good quality, came with motherboard) about 60 centimeters long going
from the
motherboard to my hard drive. There is an unused/empty port in between.

>
> Do you have tagged queuing enabled for aic7xxx? It's a config option
> and you can adjust the maximum queue depth. You can see the current
> settings by cat /proc/scsi/aic7xxx/0
>
/proc/scsi only contains a single file named "scsi" with brief info about
the drive
According to my last save kernel config, tagged command queueing is not
enabled by default.
Could this be the problem?


> Do you have write caching enabled on the drive? scsiinfo -c /dev/sdx
> will tell you if you do.
I don't seem to have scsiinfo.

>
> As a data point, I copied a 650MB file to another file on the same
> 10krpm disk and sync'ed in about the same time it takes you to write
> 100MB. I've also copied it from a slower 7200rpm disk to my 10krpm IBM
> drive and sync'ed in 1 min 19 secs which is about the read speed of
> the slower disk.
>
> --
> Trevor Hemsley, Brighton, UK.
> Trevor-Hemsley@dial.pipex.com
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <F65Jqj0CYixMwInhdAH00002ef1@hotmail.com>]

end of thread, other threads:[~2001-01-29 12:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28  7:26 Poor SCSI drive performance on SMP machine, 2.2.16 paradox3
2001-01-28  7:48 ` Andre Hedrick
2001-01-28  8:40 ` Bruce Harada
2001-01-28 17:44   ` paradox3
2001-01-28 19:31     ` Bruce Harada
2001-01-28 19:52       ` paradox3
2001-01-28 19:56       ` paradox3
2001-01-28 23:50     ` Johan Kullstam
2001-01-28 11:12 ` Gérard Roudier
  -- strict thread matches above, loose matches on Subject: below --
2001-01-28 22:57 paradox3
     [not found] <F65Jqj0CYixMwInhdAH00002ef1@hotmail.com>
2001-01-29  5:02 ` paradox3
2001-01-29 12:58   ` Johan Kullstam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox