View previous topic :: View next topic |
Author |
Message |
SlicerDicer Tux's lil' helper
Joined: 18 Nov 2003 Posts: 105 Location: Swirling in the Dunny, and please remember close the seat.
|
Posted: Sun Feb 15, 2004 6:22 am Post subject: UDMA5, hdparm, and many other odd problems |
|
|
Well this will make a interesting read none the less.
Well i started out with my drive being set non DMA worked it out got DMA fired up and the rest working well. From there I started tweeking with the hdparm settings to try to get above 25mb/sec transfer. Oddly enuff as I continued to do this my buffer-cache was just roaring up
Quote: |
/dev/hda:
Timing buffer-cache reads: 1768 MB in 2.00 seconds = 883.69 MB/sec
Timing buffered disk reads: 80 MB in 3.06 seconds = 26.15 MB/sec
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1808 MB in 2.00 seconds = 902.78 MB/sec
Timing buffered disk reads: 76 MB in 3.10 seconds = 24.53 MB/sec
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1760 MB in 2.00 seconds = 879.69 MB/sec
Timing buffered disk reads: 72 MB in 3.01 seconds = 23.92 MB/sec
|
As you can see my Buffer-Cache is just incredible.. I dont know why it does so well but my Buffered disk reads are terrible. Bear in mind i use a Westerndigital many test have been done to probe what is the deal. During bootup of gentoo I can see the kernel saying ATA133 support with Nforce2 so I do know that my BIOS and Kernel are supporting it. At this point i started to probe the harddrive. Harddrive said with Westendigital tools that it was not set to UDMA5 but insted MW DMA 2 so I started to look around found my bootdisk that came with WD Drive and began to run the tools there and set it to UDMA5 or ATA-100 well it said it set it but i cannot set it to UDMA5 in gentoo.. well I hope that some of you may have solved this if not I will be calling WD and Gigabyte both on monday to either get my harddrive replaced or motherboard replaced whatever is the problem or get the bloody thing fixed all i want to do is have it work
Thanks guys
SlicerDicer |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sun Feb 15, 2004 3:08 pm Post subject: |
|
|
SlicerDicer,
What does /sbin/hdparm -i /dev/hda say?
Your buffered cache read speed is reading data from memory chips on the hdd. Its a measure of how fast the interface can shift data without reading it from the drive platters.
Disk reads is the speed you get when you have to fetch data from the surface of the drive.
Anyway the above command will tell you whats what.
You do have an 80 conductor cable on that drive don't you?
and there is a drive at the end of the cable (not just in the middle) ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SlicerDicer Tux's lil' helper
Joined: 18 Nov 2003 Posts: 105 Location: Swirling in the Dunny, and please remember close the seat.
|
Posted: Mon Feb 16, 2004 7:27 am Post subject: |
|
|
Code: | Model=WDC WD1600JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEK2498572
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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:
* signifies the current active mode
|
there ya go buddy regardless man I have done manythings from enableing it changing cables all that stuff it just refuses to enable i dont know why?
just to note
Code: | bash-2.05b# hdparm -d1 -X69 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
using_dma = 1 (on)
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=WDC WD1600JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEK2498572
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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:
* signifies the current active mode
bash-2.05b#
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Mon Feb 16, 2004 8:38 pm Post subject: |
|
|
SlicerDicer,
You are using UDMA2 which is 33Mb/sec max on a drive that can support 100Mb/s
Have you got an 80 conductor UDMA hdd cable?
It should look like your floppy cable but with twice as many wires per inch across the cable.
Have you got something plugged in at the end of the cable. Leaving the middle connector free is OK. Leaving the ens one free is not.
Have you got another drive on the same cable that can only do UDMA2 ?
Can your motherboard do better then UDMA2 ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SlicerDicer Tux's lil' helper
Joined: 18 Nov 2003 Posts: 105 Location: Swirling in the Dunny, and please remember close the seat.
|
Posted: Mon Feb 16, 2004 10:37 pm Post subject: |
|
|
Solved: called gigabyte reason being bios was acting funny.
Load failsafe defaults
Load optimised defaults
Disable Raid "cause i dont use it"
Whang away it went speed still slow but i will work on that now hehe
Quote: |
/dev/hda:
Timing buffer-cache reads: 1692 MB in 2.00 seconds = 845.71 MB/sec
Timing buffered disk reads: 114 MB in 3.02 seconds = 37.77 MB/sec
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=WDC WD1600JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEK2498572
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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:
* signifies the current active mode
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1772 MB in 2.00 seconds = 884.37 MB/sec
Timing buffered disk reads: 114 MB in 3.01 seconds = 37.93 MB/sec
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1528 MB in 2.00 seconds = 762.21 MB/sec
Timing buffered disk reads: 114 MB in 3.01 seconds = 37.82 MB/sec
bash-2.05b# |
|
|
Back to top |
|
|
|
|
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
|
|