LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 01-01-2003, 09:55 PM   #226
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware, LFS, Gentoo
Posts: 158

Rep: Reputation: 16

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

That's with -c1 -X69 -u1, and the test was done in a fairly active X session.

Last edited by Electrode; 01-01-2003 at 10:36 PM.
 
Old 01-01-2003, 11:11 PM   #227
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
Well, for about $4.00 USD you can go to a computer store and end up with a set of things called HD rails in a little box with screws. It's called a Hard Drive Rail kit and it will keep your HD from sliding around and getting hurt if the case is tipped, tilted, moved, dropped, etc.

This sound like a workable system now, given how old some of its parts are (performance is always relative!)

John.
 
Old 01-02-2003, 10:40 AM   #228
roskoo
LQ Newbie
 
Registered: Apr 2002
Distribution: redhat7.2
Posts: 16

Rep: Reputation: 0
dd fast ide udma/66 20go-----(PIII 600)

QUANTUM FIREBALLlct10 20 bus ide / physical:39560/16/63


hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 4.12 seconds = 15.53 MB/sec
 
Old 01-03-2003, 12:01 AM   #229
commuter
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Rep: Reputation: 0
Well since I've been having so much fun on this older machine I have neglected my dual boot XP/RH8 laptop!
P3 pentium 2.0 gig
512 MB Ram

First i tested /dev/hda with 16 bit I/O No DMA

/dev/hda:
Timing buffered disk reads: 64 MB in 15.85 seconds = 4.04 MB/sec

then I turned on 32-bit I/O and DMA
hdparm -c 1 -d 1 /dev/hda

/dev/hda
Timing buffered disk reads: 64 MB in 3.37 seconds = 19.01 MB/sec

Wow that rules!
I must play with the laptop more now that I'm getting better at Linux !
commuter
 
Old 01-03-2003, 12:26 AM   #230
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
Try turning off 32-bit IO only, ok???? Speed SHOULD be at least 1.5 to 1.8 TIMES that speed if the HD is a very good one.

John.
 
Old 01-06-2003, 01:32 AM   #231
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
dev/hda:
Timing buffered disk reads: 64 MB in 1.41 seconds = 43.69 MB/sec

40 GIG IBM Deathstar, ATA 100
 
Old 01-10-2003, 10:36 PM   #232
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
/dev/hdg
/dev/hdh


[joe@dhcp-346-5 joe]$ hdparm -t /dev/hdg
bash: hdparm: command not found

i have 2 western digital 7200 rpm running on a promise adapter card. maybe thats why the error?

AD
 
Old 01-10-2003, 11:13 PM   #233
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
never mind
Timing buffered disk reads: 64 MB in 1.87 seconds = 34.24 MB/sec
 
Old 01-15-2003, 06:00 PM   #234
trycoon
LQ Newbie
 
Registered: Jun 2002
Distribution: Slack
Posts: 7

Rep: Reputation: 0
my results

Timing buffered disk reads: 64 MB in 1.42 seconds = 45.07 MB/sec

That's on a WD 120GB IDE HD, with 8MB cache.
But you are comparing apples with bananas... These numbers are as useful as BogoMips! (have 3060 BTW)
 
Old 01-16-2003, 10:47 AM   #235
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
Actually, what happens is this:

The best number for any oine box is dependent on how well the controller works with the HD. They are relative.

You are telling me you have a 3.06 GHz cpu(or possibly a very fast Athlon XP with a tuned kernel, AKA a 786 which Linux probably thinks is a i686 compatible) running a HD the same speed as my 60 Gig JB series or my 80 Gig JB on a machine with a bogomips of 1793 (my Willamette 1.8 GHz CPU).

That optimum speed holds true for each machine class, and has to do with the priority that DMA as used with IDE\ATA has in the system at hand.

The buffering made some difference, it took the speed from ~34 M/sec (on a BB series WD) and in the bigger buffered HD (JB series) it went up to ~45M/sec. The 60Gig JB and 80Gig JB and 120Gig JBs all have the same throughput in effectiveness, and Pentium III and up does not make s radical difference with same class drive on same class controller.

That was what I was trying to figure out, thanks for the input.

If machine class is taken into account, we in fact have an apples-to-apples between machiens of same class and can then look a t how good DMA is in that class. RAM open does not change this, nor does video, nor does sound. DMA chip is a dedicated chip in most boards, though a few use a SB for this also.

Thus, since the control is not routed through CPU usally, we can in fact compare HDs within each machine class. Unlike most things, this one bench is pretty consistent within each class of 386, 486, 586, 686, 786, etceterra.

Bogomips is millions of instructions per second, and in fact will say how fast a CPU is running smoothly -- if way low, either damaged or overheating or wrong voltage or overclocked beyond limit of system ahd having to wait state things.

Best use is own machine against own machine, for comparative benches, as with ALL benchmark suites for 90% of the benchmarks tested.

Changing one setting can impact many other performance isssues that show in benching, so I mostly use comparative benching to performance tune.

John
 
Old 01-21-2003, 03:15 PM   #236
trycoon
LQ Newbie
 
Registered: Jun 2002
Distribution: Slack
Posts: 7

Rep: Reputation: 0
Ok, I just missed the purpose with your post. Thought you where trying to compare the effective speed of different harddrives by running hdparam. Sorry!
 
Old 01-21-2003, 04:03 PM   #237
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
Well, no, was looking at how data was really being stored in Linux, and noting that things that make almost zero difference in some Windows installs makes one HECK of a difference in Linux on the same machine.

Looking at how linux used machines' DMAs and hard drives.

No problem at all.

John.
 
Old 01-26-2003, 04:15 AM   #238
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 270

Rep: Reputation: 30
I've obtained an huge speed increment, from 3 to 40mb/s, with a Maxtor 60gb 7200rpm. Great!

[ hdparm -c3 -d1 -k1 -u1 -p4 -X69 /dev/hda ]

But i don't know how to make this to be excuted before the fsck check, with Debian.

Does someone can help me?

Thx in adv.
 
Old 01-26-2003, 05:54 AM   #239
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
Actaully, my system does a fast journal check and only does an fsck if a journal shows a write was not completed (word used is commited, is completely finished write that is logged). I could be wrong, but are you using an Ext2 file system???

If so, for the kind of HD you have iuf you shut down and restart your machine often I would suggest you use a journalled file system. the problem is, I do not know how to convert from Ext2 to Ext3 and how to tell in Debian Potato how to tell what fs is in use-- are there any more advanced Debian users who can help out here???

The only other thing is, are you using the reset switch or thepower switch to shut down??? If so, the command halt will shut down, and the commnad reboot will restart your computer in an organized manner if you have a journalling file system running.

John.
 
Old 01-28-2003, 12:02 PM   #240
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 270

Rep: Reputation: 30
The fsck is done every moreless 40 times i turn on the pc, and i have an ext3. But since it takes, at 3mb/s a lot of times, i would like to speed up even this operation. [ Also i have Debian 3.0 woody ]. And i use poweroff or reboot.

The problem is that i am not sure of what can i do to insert a script before the fsck, without any damage to the system.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 12:00 AM.

Main Menu
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