From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 18:12:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59314106564A for ; Fri, 27 Feb 2009 18:12:26 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 29C168FC15 for ; Fri, 27 Feb 2009 18:12:26 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.lan.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 73962AFC1FF; Fri, 27 Feb 2009 09:12:25 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 27 Feb 2009 09:12:23 -0900 User-Agent: KMail/1.9.10 References: <1235740489.2747.17.camel@frodon.be-bif.ulb.ac.be> In-Reply-To: <1235740489.2747.17.camel@frodon.be-bif.ulb.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902270912.25047.fbsd.questions@rachie.is-a-geek.net> Cc: Julien Cigar Subject: Re: poor performances with Intel Raid Controller (iir) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 18:12:26 -0000 On Friday 27 February 2009 04:14:49 Julien Cigar wrote: > Hello, > > I've a machine with an integrated Intel RAID controller (U320) which > uses the iir driver. I have two arrays, one RAID 1 with two disks and > one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system > is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or > RAM. > > I have very poor performances, around ~50 MB/s, is it normal ? > > jcigar@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 > 100+0 records in > 100+0 records out > 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) > > Are there any tool to detect what could be the bottleneck(s) ? dmesg to see if there's any indication about speeds. camcontrol inquiry bus:lun to get capabilities, including transfer rate gstat to see I/O transactions. You might not be able to see past the RAID controller, to rule out the actual disks. Also, bs > 2M usually degrades performance, start with 1M and go up. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.