LinuxQuestions.org
Visit Jeremy's Blog.
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 11-01-2002, 03:43 PM   #181
derrickdp
LQ Newbie
 
Registered: Jul 2002
Location: Chicago, IL
Distribution: Mandriva 2007.0, OpenSuse 10.2
Posts: 11

Rep: Reputation: 0
my machine spec


I am running RH 8.0
Atholon 1800 (1.5ghz or so I think)
1gb RAM
I have the Athalon kernel but not a custom kernel

/dev/hda
Western Digital WD800BB (100mb)
(80gb)

/dev/hdc
Maxtor 6L040J2 (133mb)
(40gb)

this is this stuff from the system:

/dev/hda:

Model=WDC WD800BB-00CAA0, FwRev=16.06V16, SerialNo=WD-WMA8E1780053
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, 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
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4 5


/dev/hdc:

Model=MAXTOR 6L040J2, FwRev=AR1.0500, SerialNo=662209241837
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1818kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78177792
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=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 1 2 3 4 5
 
Old 11-01-2002, 07:10 PM   #182
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
Here is why I am interested:

The JB series has 4 times the buffer of the same size in capacity BB series. You have twice as much RAM as I do-- Slower true speed AMD than my truely 1800 MHz P4 (older Willamette, smaller buffer than yours maybe-- depends on what subseries Athlon)

[root@ john]# hdparm -i /dev/hdb

/dev/hdb:

Model=WDC WD800JB-00CRA1, FwRev=17.07W17, SerialNo=WD-WMA8E1874600
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: 1 2 3 4 5

[root@ john]# hdparm -t /dev/hdb

/dev/hdb:
Timing buffered disk reads: 64 MB in 1.38 seconds = 46.38 MB/sec

I THINK in this case, your RAM and IDE controller\bus rules, as my 400BB and 600BB are running at 34-35 MB/sec for the same spec test as your 800BB runs at 46 MB/sec . Thanks.

John.
 
Old 11-02-2002, 03:33 AM   #183
Tnadrev
LQ Newbie
 
Registered: Nov 2002
Location: Ottawa, Ontario, Canada
Distribution: RedHat 8.0
Posts: 15

Rep: Reputation: 0
Actually...

Timing buffered disk reads: 64 MB in 2.69 seconds = 23.83 MB/sec

7200 RPM Standard Fare Maxtor 40GB on MB IDE channel... whois da winner... serious though check your:


hdparm /dev/hda
i tweaked mine to:

/dev/hda:
multcount = 16 (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 = 4867/255/63, sectors = 78198750, start = 0

also hdparm -T will do a test of cach+disk reads:
Timing buffer-cache reads: 128 MB in 0.50 seconds =258.03 MB/sec
 
Old 11-02-2002, 05:55 AM   #184
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
Wait a second-- HIGHER MB\sec is better. We are talking about throughput here, so MORE per second is better.

My cache+disks are around 400 MB\sec and my uncached are 35-40 MB\sec.

Linux buffers writes if DMA mode is off, AFAIK, so the slower time is more effective in actaulity with anything except very large files.

So in my case, I usually turn it on once per distro version, as you have yours on, with

hdparm -d1 /dev/hda #results: ~400 MB\sec, 35 MB\sec
hdparm -d1 /dev/hdb #results: ~400 MB\sec, 46 MB\sec
hdparm -d1 /dev/hdd #results: ~400 MB\sec. 34 MB\sec

(/dev/hdc is my burner, run as /dev/scd0 usually in Mandrake, except when it pretends to be a /dev/cdrom for playing audio CDs).

It is NOT about ME VS world, it is about fastest box I can have with given HW and what HW to get next.

Note: All HDs are in UDMA 5, which is ATA\100, with DMA on, so the DMA controller is doing direct writes. (yes, all are on 80-conductor cable, which with some HDs DOES make a difference).

In your case, if you got a floppy with your HD, from Maxtor, you might check the paperwork you got and see if you can talk your drive into running at ATA\100 instead of ATA\33. If the the HD or motherboard is ATA\33, then you are stuck, but if not then you might get about twice the throughput and about 1\2 the itme waiting for things to write that way.

John.
 
Old 11-02-2002, 10:59 AM   #185
derrickdp
LQ Newbie
 
Registered: Jul 2002
Location: Chicago, IL
Distribution: Mandriva 2007.0, OpenSuse 10.2
Posts: 11

Rep: Reputation: 0
advice

I am going to look into that. Trust me, it took me a look time to get to this level. This is my third set of hard drives. This is the first set of drives in 3 years that had the performance that made me happy. But if I can get a little more out of them I definitly will.

-ddp
 
Old 11-02-2002, 11:42 AM   #186
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, post 184 was to Tnadrev.

Derrick, your settings ROCK.

John.
 
Old 11-02-2002, 10:53 PM   #187
mwjcox
LQ Newbie
 
Registered: Oct 2002
Location: Kansas City
Distribution: Debian Sid
Posts: 15

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


I have a Seagate 20GB drive
 
Old 11-03-2002, 06:40 AM   #188
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
hda is some 15 gig I got w/ my compaq presario
hdb is a maxtor 3 gig I got from an old job


[~][02:40:39]> hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 1.40 seconds = 91.43 MB/sec
Timing buffered disk reads: 64 MB in 3.33 seconds = 19.22 MB/sec
[~][02:41:04]> hdparm -tT /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 128 MB in 1.40 seconds = 91.43 MB/sec
Timing buffered disk reads: 64 MB in 5.71 seconds = 11.21 MB/sec
[~][02:41:29]>
 
Old 11-03-2002, 03:39 PM   #189
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
WOW, never thought this would make such a difference:
(I didn't read the entire thread, so forgive me if this has been stated, but
13 pages is a lot to read when you have work to do. . .)


root@valhalla:~# hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 21.64 seconds = 2.96 MB/sec

root@valhalla:/proc/ide/hda# hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
using_dma = 1 (on)
root@valhalla:/proc/ide/hda# hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 2.18 seconds = 29.36 MB/sec

IBM-DTLA-305030
 
Old 11-03-2002, 05:04 PM   #190
Tnadrev
LQ Newbie
 
Registered: Nov 2002
Location: Ottawa, Ontario, Canada
Distribution: RedHat 8.0
Posts: 15

Rep: Reputation: 0
here is a link at O'Reilly's with a tutorial on hdparm tweaking
http://linux.oreillynet.com/pub/a/li...29/hdparm.html
 
Old 11-03-2002, 05:57 PM   #191
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
Thank you for the link, that was interesting.

John.
 
Old 11-04-2002, 12:29 AM   #192
jct842
Member
 
Registered: Nov 2001
Location: arkansas
Distribution: pclinux
Posts: 58

Rep: Reputation: 17
I did the hdparm maybe 6 months ago, on a older mandrake system. I have been trying to do it again with redhat 7.3 and now mand 9 and could not do it. read all the things written on it here and still could not do it. I did list commands in /sbin. it wasn't there. went to software management and installed hdparm and walla. my best times are for the /hda1 partion with windows on it. 64mb in 1.91 sec for a 33.51 mb per sec. a western 20gig 7200rpm drive. this has opened a large window for me, learning how do this in linux is a mile stone for a dumb x-windows user/ my hda1 is for a scanner and the utility for the printer. thanks everybody john
 
Old 11-04-2002, 05:11 AM   #193
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
Welcome. I am happy it is going faster.
 
Old 11-04-2002, 06:41 AM   #194
Tnadrev
LQ Newbie
 
Registered: Nov 2002
Location: Ottawa, Ontario, Canada
Distribution: RedHat 8.0
Posts: 15

Rep: Reputation: 0
jdii1215

No problem... just a n00b that ran into that link whilst getting my dvds working...


now if i could just get these darn nVidia drivers installed!
 
Old 11-04-2002, 03:25 PM   #195
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, if I find a link on NVidia's site on how to compile drivers I will let you know.

As for the RPMs themselves, RPMFind.net is decent for locating same.

http://rpmfind.net/
http://speakeasy.rpmfind.net/

And there is a decent mirror for all sorts of things at ftp://mirror.mcs.anl.gov/pub/

and another at Purdue University that has decdent sized pipes:
ftp://csociety-ftp.ecn.purdue.edu/pub/

Looks like the Linux reference driver sets are at version 3123 now:
http://www.nvidia.com/view.asp?IO=li...splay_1.0-3123
has the download and basic instructions-- note in step 2 the links to documentation. I recommend you grab the pdf file and save driver and docs to CD-RW.
 
  


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 08:33 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