From owner-freebsd-hardware@FreeBSD.ORG Sat Feb 25 13:55:49 2006 Return-Path: X-Original-To: freebsd-hardware@FreeBSD.ORG Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6464A16A420; Sat, 25 Feb 2006 13:55:49 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0D7343D46; Sat, 25 Feb 2006 13:55:48 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.142] (spider.deepcore.dk [194.192.25.142]) by spider.deepcore.dk (8.13.4/8.13.4) with ESMTP id k1PDth5U065529; Sat, 25 Feb 2006 14:55:44 +0100 (CET) (envelope-from sos@deepcore.dk) Message-ID: <440061DF.6070307@deepcore.dk> Date: Sat, 25 Feb 2006 14:55:43 +0100 From: =?UTF-8?B?U8O4cmVuIFNjaG1pZHQ=?= User-Agent: Thunderbird 1.5 (X11/20060130) MIME-Version: 1.0 To: ZC Wong References: <1a05b0b40602250400g2fe7477ehc188f771aabaf374@mail.gmail.com> In-Reply-To: <1a05b0b40602250400g2fe7477ehc188f771aabaf374@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.16 Cc: sos@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG Subject: Re: Write cache for pst (Promise SX6000 RAID)? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2006 13:55:49 -0000 ZC Wong wrote: > I've got a Promise SX6000 RAID card and the pst driver works without any > configuration under a GENERIC kernel came with 6.0-RELEASE. > > The problem is the write caching at OS level, it doesn't look like any > data is cached by the OS before it's written (even if there's plenty of > free mem). > > Is there any chance I can get the pst driver work like /dev/ad* in term > of caching? Caching at OS level ?? There is no difference in how ATA and pst handle that, in fact the driver has nothing todo with caching, thats up to the upper layers not the device driver.. > Also there seemed to be a bottleneck of 50MB/s whatever how much hard > drives I connect to the array(RAID 0)? Thats a feature if the sx6000 HW, it cant do more than about 60Mb/s but this depends on blocksize etc, so 50Mb/s for your case might be the limit for that setup... -Søren