Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Slow HD speed

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
antipop
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Fri Oct 04, 2002 1:06 pm

Slow HD speed

  • Quote

Post by antipop » Mon Jun 30, 2003 6:25 pm

What's wrong here? I'm using 80GB Seagate Barracuda IV. I should be getting ~45 MB/sec instead of 18.

Code: Select all

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: Select all

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: Select all

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
Top
antipop
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Fri Oct 04, 2002 1:06 pm

  • Quote

Post by antipop » Thu Jul 03, 2003 11:02 am

bumpity bump

Still suffering. Can anyone help me?
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Jul 03, 2003 11:13 am

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.
Top
antipop
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Fri Oct 04, 2002 1:06 pm

  • Quote

Post by antipop » Thu Jul 03, 2003 1:48 pm

Code: Select all

hdparm -X udma5 /dev/hda

/dev/hda:
 setting xfermode to 69 (UltraDMA mode5)

Code: Select all

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.
Top
GentooBox
Veteran
Veteran
User avatar
Posts: 1168
Joined: Sun Jun 22, 2003 10:52 am
Location: Denmark

  • Quote

Post by GentooBox » Thu Jul 03, 2003 2:08 pm

try turn this on:

Code: Select all

IO_support   =  0 (default 16-bit) 
unmaskirq    =  0 (off)
to enable it and some other things:

Code: Select all

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: Select all

df -m
Encrypt, lock up everything and duct tape the rest
Top
antipop
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Fri Oct 04, 2002 1:06 pm

  • Quote

Post by antipop » Thu Jul 03, 2003 3:01 pm

Code: Select all

 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: Select all

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.
Top
gnoodle
n00b
n00b
User avatar
Posts: 45
Joined: Fri Jun 06, 2003 6:42 am
Location: Los Angeles, California

  • Quote

Post by gnoodle » Fri Jul 04, 2003 10:07 am

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
Top
antipop
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Fri Oct 04, 2002 1:06 pm

  • Quote

Post by antipop » Fri Jul 04, 2003 11:16 am

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 :)
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic