From owner-freebsd-hackers Wed May 22 9:14:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 4263A37B400 for ; Wed, 22 May 2002 09:14:22 -0700 (PDT) Received: from onyx ([128.226.182.171]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id g4MGELo05781 for ; Wed, 22 May 2002 12:14:21 -0400 (EDT) Date: Wed, 22 May 2002 12:14:20 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@onyx To: freebsd-hackers@freebsd.org Subject: kernel I/O timing statistics Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a need to record the total physical times spent on I/O requests during some period. My basic idea is to record the start time when the request is issued somewhere in a disk driver and the finish time somewhere in an interrupt routine. Can any one please tell me where are the right places to insert these hooks to collect these timing information for SCSI and IDE disks? I have only a little information about the driver structure in FreeBSD. Maybe this is not a good idea. Thanks for any enlightenment. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message