LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-13-2005, 04:41 PM   #1
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Hard drive access speed


I have a 200gb hard drive that's supposed to transfer at 100 mb/s but it's only getting around 50mb/s. I can't figure out what's wrong with it, unless it's just a normal thing for it not to get close to its 'maximum' speed. It's running udma5, it shouldnt be a cpu problem (2.0 ghz athlon), im using a 80 wire IDE cable, and it's set as Master. It has a shuttle AK38N motherboard ("IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)") that supports transfer speed at 133 mb/s. Here's some info from hdparm.

$ hdparm -tT /dev/hdc
Quote:
/dev/hdc:
Timing cached reads: 1216 MB in 2.00 seconds = 607.49 MB/sec
Timing buffered disk reads: 146 MB in 3.02 seconds = 48.32 MB/sec
$ hdparm -i /dev/hdc
Quote:
/dev/hdc:

Model=WDC WD2000JB-00FUA0, FwRev=15.05R15, SerialNo=WD-WMAEP2754094
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
$ hdparm -I /dev/hdc
Quote:
ATA device, with non-removable media
Model Number: WDC WD2000JB-00FUA0
Serial Number: WD-WMAEP2754094
Firmware Revision: 15.05R15
Standards:
Supported: 6 5 4 3
Likely used: 6
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 390721968
device size with M = 1024*1024: 190782 MBytes
device size with M = 1000*1000: 200049 MBytes (200 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 74 Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
 
Old 04-13-2005, 04:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Is dma enabled? What do you get from:
hdparm /dev/hdc
 
Old 04-13-2005, 07:13 PM   #3
RainyDay
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Hi,

Your hard drive is performing very well. You should be very pleased with
the results that you received from hdparm -tT.

The 100Mb/S speed that the drive supports is the "interface" speed. That is
the integrated drive electronics maximum theorectical transfer speed.
The electromechanical part of the drive (the HDA or Head Disk Assembly)
cannot transfer data at this speed and will never reach the theoretical
maximum.

SCSI interfaces can operate at much faster data rates than the highest IDE
speed of 133Mb/S but even they're (better engineered-usually) HDA's can't
supply data quickly enough. In a SCSI system it takes many HDA's operating
through one fast interface to reach the maximum data throughput.

IDE interfaces can only access one HDA at any given time so it is impossible
for the maximum data transfer speed to be reached. SATA may offer some
hope for more SCSI like performance in the future as the standard matures
but until then, SCSI rules for high speed data transfer.

Faster (IDE) interface speeds allow commands and such to be organised more
quickly while allowing the HDA to continue transfering data as efficiently as
possible. Other than that there isn't much advantage.

As an example. If you obtain two identical HDA's and connect one to a 100Mb/S
interface and the other to a 133Mb/S interface and then bench test, you will find
that they perform almost identically. The disks won't spin any faster, nor will
the heads move or settle quicker, only the electroniics is operating at a higher
speed.

Hope this helps.

.....RainyDay
 
Old 04-13-2005, 09:54 PM   #4
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
100MB/sec is the maximum in theory... you will never reach that.
You drive is a bit slow (I score 52MB/sec with a 80GB on a 3 years old computer) but this is probably mostly due to your motherboard, not your drive fault, atmo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed up hard drive? usaf_sp Linux - Hardware 21 11-06-2005 03:01 AM
Speed up my hard drive during boot up XPediTioN Slackware 4 08-12-2004 01:07 AM
Hard Drive Speed problems XPediTioN Slackware 6 07-15-2004 02:43 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
Hard Drive transfer speed OmegaTemplar Slackware 6 03-14-2004 05:48 PM


All times are GMT -5. The time now is 09:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration