LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-02-2001, 08:09 PM   #61
billsabub
Member
 
Registered: Feb 2001
Posts: 108

Rep: Reputation: 15

OK, I'm finally to the point where I can tweak the system. I read the man on hdparm but still no joy. The output is:


/dev/hda2:
could not allocate sharedmem buf: Function not implemented
could not allocate sharedmem buf: Function not implemented


Any ideas? I am running this as root.

TIA.
 
Old 02-04-2002, 10:39 PM   #62
brian_eye
LQ Newbie
 
Registered: Oct 2001
Location: Newport, RI
Posts: 14

Rep: Reputation: 0
2 more drives!

2 more drives!

Dell Dimension XPSR 350 upgraded to 850 MHz P-III.
Intel SE440BX motherboard. 100 MHz memory bus.
Promise Ultra-100 IDE card w/ PDC 20267 chip.
RedHat 7.1

Drive 1: # hdparm -t /dev/hde
IBM Deskstar 60GXP 60GB 7200 RPM ATA/100 2MB buffer
model IC35l060AVER07

64 MB in 1.75 sec = 36.57 MB/SEC (udma5 or Ultra-100)
64 MB in 1.72 sec = 37.21 MB/SEC (udma5 or Ultra-100)
64 MB in 1.74 sec = 36.78 MB/SEC (udma5 or Ultra-100)
AVERAGE 36.85 MB/SEC


Drive 2: # hdparm -t /dev/hdg
Western Digital Caviar 8.4GB 5400 RPM ATA/66 512K buffer
model AC28400

64 MB in 4.91 sec = 13.03 MB/SEC (udma2 or Ultra-33)
64 MB in 4.92 sec = 13.01 MB/SEC (udma2 or Ultra-33)
64 MB in 4.91 sec = 13.03 MB/SEC (udma2 or Ultra-33)
AVERAGE 13.02 MB/SEC

Interesting note: Drive 2 is Ultra-66, but it defaults to Ultra-33 (udma2) in RedHat 7.1
# hdparm -X68 /dev/hdg sets the drive to Ultra-66 (udma4),
where 68=64+4 and +4 is for udma4. However, in Ultra-66
mode, I still get the same results as for Ultra-33 posted above.
 
Old 02-05-2002, 02:39 AM   #63
Wazza
Member
 
Registered: Dec 2000
Location: South Australia
Distribution: RedHat 7.2
Posts: 55

Rep: Reputation: 15
Interesting post.

Red Hat 7.2
Seagate ST315323A
15G OEM

32-bit I/O off
DMA off
64MB in 21.34 seconds = 3.00 MB/sec

32-bit I/O on
DMA on
64MB in 5.98 seconds = 10.70 MB/sec

Can someone tell me if PIO modes can be changed within Linux?
The BIOS is set to 4 if I remember correctly, Im wondering if this has any effect when up and running.
Thanks.

Wazza
 
Old 02-05-2002, 04:43 AM   #64
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney, Australia
Distribution: Debian Unstable
Posts: 279

Rep: Reputation: 36
This is my main Drive. It is a 30gb IbM deskstar. seems quite fast compared to the other results.

Quote:
linux:/home/scole # hdparm -t /dev/hda

/dev/hda: Timing buffered disk reads: 64 MB in 1.68 seconds = 38.10 MB/sec
 
Old 02-06-2002, 05:38 PM   #65
chamkila
Member
 
Registered: Nov 2001
Distribution: Redhat 7.3 Slackware 8.1
Posts: 87

Rep: Reputation: 15
Here are my results


/dev/hda:
Timing buffered disk reads: 64 MB in 4.62 seconds = 13.85 MB/sec

Is that any good?

Thanks

Chamkila
 
Old 02-06-2002, 11:21 PM   #66
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Here's my drives, /dev/hda is a Maxtor 8.4 GB ATA66, and /dev/hdb is a Maxtor 40GB ATA100 (though it is on IDE channel hence support is now only for ATA66)

/dev/hda:
Timing buffer-cache reads: 128 MB in 1.13 seconds =113.27 MB/sec
Timing buffered disk reads: 64 MB in 4.37 seconds = 14.65 MB/sec

/dev/hdb:
Timing buffer-cache reads: 128 MB in 1.06 seconds =120.75 MB/sec
Timing buffered disk reads: 64 MB in 2.84 seconds = 22.54 MB/sec
 
Old 02-07-2002, 07:37 AM   #67
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
Seagate 20G
/dev/hda :

Timing buffer disk reads : 64 MB in 2.94 seconds = 21.77 MB/sec
 
Old 02-07-2002, 08:56 AM   #68
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
400 MHz 20GB IDE Slack 8

/dev/hda1:
Timing buffered disk reads: 64 MB in 3.38 seconds = 18.93 MB/sec



100 MHz 4GB IDE RH 7.2

/dev/md0:
Timing buffered disk reads: 64 MB in 9.69 seconds = 6.60 MB/sec



733 MHz 20GB IDE Slack 8

/dev/hda1:
Timing buffered disk reads: 64 MB in 2.72 seconds = 23.53 MB/sec


750 MHz 20GB Laptop RH 7.2

/dev/hda1:
Timing buffered disk reads: 64 MB in 3.82 seconds = 16.75 MB/sec


the one I'm on has no hdparm yet...
/dev/hdb1:
Blazing Fast

LFS 3.1

Last edited by DavidPhillips; 02-07-2002 at 08:58 AM.
 
Old 02-07-2002, 07:57 PM   #69
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
Actually my readings are :


/dev/hda :

Timming buffered disk reads :
64MB in 2.89 seconds = 22.15 MB/sec
....... cache reads :
128MB in 0,84 seconds = 152.38MB/sec
 
Old 02-08-2002, 05:47 PM   #70
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
bash-2.05# hdparm -i /dev/hda

/dev/hda:

Model=QUANTUM FIREBALLlct08 08, FwRev=A05.0X00, SerialNo=692936152914
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=16514064
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
AdvancedPM=no
Drive Supports : ATA/ATAPI-4 T13 1153D revision 15 : ATA-1 ATA-2 ATA-3 ATA-4

bash-2.05# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.76 seconds =168.42 MB/sec
Timing buffered disk reads: 64 MB in 3.44 seconds = 18.60 MB/sec
bash-2.05# hdparm -i /dev/hdb

/dev/hdb:

Model=ST313021A, FwRev=3.32, SerialNo=5EH08613
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=512kB, MaxMultSect=32, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=25434228
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 udma3 *udma4
AdvancedPM=yes: unknown setting
Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5

bash-2.05# hdparm -Tt /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.84 seconds =152.38 MB/sec
Timing buffered disk reads: 64 MB in 3.40 seconds = 18.82 MB/sec
bash-2.05#
 
Old 02-11-2002, 05:19 PM   #71
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15
Timing buffered disk reads: 64 MB in 3.29 seconds = 19.45 MB/sec

Model:Fujitsu MHN2300AT
Bus Type: ATAPI/IDE
Capacity: 29302MB
Heads: 255
Sectors: 63
Cylinders: 3648
 
Old 02-13-2002, 06:24 AM   #72
Hubas
LQ Newbie
 
Registered: Feb 2002
Location: Sweden, Uppsala
Posts: 15

Rep: Reputation: 0
My performance stinks

I don't know why but my drive isn't performing at all good

It's a seagate barracuda IV 80 GB 7200

buffered disk reads: 64 MB in 9.45 seconds = 6.77 MB/s
buffer-cache reads: 128 MB in 0.62 seconds = 206.45 MB/s

If I type hdparm -d1 /dev/hda in single user mode I get this output

setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

If I type hdparm -I /dev/hda I get this somewhere

DMA modes: ....*udma5

Which is quite confusing. It says it's running UltraDMA5 but not dma?

I've checked on VIA's homepage, they have some kind of document about this, but it doesn't seem to be aimed at my specific problem.

Do I have to recompile a new kernel to make this work the way it is supposed to?

It might be a tough question for you to answer, but anyway if anyone knows something

______________________________________
These are my system specs, they should be able to perform quite well.

AMD AthlonXP +1700
Soltek sl75drv2 (kt266a based)
256MB DDR
Seagate Barracuda IV 80Gb 7200 rpm ATA100
 
Old 02-13-2002, 06:50 AM   #73
Hubas
LQ Newbie
 
Registered: Feb 2002
Location: Sweden, Uppsala
Posts: 15

Rep: Reputation: 0
I did it!

I compiled the 2.4.17 kernel and now it works a lot better

Guess I answered my own question

hdparm -t /dev/hda
->40.5 MB/s
hdparm -t /dev/hda
->228.5 MB/s

Now I'm going to try fix Nvidia on this kernel...if it's possible
 
Old 02-13-2002, 08:09 AM   #74
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
My salvaged P120 gets 3.48 MB/s

Awwww, cute
 
Old 02-17-2002, 02:40 PM   #75
joe_stevensen
LQ Newbie
 
Registered: Jun 2001
Location: San Jose, CA
Distribution: Debian (Servers); Gentoo (Desktop)
Posts: 29

Rep: Reputation: 15
Lightbulb How to get better IDE performance!

Get better performance out of your IDE drives by typing the following.


hdparm -c1 -d1 /dev/hda

- turn on 32 bit mode (-c1)
- turn on DMA flag (-d1)


Then try this:

hdparm -t /dev/hda

and see the results!

PS: This setting will not 'stick'. You need to add the above command to your startup scripts.
 
  


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 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 10:38 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