LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-16-2002, 03:46 PM   #106
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15

Have a lot of fun...
zeus:~ # hdparm -tT /dev/hdc

/dev/hdc:
Timing buffer-cache reads: 128 MB in 0.63 seconds =203.17 MB/sec
Timing buffered disk reads: 64 MB in 1.92 seconds = 33.33 MB/sec
zeus:~ # hdparm -tT /dev/md0

/dev/md0:
Timing buffer-cache reads: 128 MB in 0.63 seconds =203.17 MB/sec
Timing buffered disk reads: 64 MB in 2.37 seconds = 27.00 MB/sec


md0 is a 5 disk raid 5 array, hdc is just a 40 gig maxtor ultra ata 100
 
Old 08-18-2002, 12:39 AM   #107
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
For a year and a half now I've had an Abit K7v RAID and never bothered to put anything on the HPT 370 controller. Recently I yanked my 2 dinky drives for other jobs leaving the DVD player and a 40Gb. Heck, changed fstab, swapped the drives...

Western Digi 40Gb 7200RPM:

bash-2.05a# hdparm -t /dev/hde

/dev/hde:
Timing buffered disk reads: 64 MB in 2.06 seconds = 31.07 MB/sec

Holy fat cats! I had never beaten 12 before!

I'm such a slacker...

Cheers,

Finegan
 
Old 08-19-2002, 07:47 AM   #108
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Unhappy DMA error

My drive is a MAXTOR 6L040J2 7200rpm

timing buffered disk reads: 64mb in 9.53 seconds = 6.72mb/sec

which sucks!

when I try to turn on DMA by typing:

hdparm -d1 /dev/hda
I get the following error:
HDIO_SET_DMA failed: Operation not permitted
using DMA=0 (off)

I am pretty sure my drive supports DMA.

I am using Redhat 7.2 , I think my problem is that I am trying to change this setting while running xWindow (Gnome)
How do I exit to the console? without having the xWin system running?
 
Old 08-19-2002, 08:07 AM   #109
furrie
LQ Newbie
 
Registered: Dec 2001
Location: Yate, Bristol, England, UK
Distribution: CentOS, Ubuntu, FreeBSD
Posts: 23

Rep: Reputation: 15
Just a quicky...

I have recently moved from Mandy 8.1 to 8.2

I no longer have access to hdparm!

How can I get this back?

Sorry for being such a flaming lamer!
 
Old 08-19-2002, 08:31 AM   #110
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Unhappy DMA Error

I have eliminated the possibility of the problem having anything to do with being logged into the xwindow system!

And I still cant turn on DMA

any ideas anyone?
 
Old 08-19-2002, 08:36 AM   #111
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
does maxtor have a bootable utility floppy like WD?

maybe it needs to be enabled on the drive.
 
Old 08-19-2002, 08:44 AM   #112
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Have you tried typing the following at the console:
Code:
hdparm -I /dev/hda
or
Code:
hdparm -i /dev/hda
This will show information about the hard drive and what it's capabilities are.

Last edited by X11; 08-19-2002 at 08:46 AM.
 
Old 08-19-2002, 08:54 AM   #113
furrie
LQ Newbie
 
Registered: Dec 2001
Location: Yate, Bristol, England, UK
Distribution: CentOS, Ubuntu, FreeBSD
Posts: 23

Rep: Reputation: 15
[root@aegean furrie]# hdparm -i /dev/hda
bash: hdparm: command not found
[root@aegean furrie]# hdparm -I /dev/hda
bash: hdparm: command not found

:-(
 
Old 08-19-2002, 08:59 AM   #114
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
try locate hdparm

either you don't have it (install it)

or it's not in your path (change path)
 
Old 08-19-2002, 04:38 PM   #115
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Maxtor 80GB ATA-100 7200 RPM
/dev/hda:
Timing buffered disk reads: 64 MB in 1.62 seconds = 39.51 MB/sec

Seagate 60GB ATA-100 7200RPM
/dev/hde:
Timing buffered disk reads: 64 MB in 1.38 seconds = 46.38 MB/sec

Maxtor 80 ATA-100 5400 RPM
/dev/hdg:
Timing buffered disk reads: 64 MB in 1.98 seconds = 32.32 MB/sec

Not too bad...
 
Old 08-19-2002, 05:53 PM   #116
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Unhappy DMA Error (getting more confusing!)

I just did a hdparm -i /dev/hda and it seem it my maxtor drive will support almost everything!

model= MAXTOR 6L040J2, FwRev=A93.0500, SerialNo=562205212684
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
Raw CHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultisect=16, MultSect=16
CurCHS=16383/16/63, CurSects=-66060037, 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 udma0 udma1 udma2
AdvancedPM=no
Drive Supports: ATA/ATAPI -5 T13 1321D revision 1 : ATA-1 Ata-2 Ata-3 Ata-4 Ata-5

this is everything about my drive. and it seems to say that dma is supported?
Thanks for all your help guys javascript:smilie('')
I will get this issue sorted! I cant go on living knowing that Im not even getting 7mb/s
 
Old 08-19-2002, 08:32 PM   #117
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Thumbs down DMA error continuation

I read up what i could from maxtors web site and, i had a look in the bios, which provides me with the option in integrated peripherals to change the mode of the ide devices from auto to either mode 1,2,3,4
and it also allows me to either put UDMA on auto or disabled nothing else.

my motherboard is a Soltek SL-75DRV4 VIA APOLLO KT-266A series.

Bios is Award Bios v6.0

Im beginning to think i am going to be stuck with 6.xxmb/s , and am running out of ideas!
 
Old 08-19-2002, 09:51 PM   #118
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Last time I dealt with maxtor it had a bios on the hard drive. Not sure if they do that still. It was a workaround for old bioses that would not support large drives.
 
Old 08-20-2002, 05:02 AM   #119
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Cheers

It doesnt seem that that is the case with maxtor drives anymore (well mine anyway) Although at the maxtor site they do speak about old bios' not being able to handle the new DMA 66 100 and 133 buses.

I dont think this could be part of my problem, my motherboard is new.
Im running a AMD 1700XP with 512Mb DDR Ram and then the damn Maxtor 40Gb drive grrrrrr

This 6.6Mb/sec is really starting to get to me now that I know about it! haha
 
Old 08-20-2002, 07:02 AM   #120
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
try using -d1 -X??

list of types

hdparm -X33 -> MDMA 1 13.3MB/sec
hdparm -X34 -> MDMA 2 16.6MB/sec
hdparm -X64 -> UDMA 0 (ATA16) 16.7MB/sec
hdparm -X65 -> UDMA 1 (ATA 25) 25MB/sec
hdparm -X66 -> UDMA 2 (ATA 33) 33MB/sec
hdparm -X67 -> UDMA 3 (ATA 44) 44.4MB/sec
hdparm -X68 -> UDMA 4 (ATA 66) 66MB/sec
hdparm -X69 -> UDMA 5 (ATA 100)100MB/sec

make sure your bios has UDMA enabled
 
  


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 12:47 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