From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 17:03:03 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 39FB816A4CE for ; Tue, 3 Feb 2004 17:03:03 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C9443D31 for ; Tue, 3 Feb 2004 17:03:02 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 3E91772DBF; Tue, 3 Feb 2004 17:03:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 39D9C72DB5; Tue, 3 Feb 2004 17:03:02 -0800 (PST) Date: Tue, 3 Feb 2004 17:03:02 -0800 (PST) From: Doug White To: Cy Schubert In-Reply-To: <200402031308.i13D8F8F022178@cwsys.cwsent.com> Message-ID: <20040203170027.E86301@carver.gumbysoft.com> References: <200402031308.i13D8F8F022178@cwsys.cwsent.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Putinas Piliponis Subject: Re: atacontrol rebuild and iostat 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: Wed, 04 Feb 2004 01:03:03 -0000 On Tue, 3 Feb 2004, Cy Schubert wrote: > > Why nothing ? > > Iostat doesn't see the I/Os because RAID rebuilds occur within the > controller, the I/Os are not initiated in the O/S nor any of its utilities, > therefore the FreeBSDS kernel doesn't see them. The O/S doesn't see the > I/Os. Atacontrol see 3% because it specifically queries the controller for > that information. ATARAID is purely OS driven. The OS issues the writes for the rebuild, as well as failure detection and mirroring. You're thinking of SCSI controllers, or 3ware controllers. Since the rebuild I/O is driven by the kernel, it bypasses the normal I/O path and thus doesn't register in the stats. If you try to do heavy I/O to the devices, you'll find the performance is reduced. > This is true of all hardware RAID controllers and true of all operating > systems. But not ATA RAID, which is Speshul. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org