|
Very slow disk access with OpenSuSE 10.3
Hello gurus,
I sincerely hope someone can help me with the following.
I have installed OpenSuSE 10.3 on a new box with an Adaptec 2410SA raid controller. I created a raid5 setup with three disks (one redundant).
The problem is the speed, it's so slow it's effectively unusable. Some output:
wed@hera:~> dd if=/dev/zero of=~/ddfile bs=1024 count=524288
524288+0 records in
524288+0 records out
536870912 bytes (537 MB) copied, 65.238 s, 8.2 MB/s
wed@hera:~> dd if=~/ddfile of=/dev/null bs=1024 count=524288
524288+0 records in
524288+0 records out
536870912 bytes (537 MB) copied, 39.7508 s, 13.5 MB/s
hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 1602 MB in 2.00 seconds = 801.16 MB/sec
Timing buffered disk reads: 6 MB in 4.48 seconds = 1.34 MB/sec
The cached read is ok, but the other is definitely not.
Here's what dmesg says about the disks:
SCSI subsystem initialized
libata version 3.00 loaded.
ata_piix 0000:00:1f.1: version 2.11
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001fc00 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001fc08 irq 15
ata1.00: ATAPI: GCR-8523B, 1.01, max MWDMA2
ata1.00: configured for MWDMA2
scsi 0:0:0:0: CD-ROM HL-DT-ST CD-ROM GCR-8523B 1.01 PQ: 0 ANSI: 5
Adaptec aacraid driver 1.1-5[2447]-ms
ACPI: PCI Interrupt 0000:01:0a.0[A] -> GSI 21 (level, low) -> IRQ 17
AAC0: kernel 4.1-0[9964]
AAC0: monitor 4.1-0[9964]
AAC0: bios 4.1-0[6101]
AAC0: serial B95E68
scsi2 : aacraid
scsi 2:0:0:0: Direct-Access Adaptec linux_array V1.0 PQ: 0 ANSI: 2
scsi 2:1:0:0: Direct-Access Maxtor 6Y080M0 YAR5 PQ: 0 ANSI: 2
scsi 2:1:1:0: Direct-Access Maxtor 6Y080M0 YAR5 PQ: 0 ANSI: 2
scsi 2:1:2:0: Direct-Access Maxtor 6Y080M0 YAR5 PQ: 0 ANSI: 2
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
I'm not sure whether the last line is part of it, just to be sure.
And finally, the output of lspci:
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
01:0a.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
I hope someone can shine some light on all this. I'm prepared to buy another raid controller if needed, but I guess I'd have to reinstall the entire machine, right? And then, what kind of controller should I buy? (And is the raid controller actually the problem? I have read some pages about slow performance of the 2410sa, but none of them was this slow!)
I'm not really a linux sysadmin. I you need more info or output from other admin tools, please let me know.
Thanks a lot in advance.
Dimitri
|