NetBSD Problem Report #8885

Received: (qmail 5707 invoked from network); 26 Nov 1999 21:02:03 -0000
Message-Id: <199911261701.MAA00772@duality.gratuitous.org>
Date: Fri, 26 Nov 1999 12:01:19 -0500 (EST)
From: nemo@red-bean.com
Reply-To: nemo@red-bean.com
To: gnats-bugs@gnats.netbsd.org
Cc: nemo@red-bean.com
Subject: raidctl -i being excessively slow
X-Send-Pr-Version: 3.95

>Number:         8885
>Category:       kern
>Synopsis:       raidctl -i is being excessively slow
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    oster
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 26 13:03:01 +0000 1999
>Closed-Date:    Sat Oct 07 20:11:28 +0000 2006
>Last-Modified:  Sat Oct 07 20:11:28 +0000 2006
>Originator:     Joel N. Weber II
>Release:        
>Organization:
Red Bean Software/Gratuitous Organization for Gratuitous Software Enhancement
>Environment:
Note: this is actually a kernel from the 1.4 branch from cvs from last weekend.
System: NetBSD duality 1.4.1 NetBSD 1.4.1 (XANTHINE) #0: Thu Nov 25 14:00:04 EST 1999 nemo@duality:/usr/src/syssrc/sys/arch/i386/compile/XANTHINE i386


>Description:
`systat iostat' is telling me that the average amount of disk activity is
about 100 kilobytes per second, while I'm doing raidctl -i on a 10GB partition.
Given that I believe the disks I'm using are capable of something on the order
of 2 megabytes per second, this seems unacceptably slow.  I suspect there's
something in the raid code which makes it much less agressive than it should
be.

It appears to be the case that raidctl -i starts out running reasonably fast,
and then is slow for most of the rest of the process, but I haven't yet studied
this in great detail.

If it's relavent, the fifo queue size I set in the raid configuration file
is 100.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->oster 
Responsible-Changed-By: oster 
Responsible-Changed-When: Thu Feb 10 18:57:03 PST 2000 
Responsible-Changed-Why:  
This one is mine too. 
State-Changed-From-To: open->closed
State-Changed-By: oster@netbsd.org
State-Changed-When: Sat, 07 Oct 2006 20:11:28 +0000
State-Changed-Why:
RAIDframe has changed a great deal since NetBSD 1.4.  I've also seen
'raidctl -i' build things at near the raw speed of the disks, and
have yet to see it build slower on any RAID set that didn't have 
a disk that was about to die.. (and the slowdown was being caused by
silent retries...)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.