LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   wth my hd is so slow.. according to hdparm (https://www.linuxquestions.org/questions/linux-general-1/wth-my-hd-is-so-slow-according-to-hdparm-48458/)

doublefailure 03-05-2003 03:59 PM

wth my hd is so slow.. according to hdparm
 
my hd is
30g 7200rpm 100
believe it western digital

from dmesg
------
hda: WDC WD300BB-75DEA0, ATA DISK drive
------

[root@beautifulmind root]# hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 21.11 seconds = 3.03 MB/sec
[root@beautifulmind root]#

acid_kewpie 03-05-2003 04:34 PM

is this a question or a statement?

doublefailure 03-05-2003 05:07 PM

it is a question ... =(

php 03-05-2003 06:07 PM

try turning on dma, and tweaking it with hdparm

doublefailure 03-05-2003 10:33 PM

dma was not included in kernel..

here's what i got

[root@beautifulmind root]# hdparm -c1d1 /dev/hda

/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
IO_support = 1 (32-bit)
using_dma = 1 (on)
[root@beautifulmind root]# hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 1.89 seconds = 33.86 MB/sec
[root@beautifulmind root]#

cool
thanks

Aussie 03-05-2003 10:44 PM

You can use hdparm to find out all sorts of info,
Code:

bern@grendel bern$ su -c "hdparm /dev/hda"
Password:

/dev/hda:
 multcount    =  1 (on)
 IO_support  =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly    =  0 (off)
 readahead    =  8 (on)
 geometry    = 9729/255/63, sectors = 156301488, start = 0

bern@grendel bern$ su -c "hdparm -i /dev/hda"
Password:

/dev/hda:

 Model=ST380021A, FwRev=3.19, SerialNo=3HV4050F
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=1
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 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=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5

bern@grendel bern$ su -c "hdparm -Tt /dev/hda"
Password:

/dev/hda:
 Timing buffer-cache reads:  128 MB in  0.81 seconds =158.02 MB/sec
 Timing buffered disk reads:  64 MB in  1.89 seconds = 33.86 MB/sec


Bruce Hill 07-28-2003 05:15 AM

Aussie,

I know this is an old post, but I found it searching for hdparm info.

The new -I for information vs. the old -i gives a lot better information. Anyone tuning their hd may want to know this.

debian:/usr/src/linux# hdparm -I /dev/hda

/dev/hda:

non-removable ATA device, with non-removable media
Model Number: Maxtor 6Y060L0
Serial Number: Y2VRB7SE
Firmware Revision: YAR41VW0
Standards:
Supported: 1 2 3 4 5 6 7
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
bytes/track: 0 (obsolete)
bytes/sector: 0 (obsolete)
current sector capacity: 16514064
LBA user addressable sectors = 120103200
Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 2048.0kB ECC bytes: 57 Queue depth: 1
Standby timer values: spec'd by standard, no device specific minimum
r/w multiple sector transfer: Max = 16 Current = 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* look-ahead
* write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct

debian:/usr/src/linux# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.28 seconds =457.14 MB/sec
Timing buffered disk reads: 64 MB in 1.34 seconds = 47.76 MB/sec


All times are GMT -5. The time now is 10:14 PM.