Hello,
I compiled a new kernel today, and after booting it, I noticed my IDE disk is really slowing down my system. The transfer rates are good as indicated by hdparm:
# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.56 seconds =228.57 MB/sec
Timing buffered disk reads: 64 MB in 1.44 seconds = 44.44 MB/sec
But the problem is whenever I access the disk, my system locks of 10-30 seconds. I'm fairly certain its something with the disk that's causing this problem. When I unmount the disk, and just use my SCSI drive, the lockups go away. I believe I've forgotten or put something in my kernel config that is causing this problem. Here is some more info to help diagnose the problem:
# hdparm -i /dev/hda
/dev/hda:
Model=IC35L120AVVA07-0, FwRev=VA6OA52A, SerialNo=VNC602A6G0BHBA
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=241254720
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 2 3 4 5
# hdparm -v /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 15017/255/63, sectors = 241254720, start = 0
dmesg output
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda
MA, hdb
io
ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc
io, hdd
MA
hda: IC35L120AVVA07-0, ATA DISK drive
blk: queue c03752e0, I/O limit 4095Mb (mask 0xffffffff)
hdd: LITE-ON LTR-24102B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=15017/255/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
BTW.. The filesystem on this disk is NTFS.
Thanks