LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-28-2004, 04:49 PM   #406
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430

/dev/hda:
Timing buffered disk reads: 72 MB in 3.02 seconds = 23.84 MB/sec


This is on a Satellite Pro A10 with Slackware-Current installed
 
Old 02-29-2004, 03:44 PM   #407
Sebboh
Member
 
Registered: Nov 2003
Posts: 53

Rep: Reputation: 15
/dev/sda:
Timing buffer-cache reads: 2872 MB in 2.00 seconds = 1434.78 MB/sec
Timing buffered disk reads: 122 MB in 3.04 seconds = 40.15 MB/sec

3ware RAID Controller, 2x80gig 7200 WD Drives, 512Meg 1066 RDRAM
 
Old 03-06-2004, 08:56 PM   #408
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
bash-2.05b# hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.22 seconds =584.56 MB/sec
Timing buffered disk reads: 64 MB in 2.09 seconds = 30.63 MB/sec

emachines laptop
 
Old 03-10-2004, 12:51 PM   #409
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
# hdparm -i /dev/hda

/dev/hda:

Model=HDS722580VLSA80, FwRev=V32OA60A, SerialNo=VNRB3EC2C3WW3M
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7938kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=160836480
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 udma0 udma1 *udma2
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive Supports : Reserved : Reserved : Reserved : ATA/ATAPI-6 T13 1410D revision 1 : Reserved : Reserved : Reserved : ATA-2 ATA-3 ATA-4 ATA-5 ATA-6

# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.13 seconds =984.62 MB/sec
Timing buffered disk reads: 64 MB in 1.15 seconds = 55.65 MB/sec

80GB IBM (Hitachi) Deskstar 7K250 S-ATA on an MSI Neo2 FISR mobo.
 
Old 03-10-2004, 12:55 PM   #410
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
hdparm -Tt /dev/sda

/dev/sda:
Timing buffer-cache reads: 128 MB in 0.13 seconds =984.62 MB/sec
Timing buffered disk reads: 64 MB in 0.87 seconds = 73.56 MB/sec

4 250GB Western Digital Caviars (w/ 8MB buffer) on a Promise Fastrack S150 SX4 RAID controller running RAID 5.
 
Old 03-10-2004, 01:01 PM   #411
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.13 seconds =984.62 MB/sec
Timing buffered disk reads: 64 MB in 1.12 seconds = 57.14 MB/sec

cheapest 7200 rpm Western Digital 40GB drive (2MB buffer) on MSI Neo2 FISR mobo.

----------------------------

Identical setup on an Intel mobo (with slightly slower RAM - though that shouldn't make a difference)

# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =914.29 MB/sec
Timing buffered disk reads: 64 MB in 1.37 seconds = 46.72 MB/sec

difference in speed... could be the inconsistency of the drives, could be the mobo has something to do with it. I don't know.

Last edited by BrianK; 03-10-2004 at 01:16 PM.
 
Old 06-09-2004, 11:13 AM   #412
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
These are my results. Which I'm really not happy with and any help would be greatly appreciated.

120GB Western Digital ATA100 8MB buffer 7,2k rpm. It's about 1 years old, perhaps a little more.
Before "hdparm -c 1 -d 1 -k 1 /dev/hda":
Code:
[14:59 root@atheisticfaith anti]# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:   10 MB in  3.50 seconds =   2.86 MB/sec
While issuing the "hdparm -c 1 -d 1 -k 1 /dev/hda command" I got this output:
Code:
[14:59 root@atheisticfaith anti]# hdparm -c 1 -d 1 -k 1 /dev/hda

/dev/hda:
 setting 32-bit IO_support flag to 1
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting keep_settings to 1 (on)
 IO_support   =  1 (32-bit)
 using_dma    =  0 (off)
 keepsettings =  1 (on)
This is not too cool, right? What can I do to fix this?
And after this command, I got almost double the results, even though it didn't work completely:
Code:
[15:03 root@atheisticfaith anti]# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:   18 MB in  3.26 seconds =   5.53 MB/sec
While trying this command on my other 40GB, three years old hd (specifications unknown) I get the same output.
Before:
Code:
[15:07 root@atheisticfaith anti]# hdparm -t /dev/hdb
After:

/dev/hdb:
 Timing buffered disk reads:   10 MB in  3.12 seconds =   3.20 MB/sec
Code:
[15:13 root@atheisticfaith anti]# hdparm -t /dev/hdb

/dev/hdb:
 Timing buffered disk reads:   16 MB in  3.07 seconds =   5.22 MB/sec
Any help would be greatly appreciated. A note regarding my hds: I experience serious performance loss while transfering data between partitions. Everything gets really chunky and lags like hell so the computer really isn't usable during the transfer, this is not the norm, is it?
 
Old 06-09-2004, 06:42 PM   #413
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
bash-2.05b# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.27 seconds =474.07 MB/sec
Timing buffered disk reads: 64 MB in 1.34 seconds = 47.76 MB/sec
bash-2.05b# hdparm -Tt /dev/hdb

/dev/hdb:
read() hit EOF - device too small
Timing buffered disk reads: 0 MB in 0.00 seconds = nan MB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.
bash-2.05b#

Not good...time to read. GKrelllM shows Mem 1009M - 659M free and Swap 957M - 957M free
 
Old 06-09-2004, 07:03 PM   #414
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
atheist: Check your kernel options under Device drivers/ATA and make sure you have support for your chipset and support for DMA compiled into your kernel. At least, thats where I'd go first


Here is mine these days:

root@genbox scruff # hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 1724 MB in 2.00 seconds = 860.84 MB/sec
Timing buffered disk reads: 172 MB in 3.02 seconds = 56.89 MB/sec
root@genbox scruff # hdparm -Tt /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 1748 MB in 2.00 seconds = 873.26 MB/sec
Timing buffered disk reads: 122 MB in 3.03 seconds = 40.31 MB/sec
 
Old 06-09-2004, 08:43 PM   #415
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
atheist, you got something wrong there partner. You need to check on that. Scruff is right, I would start with that kernel and work from there.

Let us know what you find out. That is to slow.

Later

 
Old 07-06-2004, 11:33 AM   #416
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
Red Hat Enterprise Linux ES 3.0
Intel D875PBZ motherbaord
http://intel.com/design/motherbd/bz/...herbd_d875pbz&
raid 1 running 2 Maxtor 60GB 7200RPM SATA Hard Drive, Model 6Y060M0
This is a linux software raid 1 setup, I dissabled the hardware raid in the bios on the MOBO.
Not very impressed with the results. I was expecting to get more out of the disk reads on this SATA setup. But it does seem to be faster on the cache reads. So maybe someone can explain here what is more important when messuring speed the cache or the disk reads?

[root@mail1 joe]# /sbin/hdparm -tT /dev/sda
/dev/sda:
Timing buffer-cache reads: 3712 MB in 2.00 seconds = 1856.00 MB/sec
Timing buffered disk reads: 152 MB in 3.01 seconds = 50.50 MB/sec

-----------------------------------------------------------------------------------------------------------------------

My older asus P4T running a single maxtor ata133 HD on a promise controller card is faster on the disk reads

[root@mail2 schrock]# /sbin/hdparm -tT /dev/hde
/dev/hde:
Timing buffer-cache reads: 1964 MB in 2.00 seconds = 982.15 MB/sec
Timing buffered disk reads: 170 MB in 3.03 seconds = 56.10 MB/sec
 
Old 07-16-2004, 12:11 PM   #417
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Western Digital 80 GB
Model=WDC WD800JB-00FMA0, FwRev=13.03G13, SerialNo=WD-WCAJ91559479
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=58
BuffType=unknown, 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 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled

Timing buffer-cache reads: 1356 MB in 2.00 seconds = 677.43 MB/sec
Timing buffered disk reads: 170 MB in 3.02 seconds = 56.36 MB/sec
 
Old 07-16-2004, 04:18 PM   #418
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
I could give you guys sparc specs if there was a command similar to hdparm in solaris
 
Old 07-16-2004, 09:17 PM   #419
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
/dev/hda:
Timing buffered disk reads: 54 MB in 3.02 seconds = 17.88 MB/sec


info off of harddrake:
Quote:
Model: ?91360U4

Vendor: ?Maxtor

Bus: ?ide

Channel: ?primary

New devfs device: ?/dev/ide/host0/bus0/target0/lun0/disc

Old device file: ?/dev/hda

Media class: ?hd
 
Old 08-08-2004, 08:59 AM   #420
JordanH
Member
 
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
Wow, I just came across this thread... seems to be going for quite some time!

Off the top of my head I don't remember what brand/models my drives are because they are somewhat old. Both are ide.

hda: 58MB in 3.01 seconds = 19.25MB/s, 876MB in 2.01 seconds = 436.7MB/s
hdb: 110MB in 3 seconds = 36.61MB/s, 872MB in 2 seconds = 435.63MB/s
 
  


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
Test Hard Drive performance? voxel Linux - Hardware 7 09-07-2005 02:44 AM
Horrible Hard Drive Performance????? linux-rulz Linux - Hardware 13 06-26-2005 09:10 PM
hard drive performance true_atlantis Linux - General 3 10-26-2004 04:15 AM
Did not get the Hard drive performance Raid0! alpha97 Linux - Hardware 21 07-24-2004 04:52 AM
hard drive performance bynaar Slackware 2 12-18-2002 07:21 AM


All times are GMT -5. The time now is 05:21 PM.

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