Edward S. Blurock
2003-May-06 21:43 UTC
Slow disk access on Dell Latitute with ATA/ATAPI-5 T13 1321D
Hi... I have a Dell Latitute with an ATA/ATAPI-5 T13 1321D and it would seem that my disk access is extremely slow. I have the latest updated kernel from RedHat 8.0 kernel 2.4.18-27.8.0. Somehow I think it is related to the UDMA stuff (shows my level of understanding). I have run hdparm and although I think I should at least udma level 5, I have at most udma2 listed. Is this a kernel option/update problem? The first question is whether my disk is really not optimum. Any help or help would be appreciated Or if you need more info just ask. ned blurock Here is some less vague info: ---------------------------------------------------------------- hdparm -i /dev/hda /dev/hda: Model=IC25N040ATCS05-0, FwRev=CS4OA63A, SerialNo=CLP425F4GJUT9A Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=7898kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160 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 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: 2 3 4 5 BTW I set udma2 (hdparm -X udma2 /dev/hda) otherwise there was no star. No difference in performance (below). ---------------------------------------------------------------- hdparm -tT /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.35 seconds =362.10 MB/sec Timing buffered disk reads: 64 MB in 4.55 seconds = 14.06 MB/sec ---------------------------------------------------------------- hdparm -i /dev/hdb /dev/hdb: Model=HL-DT-STCD-RW/DVD-ROM GCC-4240N, FwRev=D110, SerialNo Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=0kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no Drive conforms to: device does not report version: 2 3 4 5 ---------------------------------------------------------------- lspci 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04) 00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02) 00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02) 00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42) 00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) 00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02) 00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go] (rev a3) 02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) 02:01.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller 02:01.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller 02:01.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller 02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) ------------------------------------------------------------------------- Linux version 2.4.18-27.8.0 (bhcompile@sylvester.devel.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Fri Mar 14 06:45:49 EST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 0000000000100000 - 000000003ffe2800 (usable) BIOS-e820: 000000003ffe2800 - 0000000040000000 (reserved) BIOS-e820: 00000000feda0000 - 00000000fee00000 (reserved) BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. On node 0 totalpages: 262114 zone(0): 4096 pages. zone(1): 225280 pages. zone(2): 32738 pages. Kernel command line: ro root=LABEL=/ hdb=ide-scsi ide_setup: hdb=ide-scsi Initializing CPU#0 Detected 2393.124 MHz processor. Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized Console: colour VGA+ 80x25 Calibrating delay loop... 4750.85 BogoMIPS Memory: 1027468k/1048456k available (1315k kernel code, 17404k reserved, 990k data, 172k init, 130952k highmem) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode cache hash table entries: 65536 (order: 7, 524288 bytes) Mount cache hash table entries: 16384 (order: 5, 131072 bytes) ramfs: mounted with options: <defaults> ramfs: max_pages=128833 max_file_pages=0 max_inodes=0 max_dentries=128833 Buffer cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) CPU: Before vendor init, caps: bfebf9ff 00000000 00000000, vendor = 0 CPU: L1 I cache: 0K, L1 D cache: 8K CPU: L2 cache: 512K CPU: After vendor init, caps: bfebf9ff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000 CPU: Common caps: bfebf9ff 00000000 00000000 00000000 CPU: Intel Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz stepping 07 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfbfee, last bus=2 PCI: Using configuration type 1 PCI: Probing PCI hardware Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge PCI: Discovered primary peer bus 08 [IRQ] PCI: Using IRQ router PIIX [8086/248c] at 00:1f.0 PCI: Found IRQ 11 for device 00:1f.1 PCI: Sharing IRQ 11 with 00:1d.2 PCI: Sharing IRQ 11 with 02:00.0 PCI: Sharing IRQ 11 with 02:08.0 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Starting kswapd allocated 64 pages and 64 bhs reserved for the highmem bounces VFS: Diskquotas version dquot_6.5.0 initialized pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A PCI: Found IRQ 11 for device 00:1f.6 PCI: Sharing IRQ 11 with 00:1f.5 Real Time Clock Driver v1.10e block: 1024 slots per queue, batch=256 Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev f9 PCI: Enabling device 00:1f.1 (0005 -> 0007) PCI: Found IRQ 11 for device 00:1f.1 PCI: Sharing IRQ 11 with 00:1d.2 PCI: Sharing IRQ 11 with 02:00.0 PCI: Sharing IRQ 11 with 02:08.0 PIIX4: chipset revision 2 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:DMA hda: IC25N040ATCS05-0, ATA DISK drive hdb: HL-DT-STCD-RW/DVD-ROM GCC-4240N, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 blk: queue c03b26c4, I/O limit 4095Mb (mask 0xffffffff) blk: queue c03b26c4, I/O limit 4095Mb (mask 0xffffffff) hda: 78140160 sectors (40008 MB) w/7898KiB Cache, CHS=4864/255/63, UDMA(100) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 > Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 64Kbytes TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 126k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 172k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 07:03:07 Mar 14 2003 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 11 for device 00:1d.0 PCI: Sharing IRQ 11 with 01:00.0 PCI: Setting latency timer of device 00:1d.0 to 64 usb-uhci.c: USB UHCI at I/O 0xbf80, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 11 for device 00:1d.1 PCI: Sharing IRQ 11 with 02:01.0 PCI: Sharing IRQ 11 with 02:01.1 PCI: Sharing IRQ 11 with 02:01.2 PCI: Setting latency timer of device 00:1d.1 to 64 usb-uhci.c: USB UHCI at I/O 0xbf40, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 11 for device 00:1d.2 PCI: Sharing IRQ 11 with 00:1f.1 PCI: Sharing IRQ 11 with 02:00.0 PCI: Sharing IRQ 11 with 02:08.0 PCI: Setting latency timer of device 00:1d.2 to 64 usb-uhci.c: USB UHCI at I/O 0xbf20, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,6), internal journal Adding Swap: 3068372k swap-space (priority -1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,7), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,9), internal journal EXT3-fs: mounted filesystem with ordered data mode. ohci1394: $Revision: 1.101 $ Ben Collins <bcollins@debian.org> PCI: Found IRQ 11 for device 02:01.2 PCI: Sharing IRQ 11 with 00:1d.1 PCI: Sharing IRQ 11 with 02:01.0 PCI: Sharing IRQ 11 with 02:01.1 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[f8fff000-f8fff800] Max Packet=[2048] SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: HL-DT-ST Model: RW/DVD GCC-4240N Rev: D110 Type: CD-ROM ANSI SCSI revision: 02 ieee1394: Host added: Node[00:1023] GUID[394fc00012435010] [Linux OHCI-1394]
Stephen C. Tweedie
2003-May-07 16:55 UTC
Re: Slow disk access on Dell Latitute with ATA/ATAPI-5 T13 1321D
Hi, On Tue, 2003-05-06 at 22:43, Edward S. Blurock wrote:> I have a Dell Latitute with an ATA/ATAPI-5 T13 1321D and it would seem > that my disk access is extremely slow.Slow in what way?> hdparm -tT /dev/hda > > /dev/hda: > Timing buffer-cache reads: 128 MB in 0.35 seconds =362.10 MB/sec > Timing buffered disk reads: 64 MB in 4.55 seconds = 14.06 MB/sec14MB/sec looks perfectly respectable for a laptop disk. Are there other signs of slowdown? --Stephen