From owner-freebsd-hackers Tue Nov 28 01:14:39 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA18485 for hackers-outgoing; Tue, 28 Nov 1995 01:14:39 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA18478 for ; Tue, 28 Nov 1995 01:14:27 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id UAA20911; Tue, 28 Nov 1995 20:11:23 +1100 Date: Tue, 28 Nov 1995 20:11:23 +1100 From: Bruce Evans Message-Id: <199511280911.UAA20911@godzilla.zeta.org.au> To: davidg@Root.COM, jgreco@brasil.moneng.mei.com Subject: Re: 3940? Cc: archive@cps.cmich.edu, freebsd-hackers@FreeBSD.org Sender: owner-hackers@FreeBSD.org Precedence: bulk >Related, but not really: pet peeve of the day: DK_NDRIVE is set to 8 in >sys/dkstat.h. This effectively limits the number of drives I can get >statistics on - statistics that would tend to be more useful the more drives >I have. Is there any harm in increasing this? My news box has a dozen >disks. I think you're supposed to increase it if you have a lot of disks. Don't forget to recompile all utilities that depend on it. >(I also noticed: extern int dk_busy; /* bit field of busy drives */ >which is sorta scary :-) wonder how many other places there are hidden >limits built in?) dk_busy is only supported by the wd driver. I guess that's why the msps field in systat only sort of works for wd drives. DK_NDRIVE must be less than the number of bits in an int for dk_busy to work right. I think most of the limits are explicit (like DK_NDRIVE). Of course, this is the wrong way to do things. Bruce