public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: IDE Harddrive Performance
@ 2001-12-23 17:55 Wayne Whitney
  2001-12-23 18:37 ` Mark Hahn
  0 siblings, 1 reply; 30+ messages in thread
From: Wayne Whitney @ 2001-12-23 17:55 UTC (permalink / raw)
  To: LKML; +Cc: Jim Radford, Adam Keys


Jim and Adam,

I recommend that you check out the smartsuite package described in
http://www.linux-ide.org/smart.html.  It showed me that when a Maxtor
drive I recently purchased dropped from 40MB/sec to 1MB/sec throughput, it
was having an incredible number of "Hardware ECC Recovered" (SMART
attribute 195) events.  I guess some bit chunk of the magnetic media had
failed, in a way that still allowed the drive to recover all the data, but
so that the overhead of the requisite ECC was killing the throughput.  I
ended up returning it for a replacement.

Cheers, Wayne




^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: IDE Harddrive Performance
@ 2001-12-22 18:20 Jim Radford
  2001-12-22 21:36 ` Craig Knox
  2001-12-23  8:11 ` Adam Keys
  0 siblings, 2 replies; 30+ messages in thread
From: Jim Radford @ 2001-12-22 18:20 UTC (permalink / raw)
  To: Adam Keys; +Cc: linux-kernel

> hda: Maxtor 93073U6, ATA DISK drive
> hdc: Maxtor 90840D6, ATA DISK drive
 
> /dev/hda:
>  Timing buffered disk reads:  64 MB in 86.98 seconds =753.46 kB/sec
> /dev/hdc:
>  Timing buffered disk reads:  64 MB in  5.63 seconds = 11.37 MB/sec

I'm in the same boat with my Maxtor 54098U8.  It has been getting
progressively slower.  Two weeks ago I was getting a whopping 3MB/s,
now I get:

/dev/hda:
 Timing buffered disk reads:  64 MB in 115.29 seconds =568.44 kB/sec

My CDROM (ide-scsi) is faster than this!

# time dd if=/dev/scd0 of=/dev/null count=32k bs=512
real    0m8.443s

  = 1.8MB/sec

The wierd thing is that I don't get any errors, but I have just
switched from emacs to vi. :-) I ran Maxtor's powermax.exe and their
90sec test hadn't finished after 20 minutes so I rebooted. :-(

Same results with 2.4.9 - 2.4.17.

-Jim

VP_IDE: VIA vt82c686a (rev 14) IDE UDMA66 controller on pci00:07.1

# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 I/O support  =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 4865/255/63, sectors = 78165360, start = 0
 busstate     =  1 (on)

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: IDE Harddrive Performance
@ 2001-12-20 19:25 Brendan Pike
  0 siblings, 0 replies; 30+ messages in thread
From: Brendan Pike @ 2001-12-20 19:25 UTC (permalink / raw)
  To: linux-kernel

Errk, yeah the system was under a high load at the time i did that, 90+% cpu.
I now remember doing it a few days ago and it was about 140 MB/s.
The system is under load right now so i cant get another reliable reading.

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: IDE Harddrive Performance
@ 2001-12-20 17:10 Brendan Pike
  2001-12-20 17:22 ` Ryan Cumming
  0 siblings, 1 reply; 30+ messages in thread
From: Brendan Pike @ 2001-12-20 17:10 UTC (permalink / raw)
  To: linux-kernel

here is -T

[root@spikes spike]# /sbin/hdparm -T /dev/hda 
/dev/hda:
Timing buffer-cache reads:   128 MB in  3.89 seconds = 32.90 MB/sec

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: IDE Harddrive Performance
@ 2001-12-20 13:12 Brendan Pike
  0 siblings, 0 replies; 30+ messages in thread
From: Brendan Pike @ 2001-12-20 13:12 UTC (permalink / raw)
  To: linux-kernel


Well i really cant explain this,

[root@spikes spike]# /sbin/hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads:  64 MB in  6.65 seconds =  9.62 MB/sec

[root@spikes spike]# cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.29
South Bridge:                       VIA vt82c586b
Revision:                           ISA 0x47 IDE 0x6
Highest DMA rate:                   UDMA33
BM-DMA base:                        0xe000
PCI clock:                          33MHz
Master Read  Cycle IRDY:            1ws
Master Write Cycle IRDY:            1ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   40w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       PIO      UDMA       PIO
Address Setup:       30ns     120ns      30ns     120ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns     330ns      90ns     330ns
Data Recovery:       30ns     270ns      30ns     270ns
Cycle Time:          60ns     600ns      60ns     600ns
Transfer Rate:   33.0MB/s   3.3MB/s  33.0MB/s   3.3MB/s

[root@spikes spike]# /sbin/hdparm -i /dev/hda

/dev/hda:

 Model=FUJITSU MPG3409AT E, FwRev=82B9, SerialNo=VH06T1408HST
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=80063424
 IORDY=yes, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

[root@spikes spike]# /sbin/hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 4983/255/63, sectors = 80063424, start = 0


Kernel 2.4.16 without patches.

^ permalink raw reply	[flat|nested] 30+ messages in thread
* IDE Harddrive Performance
@ 2001-12-19 15:32 Thomas Deselaers
  2001-12-19 15:44 ` Brendan Pike
                   ` (3 more replies)
  0 siblings, 4 replies; 30+ messages in thread
From: Thomas Deselaers @ 2001-12-19 15:32 UTC (permalink / raw)
  To: linux-kernel

Hello,

I do have an Asus P2B-S Mainboard and since a week I have a Maxtor 60 GB
5400 rpm Harddrive (MAXTOR 4K060H3).

I tried the performance of the drive and got some results which are quite
low I think.

hdparm -t /dev/hdc returns

/dev/hdc:
 Timing buffered disk reads:  64 MB in  5.63 seconds = 11.37 MB/sec
 
What would be a value I can expect from my hardware? And what might result
in higher speeds?

thanks,
thomas
-- 
thomas@deselaers.de «<>» JabberID on request «<>» GPG/PGP key on request
  «< Unless stated otherwise everything I write is just my opinion >»

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2001-12-23 18:37 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0112201307120.9437-100000@coffee.psychology.mcmaster.ca>
2001-12-20 19:33 ` IDE Harddrive Performance Brendan Pike
2001-12-23 17:55 Wayne Whitney
2001-12-23 18:37 ` Mark Hahn
  -- strict thread matches above, loose matches on Subject: below --
2001-12-22 18:20 Jim Radford
2001-12-22 21:36 ` Craig Knox
2001-12-23  8:11 ` Adam Keys
2001-12-20 19:25 Brendan Pike
2001-12-20 17:10 Brendan Pike
2001-12-20 17:22 ` Ryan Cumming
2001-12-20 17:41   ` Sebastian Dröge
2001-12-20 13:12 Brendan Pike
2001-12-19 15:32 Thomas Deselaers
2001-12-19 15:44 ` Brendan Pike
2001-12-19 15:55   ` Lee Packham
2001-12-19 16:01   ` Jan Niehusmann
2001-12-19 16:18     ` Brendan Pike
2001-12-19 16:28       ` Oleg Artamonov
2001-12-19 16:44       ` Vojtech Pavlik
2001-12-19 16:59     ` Dmitry Pogosyan
     [not found]   ` <Pine.LNX.4.33.0112191101230.4575-100000@coffee.psychology.mcmaster.ca>
2001-12-19 16:37     ` Thomas Deselaers
2001-12-19 17:34   ` Mike Dresser
2001-12-19 15:55 ` Oleg Artamonov
2001-12-19 16:05   ` Thomas Deselaers
2001-12-19 16:15     ` Oleg Artamonov
2001-12-19 16:32       ` Thomas Deselaers
2001-12-19 16:38 ` Holger Lubitz
2001-12-22  8:21 ` Adam Keys
2001-12-22  8:56   ` Alan Cox
2001-12-22 10:10     ` Adam Keys
     [not found]       ` <01122215090500.01870@manta>
2001-12-22 13:23         ` Thomas Deselaers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox