From owner-freebsd-performance@FreeBSD.ORG Tue Feb 17 21:43:32 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86114106566B for ; Tue, 17 Feb 2009 21:43:32 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx1.freebsd.org (Postfix) with SMTP id A0EC18FC0C for ; Tue, 17 Feb 2009 21:43:31 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([63.174.175.251]) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKSZsvgtwLg8dEojfUcZ+EIuZ3S/xOjfoh@postini.com; Tue, 17 Feb 2009 21:43:31 UTC Received: from [0.0.0.0] (redeye.usdmm.com [172.17.0.14]) by bbbx3.usdmm.com (Postfix) with ESMTP id CCAB9FD022; Tue, 17 Feb 2009 21:27:15 +0000 (UTC) Message-ID: <499B2B47.2000300@tomjudge.com> Date: Tue, 17 Feb 2009 15:25:27 -0600 From: Tom Judge User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Sebastiaan van Erk References: <200902210616.GAA14352@sopwith.solgatos.com> <499672F1.4060109@sebster.com> In-Reply-To: <499672F1.4060109@sebster.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Extremely slow write speeds to disk : FreeBSD 7.1 and Dell SAS 6/iR Adapter X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 21:43:32 -0000 Sebastiaan van Erk wrote: > Dieter wrote: >>>> But the issue is that writing to disk is extremely slow...i.e. 14Mb >>>> per >>>> second.... >>>> >>>> If I install any other linux distribution, like CentOS, write speek is >>>> the way it should be..it averages around 190Mb+ per second >>>> >>>> I was hoping if it were at all possible for you to assist me in with a >>>> later RAID Controller Driver for the SAS 6/iR Adapter >>>> >>> Try: >>> hw.mpt.enable_sata_wc=1 >>> in /boot/loader.conf and reboot. >>> >>> Assuming you are using SATA drives, the write cache is disabled by >>> default. This reenables it. The mpt manpage holds more information. >>> >> >> Just keep in mind that turning the disk's write cache on puts your >> data at risk. :-( >> >> The correct solution is NCQ. > Just wondering, if you have a battery on your RAID array, is this a > problem? Wouldn't the cache get written anyway in case of a crash? > > Regards, > Sebastiaan Hi, hw.mpt.enable_sata_wc tunable enables the on disk write cache not the controller write cache. Tom