Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 29 May 2016 11:42:13 -0500 From: ANTant@zimage.com (Ant) Subject: Re: SATA->IDE emulation on IBM P4 bogs down on HD writes Newsgroups: comp.os.linux.hardware References: <87a8jl7htw.fsf@bogus.nodomain.nowhere> <41oe1d-dje.ln1@Telcontar.valinor> <87inxy8xtd.fsf@bogus.nodomain.nowhere> <87r3clifod.fsf@bogus.nodomain.nowhere> User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/4.3.3-300.fc23.x86_64 (x86_64)) Message-ID: Date: Sun, 29 May 2016 11:42:13 -0500 Lines: 80 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.103.224.66 X-Trace: sv3-FAloRS1Sd0GAh+YtkciNSoBHNbmsTP65nczgeZOwRYdolwq6wliUJTfB+5hVH5N29EHjO90jtIhrLTI!OhFWRxL3u3LLJf+FXh/1ApIima+icjs1GxKS4g4dBCVSPs2KWelxkVgQgwR9GNeTDJi1KXUIC3Ja!riG1Vj95+0ajrIXT1vp1P6CS8PxCbkI= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4611 X-Received-Bytes: 4723 X-Received-Body-CRC: 3223225687 Xref: csiph.com comp.os.linux.hardware:3127 Carlos E.R. wrote: > On 2016-05-29 07:41, Mike Spencer wrote: > > Capabilities: > > LBA, IORDY(can be disabled) > > Queue depth: 32 > > Standby timer values: spec'd by Standard, no device specific minimum > > R/W multiple sector transfer: Max = 16 Current = 16 > > Recommended acoustic management value: 208, current value: 0 > > DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 > > Cycle time: min=120ns recommended=120ns > You are using "udma5", it seems. > My SATA drives use "udma6", but my kernel is way more recent, too. > I have a pentium IV machine running, with an IDE PATA drive. It uses > udma5, with a recent kernel. I'll post most relevant output so that you > can compare. > Capabilities: > LBA, IORDY(can be disabled) > Standby timer values: spec'd by Vendor, no device specific minimum > R/W multiple sector transfer: Max = 16 Current = 16 > Advanced power management level: 254 > 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=240ns IORDY flow control=120ns > Commands/features: > Enabled Supported: > * SMART feature set > Security Mode feature set > * Power Management feature set > * Write cache > * Look-ahead > * Host Protected Area feature set > * WRITE_BUFFER command > * READ_BUFFER command > * NOP cmd > * DOWNLOAD_MICROCODE > * Advanced Power Management feature set > Power-Up In Standby feature set > * SET_FEATURES required to spinup after power up > Address Offset Reserved Area Boot > SET_MAX security extension > Automatic Acoustic Management feature set > * 48-bit Address feature set > * Device Configuration Overlay feature set > * Mandatory FLUSH_CACHE > * FLUSH_CACHE_EXT > * SMART error logging > * SMART self-test > * General Purpose Logging feature set > * WRITE_{DMA|MULTIPLE}_FUA_EXT > * 64-bit World wide name > * IDLE_IMMEDIATE with UNLOAD > Speed test (busy machine): > AmonLanc:~ # hdparm -tT /dev/sda > /dev/sda: > Timing cached reads: 790 MB in 2.00 seconds = 394.57 MB/sec > Timing buffered disk reads: 132 MB in 3.00 seconds = 43.93 MB/sec > AmonLanc:~ # > As you can see, PATA is slow, compared to SATA (44 MB/S) Yep, PATA is older than SATA. IIRC, PATA is basically IDE? -- Quote of the Week: "Remember, ants are only waiting for you to die..." --unknown Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly. /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site) / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net | |o o| | \ _ / Please nuke ANT if replying by e-mail privately. If credit- ( ) ing, then please kindly use Ant nickname and AQFL URL/link.