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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-06-2003, 04:13 AM
#361
LQ Newbie
Registered: Oct 2003
Distribution: Gentoo
Posts: 16
Rep:
WESTERN DIGITAL 800JB
/sbin/hdparm -i /dev/hda
/dev/hda:
Model=WDC WD800JB-00CRA1, FwRev=17.07W17, SerialNo=WD-WCA8E6815048
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,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:
/sbin/hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1720 MB in 2.00 seconds = 860.00 MB/sec
Timing buffered disk reads: 140 MB in 3.01 seconds = 46.51 MB/sec
------------------------
SEAGATE ATA V 7200
/sbin/hdparm -i /dev/hdb
/dev/hdb:
Model=ST380011A, FwRev=3.06, SerialNo=5JV1BR2J
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=16
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: ATA/ATAPI-6 T13 1410D revision 2:
* signifies the current active mode
/sbin/hdparm -Tt /dev/hdb
/dev/hdb:
Timing buffer-cache reads: 1944 MB in 2.00 seconds = 972.00 MB/sec
Timing buffered disk reads: 166 MB in 3.01 seconds = 55.15 MB/sec
-----------------------------
Was very surprised at first when seeing the results you all were getting when I noticed the date of the thread
Very nice thread indeed
11-06-2003, 08:24 AM
#362
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
episode96, why is your drive reading ~2GB instead of ~100-120MB like everyone elses?
11-06-2003, 09:38 AM
#363
Member
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459
Rep:
15GB quantum, 3 years old, without any tweaks, kernel 2.4.22, home made
# /usr/sbin/hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.37 seconds = 54.01 MB/sec
Timing buffered disk reads: 64 MB in 5.55 seconds = 11.53 MB/sec
after hdparm -c 1 d -1:
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.09 seconds = 61.24 MB/sec
Timing buffered disk reads: 64 MB in 4.18 seconds = 15.31 MB/sec
Last edited by ivanatora; 11-06-2003 at 09:46 AM .
11-06-2003, 04:39 PM
#364
Member
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949
Rep:
Quote:
Originally posted by episode96
Was very surprised at first when seeing the results you all were getting when I noticed the date of the thread
Very nice thread indeed
Well, the thread was started a long time ago, but there are many recent posts. I am also trying to figure out how your drive managed 1720mb's....
I have a new 7200rpm Maxtor with an 8mb cache and this is my results:
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1576 MB in 2.00 seconds = 788.00 MB/sec
Timing buffered disk reads: 172 MB in 3.02 seconds = 56.95 MB/sec
Ok. This is weird as hell
I was all ready to post the usual 130mb's or so, and I wound up with 1576. Here is the results I posted last week on this same drive:
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.30 seconds =426.67 MB/sec
Timing buffered disk reads: 64 MB in 1.14 seconds = 56.14 MB/sec
Oh, I see. For some reason hdparm decided to use 2 full seconds today, rather than .30 last week. Episode96 also has 2 seconds.
Anyone know why that is? Was hdparm changed during a recent update maybe? I just updated Slack a few days ago...
Last edited by Scruff; 11-06-2003 at 04:41 PM .
11-08-2003, 10:44 PM
#365
Member
Registered: Jul 2003
Distribution: slackware 9.1
Posts: 45
Rep:
I just bought the same Maxtor 7200 w 8MB cache and had been wondering if I was getting the actual performance it is capable of- here's my results:
Timing buffer-cache reads: 128 MB in 0.24 seconds =533.33 MB/sec
Timing buffered disk reads: 64 MB in 1.45 seconds = 44.14 MB/sec
close enough i guess, but are there options to be played with that could increase this to your results?
11-08-2003, 11:01 PM
#366
Member
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949
Rep:
Try 'man 'hdparm' to get a list of options you can use with it. There is also a decent tutorial
here
We might not get the same numbers due to possible differences in the rest of our hardware. i.e. system bus, cpu, IDE controller, etc.
11-08-2003, 11:21 PM
#367
Member
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949
Rep:
Here's the settings I am using in case that helps:
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 6Y160P0, FwRev=YAR41BW0, SerialNo=Y42943ZE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,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 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
bash-2.05b# 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 = 19929/255/63, sectors = 320173056, start = 0
11-10-2003, 02:54 AM
#368
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
Code:
hdc: Maxtor 4R080L2, ATA DISK drive
blk: queue c043566c, I/O limit 4095Mb (mask 0xffffffff)
hde: Maxtor 4W080H6, ATA DISK drive
blk: queue c0435ad8, I/O limit 4095Mb (mask 0xffffffff)
hdg: Maxtor 4R080L3, ATA DISK drive
blk: queue c0435f44, I/O limit 4095Mb (mask 0xffffffff)
3 80Gig Maxtor ATA133's, 5400rpm, running with two at 100 and one at 33.
Code:
root@melchoir:/home/fin# hdparm -Tt /dev/md0
/dev/md0:
Timing buffer-cache reads: 128 MB in 0.76 seconds =168.42 MB/sec
Timing buffered disk reads: 64 MB in 2.50 seconds = 25.60 MB/sec
Cheers,
Finegan
11-10-2003, 12:01 PM
#369
Member
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291
Rep:
here goes a highly embarrasing post...
17GB Seagate ST317242A , udma2, 5 years old falling apart, root filesystem
/dev/hda:
Timing buffered disk reads: 64 MB in 13.50 seconds = 4.74 MB/s
10 yr old Quantum Sirocco 01700A mdma2, 1700MB, my /home, aquired it last week from my sisters buggered-up PC
/dev/hdd:
Timing buffered disk reads: 64 MB in 12.33 seconds = 5.19 MB/sec
WTF!?!?!!!!?!?!
the older secondary IDE hdd is faster than the new primary master???
must be a bottleneck somewhere
Last edited by randomblast; 11-10-2003 at 12:05 PM .
11-10-2003, 03:44 PM
#370
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
laptop 60GB
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.47 seconds =272.96 MB/sec
Timing buffered disk reads: 64 MB in 2.25 seconds = 28.39 MB/sec
11-12-2003, 04:22 AM
#371
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
Cheapass Toshiba laptop:
Timing buffer-cache reads: 1476 MB in 2.00 seconds = 737.63 MB/sec
Timing buffered disk reads: 72 MB in 3.02 seconds = 23.85 MB/sec
Better than expected - Redhat doesn't do dma and doesn't let me enable it for some reason With gentoo things worked fine.
11-12-2003, 04:34 AM
#372
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
Comp Spec
---------------
Celeron@550 MZ
128 MB RAM
Intel Motherboard
HardDisk SPec
------------------
/dev/hda:
ATA device, with non-removable media
Model Number: ST310212A
Serial Number: 5EG0H4KW
Firmware Revision: 3.02
Standards:
Supported: 5 4 3 2
Likely used: 5
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 20005650
device size with M = 1024*1024: 9768 MBytes
device size with M = 1000*1000: 10242 MBytes (10 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard
R/W multiple sector transfer: Max = 32 Current = 32
Advanced power management level: unknown setting (0x0040)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
* SMART feature set
* Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
HW reset results:
CBLID- below Vih
Device num = 0 determined by the jumper
Checksum: correct
Result of the command : hdparam -Tt /dev/hda
------------------------
Timing buffered cache reads : 128 MB in 1.22 Sec
Timing buffered disk reads : 64 MB in 2.9 Sec = 22.07 MB/Sec
Harddisk is some 4 yrs old
Last edited by jayakrishnan; 11-12-2003 at 11:27 PM .
11-12-2003, 04:50 AM
#373
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
11-12-2003, 03:20 PM
#374
Member
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280
Rep:
Code:
/dev/hda:
Model=Maxtor 91021U2, FwRev=FA520N60, SerialNo=G24LC7CC
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=512kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=19746720
IORDY=on/off, tPIO={min:120,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
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17: 1 2 3 4 5
Timing buffer-cache reads: 128 MB in 1.19 seconds =108.02 MB/sec
Timing buffered disk reads: 64 MB in 2.59 seconds = 24.71 MB/sec
Code:
/dev/hdb:
Model=Maxtor 6Y080L0, FwRev=YAR41BW0, SerialNo=Y263WG9E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160086528
IORDY=on/off, tPIO={min:120,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 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null): 1 2 3 4 5 6 7
Timing buffer-cache reads: 128 MB in 1.17 seconds =109.40 MB/sec
Timing buffered disk reads: 64 MB in 1.29 seconds = 49.42 MB/sec
11-12-2003, 05:56 PM
#375
LQ Newbie
Registered: Jun 2003
Distribution: Debian
Posts: 16
Rep:
Timing buffer-cache reads: 1168 MB in 2.00 seconds = 584.00 MB/sec
Timing buffered disk reads: 8 MB in 3.51 seconds = 2.28 MB/sec <-- haha the power of not getting DMA to work... Its an Western Digital 'cuda' 120GB 7200rpm 8MB cache
Anyone got any advice for getting this to work?
All times are GMT -5. The time now is 02:24 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News