Re: [PATCH,RFT] latest libata (includes Silicon Image work)

From: Mark
Date: Fri Mar 19 2004 - 13:04:39 EST


On March 18, 2004 11:34 am, Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
> Attached is the latest libata patch against 2.6.x mainline. Although
> not 100% of content, most of this patch resolves around getting Silicon
> Image into better shape. As I mentioned in my last post, this patch
> affects all libata users, so plenty of testing is requested.
>
> Silicon Image-related changes:
>
> * Only set/clear the BMDMA bits we care about (got a report last night
> this fixed 3114 for him)
>
> * mask all SATA interrupts
>
> * after determining drive speed, write that information to a special SII
> register Data Transfer Mode
>
> * (style) make port base address setup a loop, shortening the code and
> making the code more readable
>
> * limit SII to UDMA5 (reading info on FreeBSD lists and source code
> scared me about chip errata), mainly related to PATA->SATA bridges.

This patch works pretty well. Here my results of a bonnie++ test on a 4 drive
array with WD Caviar 74GB Drives on Tyan S2875S with onboard Sil3114.



--
Mark Lane, CET mailto:mark@xxxxxxxxxxxx
Hard Data Ltd. http://www.harddata.com
T: 01-780-456-9771 F: 01-780-456-9772
11060 - 166 Avenue Edmonton, AB, Canada, T5X 1Y3
--> Ask me about our Excellent 1U Systems! <--
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
dynamic-109. 20000M 25546 69 39833 20 25538 11 36725 86 80332 19 339.8 2
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 1535 98 +++++ +++ 17244 95 1646 98 +++++ +++ 5744 96
dynamic-109.harddata.net,20000M,25546,69,39833,20,25538,11,36725,86,80332,19,339.8,2,16,1535,98,+++++,+++,17244,95,1646,98,+++++,+++,5744,96