Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Odd performance with a Western Digital Harddrive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Sun Aug 21, 2005 7:04 am    Post subject: Odd performance with a Western Digital Harddrive Reply with quote

I just recieved the RMA of my two 200 gig western digital harddrive, and right away I installed them and set up the hdparm to check/test them and i'm geting great performance on one drive, but the other one is having horriable performance, any ideas why.

Code:

hdparm -a256A1c1d1m16u1 /dev/hda /dev/hdb


Code:

hdparm -tT /dev/hda /dev/hdb

/dev/hda:
 Timing cached reads:   3988 MB in  2.00 seconds = 1992.31 MB/sec
 Timing buffered disk reads:    2 MB in  3.76 seconds = 544.33 kB/sec

/dev/hdb:
 Timing cached reads:   4108 MB in  2.00 seconds = 2053.29 MB/sec
 Timing buffered disk reads:   50 MB in  3.08 seconds =  16.23 MB/sec


hdparm -tT /dev/hda /dev/hdb

/dev/hda:
 Timing cached reads:   3848 MB in  2.00 seconds = 1923.33 MB/sec
 Timing buffered disk reads:   48 MB in  3.14 seconds =  15.30 MB/sec

/dev/hdb:
 Timing cached reads:   3976 MB in  2.00 seconds = 1987.31 MB/sec
 Timing buffered disk reads:  108 MB in  3.01 seconds =  35.92 MB/sec



Interesting, with some testing, my performance has went from 512KB/sec (YES kilobytes!) up to 54 megabyte then back down to 1-2 megabyte. wtf?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54815
Location: 56N 3W

PostPosted: Sun Aug 21, 2005 11:29 am    Post subject: Reply with quote

Antimatter,

a) Something else has been using the drive while you have been testing
b) You have been turning DMA on and off.
c) both a) and b)

Code:
hdparm /dev/hd...
will tell you if DMA is being used or not
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Sun Aug 21, 2005 12:38 pm    Post subject: Reply with quote

How are the drives jumpered Master/Slave or cable select?

jeff
Back to top
View user's profile Send private message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Sun Aug 21, 2005 8:35 pm    Post subject: Reply with quote

Now this is fucking wierd, okay

/dev/hda: (master jumper) anyway it used to detect in bios as a western digital 200 gig harddrive, now its detecting as a 250 gig harddrive wtf? and the bios says it is only 88,873 megabyte large.

/dev/hdb: (slave jumper) detects as a 200 gig harddrive in bios, but only see 88,873 meg, wtf?

Then now when i boot up linux i get shit ton of errors from the kernel about seek being done, or not able to find zero track.

And 90% of the time both harddrive does not show up in the bios?!


Anyway here's the deal, i suspected the power supply killed my old two harddrive so i had it replaced with a high quality power supply, pcp&c (1% tolerance on their rail, its very nice)

Plus also i just got these harddrive in the mail a few days ago and finally got around to plug them in, and now i'm having problems with them.

Anyway i'll test them in a different IDE slot, if it works fine then that means one of my IDE slot on my motherboard is fubar, but that will also mean that i will need to buy a IDE card for my motherboard and i only have one PCI slot free! arugh!


/dev/hda: (master jumpered)
/dev/hdb: (slave jumpered)

and this is my result that i'm geting now. Yestday i was geting that it was set to ultradma mode 5 i think. now today the only avaiable mode is pio 0.

Code:

hdparm -tT /dev/hda /dev/hdb

/dev/hda:
read() failed: Input/output error
 Timing buffered disk reads:  read() failed: Input/output error
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output error

/dev/hdb:
read() failed: Input/output error
 Timing buffered disk reads:  read() failed: Input/output error
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output error


and also

Code:

ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x10 { SeekComplete }

ide: failed opcode was: unknown
hdb: drive not ready for command
ide0: reset: success
hdb: status error: status=0x10 { SeekComplete }

ide: failed opcode was: unknown
end_request: I/O error, dev hdb, sector 0
printk: 40 messages suppressed.
Buffer I/O error on device hdb, logical block 0
hdb: drive not ready for command
hdb: status error: status=0x10 { SeekComplete }

ide: failed opcode was: unknown
hdb: drive not ready for command




I have 4 other SATA slot avaiable on my motherboard so if one of my IDE slot is bad i can look into buying something alikin to this SATA to IDE adapter and have them run off the SATA.

The resason is, because i'm poor and i don't have the kind of money to replace the motherboard or anything :(
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Wed Aug 24, 2005 1:54 am    Post subject: Reply with quote

What is the condition of your cables?

jeff
Back to top
View user's profile Send private message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Thu Sep 15, 2005 2:08 am    Post subject: Reply with quote

jschellhaass wrote:
What is the condition of your cables?

jeff


Actualy that's what i checked next, and i'm suspecting one of my cable is bad, because when i replaced it with a different brand, both harddrive showed up in the bios correctly, so i'm going to get around to hooking up the new cable and giving them a shot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum