[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HW SCSI Raid 0 - Dog Slow...




Hello all,

I have a Server that I have updated several things as of late. I upgraded
the debian version to Sarge. I have built a new kernel version 2.6.8. I
have upgraded the mother board and processor (Asus K8N - Sempron 3100+).

Anyway I kept the old (3 years) Adaptec Model:2400A SCSI Raid 0 array,
with IBM SCSI drives. I remember back when I put in this setup in the
server it seemed like I had to put in a couple of lines of code in some
config file to make it run at the proper speed. But being that was 3 years
ago and my memory seems to be failing by the day I cannot remember what it
was I did to make this raid array work like it should. And searching
through all the Debian list archives have yielded nothing.

The Raid array does work fine it is just slow. Here is a print out below.
of the SCSI raid compared to the IDE on the same machine. Also included
the partial output of the /usr/adm/dmesg about Adaptec 2400a.

Any ideas on how to speed up this SCSI raid array?

Thank,

Ken

SCSI vs IDE with hdparm and bonnie++

# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   1164 MB in  2.12 seconds = 548.11 MB/sec
 Timing buffered disk reads:   42 MB in  3.62 seconds =  11.59 MB/sec

# hdparm -tT /dev/hdc1

/dev/hdc1:
 Timing cached reads:   1228 MB in  2.00 seconds = 613.17 MB/sec
 Timing buffered disk reads:  136 MB in  3.04 seconds =  44.68 MB/sec



With Bonnie++

/dev/sda1

Version  1.03       ------Sequential Output------ --Sequential Input-
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
mail             4G 17833  45 54063  10 15559   3 21004  53 25017   3 222.3   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  3617  91 +++++ +++ +++++ +++  2398  59 +++++ +++  6689  75

/dev/hdc1

Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
mail             4G 18148  45 28440   5 13415   3 21671  53 34889   4 122.8   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  2707  70 +++++ +++ +++++ +++  2701  70 +++++ +++  6113  70



Partial output from /usr/adm/dmesg file:

Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec I2O RAID controller 0 at f8804000 size=100000 irq=11
dpti: If you have a lot of devices this could take a few minutes.
dpti0: Reading the hardware resource table.
TID 008  Vendor: HIGHPOINT    Device: IDEhpt370    Rev: 00000001
TID 009  Vendor: HIGHPOINT    Device: IDEhpt370    Rev: 00000001
TID 010  Vendor: HIGHPOINT    Device: IDEhpt370    Rev: 00000001
TID 011  Vendor: HIGHPOINT    Device: IDEhpt370    Rev: 00000001
TID 521  Vendor: ADAPTEC      Device: RAID-0       Rev: 370L
scsi0 : Vendor: Adaptec  Model: 2400A            FW:370L
  Vendor: ADAPTEC   Model: RAID-0            Rev: 370L
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 321671168 512-byte hdwr sectors (164696 MB)
SCSI device sda: drive cache: write back
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0




Reply to: