Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow HD speed
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
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Mon Jun 30, 2003 6:25 pm    Post subject: Slow HD speed Reply with quote

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
View user's profile Send private message
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Thu Jul 03, 2003 11:02 am    Post subject: Reply with quote

bumpity bump

Still suffering. Can anyone help me?
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 03, 2003 11:13 am    Post subject: Reply with quote

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
View user's profile Send private message
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Thu Jul 03, 2003 1:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Thu Jul 03, 2003 2:08 pm    Post subject: Reply with quote

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:

Code:

df -m

_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Thu Jul 03, 2003 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnoodle
n00b
n00b


Joined: 06 Jun 2003
Posts: 45
Location: Los Angeles, California

PostPosted: Fri Jul 04, 2003 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Fri Jul 04, 2003 11:16 am    Post subject: Reply with quote

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
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