LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-02-2007, 07:07 AM   #1
dimitriw1972
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Rep: Reputation: 0
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
 
Old 12-02-2007, 07:24 AM   #2
dimitriw1972
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Another weird thing that might explain things (although not to me...):

hera:~ # hdparm /dev/sda

/dev/sda:
HDIO_GET_32BIT failed: Inappropriate ioctl for device
HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
HDIO_GET_DMA failed: Inappropriate ioctl for device
HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
readonly = 0 (off)
readahead = 256 (on)
geometry = 19913/255/63, sectors = 319917312, start = 0


Are such errors normal for a raid device?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Seperate Disk as /home -- Now access to programs slow. Mystery drives Spearhead40 Ubuntu 3 04-02-2007 04:02 PM
Xen guest domain slow disk access SLES 10 dwains Linux - General 0 03-02-2007 10:15 AM
Extremely slow disk read access software raid 5 Magsimoe Linux - Software 2 12-18-2006 04:59 PM
slackware: slow disk access ? Menestrel Slackware 3 05-22-2004 05:46 PM
2.6.0 SLOW disk access wayback Linux - Hardware 5 01-15-2004 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration