View previous topic :: View next topic |
Author |
Message |
antipop Tux's lil' helper
Joined: 04 Oct 2002 Posts: 84
|
Posted: Mon Jun 30, 2003 6:25 pm Post subject: Slow HD speed |
|
|
What's wrong here? I'm using 80GB Seagate Barracuda IV. I should be getting ~45 MB/sec instead of 18.
Code: | hdparm -i /dev/hda
/dev/hda:
Model=ST380021A, FwRev=3.19, SerialNo=3HV1EJTM
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
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
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
|
Code: | hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
|
Code: | hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1780 MB in 2.00 seconds = 890.00 MB/sec
bash-2.05b# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1896 MB in 2.00 seconds = 948.00 MB/sec
Timing buffered disk reads: 54 MB in 3.00 seconds = 18.00 MB/sec |
|
|
Back to top |
|
|
antipop Tux's lil' helper
Joined: 04 Oct 2002 Posts: 84
|
Posted: Thu Jul 03, 2003 11:02 am Post subject: |
|
|
bumpity bump
Still suffering. Can anyone help me? |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Thu Jul 03, 2003 11:13 am Post subject: |
|
|
Have you tried bumping it up to udma5 if you can? Currently it seems your only using udma2.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
antipop Tux's lil' helper
Joined: 04 Oct 2002 Posts: 84
|
Posted: Thu Jul 03, 2003 1:48 pm Post subject: |
|
|
Code: | hdparm -X udma5 /dev/hda
/dev/hda:
setting xfermode to 69 (UltraDMA mode5) |
Code: | hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1924 MB in 2.00 seconds = 962.00 MB/sec
Timing buffered disk reads: 56 MB in 3.10 seconds = 18.04 MB/sec |
Didn't help.
This is odd since I've used to get 40+ MB/sec. That's before reinstall. |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Thu Jul 03, 2003 2:08 pm Post subject: |
|
|
try turn this on:
Code: |
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
|
to enable it and some other things:
Code: |
hdparm -d1 -A1 -m16 -u1 -a64 -X68 /dev/hda
|
then it should work.
btw:
why does it test with only 56 mb ?
check if you have enough free disk space by:
_________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
antipop Tux's lil' helper
Joined: 04 Oct 2002 Posts: 84
|
Posted: Thu Jul 03, 2003 3:01 pm Post subject: |
|
|
Code: | hdparm -d1 -A1 -m16 -u1 -a64 -X68 /dev/hda
/dev/hda:
setting fs readahead to 64
setting multcount to 16
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
setting xfermode to 68 (UltraDMA mode4)
setting drive read-lookahead to 1 (on)
multcount = 16 (on)
unmaskirq = 1 (on)
using_dma = 1 (on)
readahead = 64 (on)
|
Code: |
hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1848 MB in 2.00 seconds = 924.00 MB/sec
Timing buffered disk reads: 54 MB in 3.05 seconds = 17.70 MB/sec |
I have over 3 gigabytes of empty space on the drive so that cannot be the problem. |
|
Back to top |
|
|
gnoodle n00b
Joined: 06 Jun 2003 Posts: 45 Location: Los Angeles, California
|
Posted: Fri Jul 04, 2003 10:07 am Post subject: |
|
|
what about your idebus speed setting? could that be it? _________________ Gnoodle's Not Only an Open source Devoted Linux Enthusiast
Linux: the choice of a GNU generation |
|
Back to top |
|
|
antipop Tux's lil' helper
Joined: 04 Oct 2002 Posts: 84
|
Posted: Fri Jul 04, 2003 11:16 am Post subject: |
|
|
Ok, the problem is solved now.
The problem was that I had accidentally broken my IDE cable that goes to harddrive. I had swapped it to 100% working IDE cable from my CD-RW but somehow HD speed got crippled.
I don't really understand. Maybe the other IDE cable was DMA33 or something.
Thank you all for your help |
|
Back to top |
|
|
|