From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 15:24:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC7A616A4CE for ; Fri, 9 Jan 2004 15:24:31 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F31743D41 for ; Fri, 9 Jan 2004 15:24:30 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id F0FF872DBF; Fri, 9 Jan 2004 15:24:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id EEEB672DB5; Fri, 9 Jan 2004 15:24:29 -0800 (PST) Date: Fri, 9 Jan 2004 15:24:29 -0800 (PST) From: Doug White To: robert@mpe.mpg.de In-Reply-To: <200401091231.i09CVdBG049283@robert2.mpe-garching.mpg.de> Message-ID: <20040109152046.F24587@carver.gumbysoft.com> References: <200401091231.i09CVdBG049283@robert2.mpe-garching.mpg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: writing to 3ware escalade uses up 100% cpu time in system. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 23:24:31 -0000 On Fri, 9 Jan 2004, Klaus Robert Suetterlin wrote: > Hello, > > I'm using a 3ware 8506-4LP controller with 4 250GB harddrives in > Raid 0. All space is in a single slice, separated into 1GB swap and > the rest into twed0s1d which is mounted under /space... > > When I do > ``dd if=/dev/zero of=/space/test bs=1000000 count=10000'' > the twed0 maxes out at 70MB/sec and (according to systat) 70% usage. > Unfortunately my system goes to 100% cpu usage at the same time. What speed of bus is the 3ware attached to? You might run 'systat -vmstat 2' and check the amount of CPU going to interrupts. I suspect you're maxing out on the interrupt handler. Also look at the # of interrupts to the twe. > I would really love to be able to use the aproximate 100MB/sec at > 100% usage of the twed0, without using all that much cpu. What kind of workload are you expecting to put on? Its very, very rare that you would be getting large sequential writes like those you are getting with dd. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org