From owner-freebsd-scsi Mon Nov 22 20:54:43 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id CBDF214BF6 for ; Mon, 22 Nov 1999 20:54:35 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id VAA86891; Mon, 22 Nov 1999 21:52:58 -0700 (MST) (envelope-from ken) Message-Id: <199911230452.VAA86891@panzer.kdm.org> Subject: Re: ncrcontrol-like utility for CAM? In-Reply-To: <199911230415.WAA96502@aurora.sol.net> from Joe Greco at "Nov 22, 1999 10:15:09 pm" To: jgreco@ns.sol.net (Joe Greco) Date: Mon, 22 Nov 1999 21:52:58 -0700 (MST) Cc: scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Joe Greco wrote... > > Joe Greco wrote... > > > Will there be an ncrcontrol-like utility for CAM? I'm mainly interested > > > in statistics, and was unable to find anything obvious after looking over > > > the CAM stuff in 3.0-19981015-BETA. It'd be a nice addition, and it was > > > a feature I had always missed with the ahc (and others) driver. > > > > What kind of statistics? Most interesting statistics should be available > > through systat(1), iostat(8) and vmstat(8). > > > > There are other stats that are recorded in the devstat(9) system, but that > > aren't displayed in the stats-display utilities. (like the number of > > ordered tags, number of outstanding transactions) There's a program on my > > ftp site that will dump out the contents of all the devstat(9) structures > > in the system: > > > > ftp://ftp.kdm.org/pub/FreeBSD/cam/ds.c > > > > If there are stats that aren't available that you'd like to see, let me > > know so I can keep them in mind for future enhancements. > > Well, yes... heh, I sort of lost this thread a year ago. :-) No kidding. > I'd really like to see per-bus statistics. i.e. I'd like to be able to > tell that the reason I'm seeing 3MB/sec to an UW drive on scbus0 is because > scbus0 is maxxed out (which you could determine if you had overall bus stats > for scbus0...) It would certianly be possible to do, but it would be tricky. You'd run into tricky situations in multi-path environments, and I suppose you'd have to charge the transactions against one path or another. > I _think_ ncrcontrol provided that sort of information... It's possible, I dunno for sure. I'll keep it in mind as a possible future enhancement. Obviously, don't hold your breath. :) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message