LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-05-2003, 04:59 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
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]#
 
Old 03-05-2003, 05:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
is this a question or a statement?
 
Old 03-05-2003, 06:07 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
it is a question ... =(
 
Old 03-05-2003, 07:07 PM   #4
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
try turning on dma, and tweaking it with hdparm
 
Old 03-05-2003, 11:33 PM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
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
 
Old 03-05-2003, 11:44 PM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
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
 
Old 07-28-2003, 06:15 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hdparm enabled but still slow copy props666999 Slackware 6 08-08-2005 07:54 PM
Very slow hdparm results speck Linux - Hardware 2 06-09-2005 03:18 AM
Very slow disk reads? - hdparm Ada Linux - General 4 09-13-2004 11:48 PM
Errr, WTH is going on with this???? fatgod Linux - General 5 09-10-2003 06:30 PM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 10:37 PM


All times are GMT -5. The time now is 10:39 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration