LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-01-2002, 02:50 PM   #151
R0N1N
Member
 
Registered: Sep 2002
Location: United States
Distribution: Slackware 8.1, 9.0 / Debian 3.0
Posts: 44

Rep: Reputation: 15

hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64MB in 1.83 seconds = 34.97MB/sec

80 GB ata100 7200 rpm
 
Old 10-01-2002, 03:44 PM   #152
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
My Pentium 200mhz, with 64 megs of RAM serving as my FTP, SSH and NFS server.

Maxtor 1.75 GB 5400 RPM on /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 5.17 seconds = 12.38 MB/sec

Western Digital 17 GB 5400 RPM on /dev/hdb

/dev/hdb:
Timing buffered disk reads: 64MB in 4.12 seconds = 15.53 MB/sec
 
Old 10-01-2002, 04:11 PM   #153
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Western Digi 4.8Gb 7200 in an Ultra Sparc 5:

/dev/hda:
Timing buffered disk reads: 64 MB in 11.00 seconds = 5.82 MB/sec

If I try -i it seg faults :P

My slow punk Dualie PPro 180:

Seagate 3.5Gb 5400:

/dev/hda:
Timing buffered disk reads: 64 MB in 9.43 seconds = 6.79 MB/sec

Samsung 60GB 5400

/dev/hde:
Timing buffered disk reads: 64 MB in 43.9 seconds = 1.46 MB/sec

Woohoo, blazing!

I just realized I forgot the root password to the SS10... great...

Athy 800 webserver:

Maxtor 3.5Gb 5400
/dev/hda:
Timing buffered disk reads: 64 MB in 5.33 seconds = 12.01 MB/sec

IBM 13.5Gb 7200

/dev/hdb:
Timing buffered disk reads: 64 MB in 3.11 seconds = 20.58 MB/sec

Pentium 1 200 little pokey server:

Mitsumi 2Gb 5400 (original harddrive, 5 years of coureous service)

/dev/hda:
Timing buffered disk reads: 64 MB in 7.03 seconds = 9.10 MB/sec

Quantum Fireball (say out loud, its fun), 3.5Gb 5400rpm

/dev/hdb:
Timing buffered disk reads: 64 MB in 5.18 seconds = 12.36 MB/sec

Athy 700, buddy's server (root is good):

Maxtor 30Gb 7200

/dev/hda:
Timing buffered disk reads: 64 MB in 3.52 seconds = 18.18 MB/sec

Maxtor 40Gb 7200:

/dev/hdb:
Timing buffered disk reads: 64 MB in 2.43 seconds = 26.34 MB/sec

Okay, that's it, no more or I'm moving on to laptops...

Cheers,

Finegan
 
Old 10-01-2002, 04:21 PM   #154
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
if anyone is still interested, my results seem to be pretty different:

# hdparm -i /dev/hda

/dev/hda:

Model=Maxtor 6E030L0, FwRev=NAR61590, SerialNo=E10001QE
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=60058656
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 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive Supports : ataATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7

# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.82 seconds =156.10 MB/sec
Timing buffered disk reads: 64 MB in 1.28 seconds = 50.00 MB/sec

I don't know if any other variables effect this... I've got a lot of RAM on this box, so it's not like it had to swap to perform the test. It's got a decently fast processor as well. ::shrug::
 
Old 10-01-2002, 04:49 PM   #155
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Its all ATA controller for the most part, RAM can come into it on the very low end machines. You have an ATA 100 card running a drive at UDMA5, ATA100, that has to be a 7200... good rig. The drive can do 133 according to its parm though.

Everything I had in that huge list was running at a pio mode or mdma, except for that last one which was UDMA4, or ATA66. Still, 50 is a great speed for that rig.

Cheers,

Finegan
 
Old 10-02-2002, 09:13 AM   #156
eltarvag
LQ Newbie
 
Registered: Aug 2002
Distribution: Debian
Posts: 7

Rep: Reputation: 0
/dev/hda:
Timing buffered disk reads: 64 MB in 1.54 seconds = 41.56 MB/sec
/dev/hdb:
Timing buffered disk reads: 64 MB in 1.46 seconds = 43.84 MB/sec

hda is a WD 80GB 7200rpm 8mb cache
hdb is a IBM 80GB 7200rpm
 
Old 10-14-2002, 10:26 AM   #157
karmicro
LQ Newbie
 
Registered: Feb 2002
Posts: 6

Rep: Reputation: 0
/dev/hda
Timing buffered disk reads: 64 MB in 4.25 seconds = 15.06 MB/sec

/dev/hdd:
Timing buffered disk reads: 64 MB in 2.90 seconds = 22.07 MB/sec
 
Old 10-14-2002, 11:41 AM   #158
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
IBM look good!

80 gig IBM 7200RPM
root@PlanetExpress:/home/bax# hdparm -t /dev/hdb1

/dev/hdb1:
Timing buffered disk reads: 64 MB in 1.49 seconds = 42.95 MB/sec
root@PlanetExpress:/home/bax#
 
Old 10-14-2002, 12:48 PM   #159
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Arggg, my chipset (Ali M1535D+) isn't fully supported, and I get awful speed

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.56 seconds =228.57 MB/sec
Timing buffered disk reads: 64 MB in 15.42 seconds = 4.15 MB/sec
root@elf:/# hdparm -t -T /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.53 seconds =241.51 MB/sec
Timing buffered disk reads: 64 MB in 23.23 seconds = 2.76 MB/sec
root@elf:/#
 
Old 10-14-2002, 04:37 PM   #160
Xiphias
LQ Newbie
 
Registered: Oct 2002
Location: Uknown Kadeth
Distribution: SuSE 8.1
Posts: 8

Rep: Reputation: 0
In Linux:
Timing buffered disk reads: 64 MB in 1.99 seconds = 36.16 MB/sec

In Windows (using freshdiagnose from www.freshdevices.com):
Write Speed average =13.93 mb/s
read speed average = 15.06 mb/s
 
Old 10-14-2002, 06:09 PM   #161
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
Half-elf, try this:

As su, in console:

hdparm -d1 /dev/hda
hdparm -d1 /dev/hdb

See if things radically speed up when you repeat the becnchmarking. This turns on DMA mode, and when I turned mine off with:

hdparm -d0 /dev/hdd
the second rate of 46 MB/sec ended up being 3.4 MB/sec instead. Lesson, try turning just the DMA on, to start with. Some distros default it ON, some default it OFF when they install.

Linux does not know my Intel (partly a Brookdale, but an EARLY ICH4 South Bridge) chipset either, but it does like DMA much better than non-DMA mode.

In your case, Xiphias, check and see if in device manager|hard drives the properties for the HDs show that they are NOT in DMA mode, then if you can change to DMA mnode try that-- this is in Windows. It sounds like you have a slightly older HD or HDs, or the CD-ROM or CD-RW if you have one is in DMA mode and the rest of the IDE needs to be. I would leave Linux alone.

On the other hand, if the HDs are in DMA mode when you first check, get them out of it with those results-- Windows can handle HDs not in DMA mode usually, and sometimes is faster that way. Linux does NOT do this, so I would not alter Linux's settings.

John.

Last edited by jdii1215; 10-14-2002 at 06:11 PM.
 
Old 10-14-2002, 08:39 PM   #162
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
WOOOW, now my benchmark is around 37mb/sec!!!
that's good enought for me If I was not using DMA, can you tell me what I was using? PIO?

now if I reboot, will I lost this setting?
Also, how can I know what's the speed of the DMA I'm using (there are DMA33,66,100,133 true?)
If I remember my hardware course right, 100 and 133 are UDMA mode, can I set this up? and can I know witout dangerous trying if my computer can handle this?

Last edited by Half_Elf; 10-14-2002 at 08:53 PM.
 
Old 10-14-2002, 09:18 PM   #163
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
Um,

DMA tells the IDE controller to talk to the HD in a special way. it does not, with Linux, interfere with the UDMA\ATA settings, whihc can be looked like like this:

ATA0 or ATA1 (actually not UDMA, this is 8MB old IDE or less)
UDMA2 = 16.66 MB/sec
UDMA3 = 33 MB/sec
UDMA4 = 66MB/sec
UDMA5 = 100MB/sec
UDMA6 = 133MB/sec and hdparm does not grok this one yet.

Many mobos limit effective throughput to the speed of PCI-- which is usually about 33 MB/sec. And it looks like it is so in your case. My chipset actually allows 100 MB/sec throughput, but my stock kernel does not know how to handle a P4 chipset yet-- it thinks it is a P II (also used for early P III's) chipset. SO, in my case the max upper thorughput I could get in theory out of my drive is 66 MB/sec. But the HDPARM thing is calcing time from start of asking for request to dump buffer to tiem data is written to /tmp. So, since X is running while I do this I am losing a lot of efficiency adsn getting about 50% to 67% depending on drive-- and in fact I benched each partition and thus found out it even allows for seek time variation this way.

John.
 
Old 10-14-2002, 09:21 PM   #164
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
PIO is only used usually for drives that are not 33 MB/sec or faster-- most drives that are that fast or faster set themselves to PIO4 when in what is called LBA mode and UDMA mode is 3 or better. PIO becomes something you do not need to play with given what happened.

John.
 
Old 10-14-2002, 10:16 PM   #165
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
Some toshiba hdd (IDE)
Timing buffered disk reads: 64 MB in 4.85 seconds = 13.20 MB/sec
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:08 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
Open Source Consulting | Domain Registration