From owner-cvs-src Sun Feb 9 9: 5: 0 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E46A37B405; Sun, 9 Feb 2003 09:04:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A222143F85; Sun, 9 Feb 2003 09:04:57 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h19H4vbv013755; Sun, 9 Feb 2003 09:04:57 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h19H4vn9013754; Sun, 9 Feb 2003 09:04:57 -0800 (PST) Message-Id: <200302091704.h19H4vn9013754@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 9 Feb 2003 09:04:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, legacy-committers@FreeBSD.org Subject: cvs commit: src/sys/geom geom_io.c geom_kern.c geom_stats.h notes X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2003/02/09 09:04:57 PST Modified files: sys/geom geom_io.c geom_kern.c geom_stats.h notes Log: Update the statistics collection code to track busy time instead of idle time. Statistics now default to "on" and can be turned off with sysctl kern.geom.collectstats=0 Performance impact of statistics collection is on the order of 800 nsec per consumer/provider set on a 700MHz Athlon. Revision Changes Path 1.27 +41 -39 src/sys/geom/geom_io.c 1.21 +1 -1 src/sys/geom/geom_kern.c 1.3 +35 -7 src/sys/geom/geom_stats.h 1.2 +48 -0 src/sys/geom/notes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message