From owner-freebsd-hackers Tue Sep 10 04:13:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA10173 for hackers-outgoing; Tue, 10 Sep 1996 04:13:23 -0700 (PDT) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA10163 for ; Tue, 10 Sep 1996 04:13:11 -0700 (PDT) Received: from neuron.bsd.uni-passau.de (ppp2 [194.95.214.132]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id NAA07397; Tue, 10 Sep 1996 13:12:00 +0200 Message-ID: <323567A9.4E16@degnet.baynet.de> Date: Tue, 10 Sep 1996 13:05:45 +0000 From: Darius Moos Reply-To: moos@degnet.baynet.de X-Mailer: Mozilla 3.0b8Gold (Win95; I) MIME-Version: 1.0 To: "Frank W. Miller" CC: freebsd-hackers , master@iaas.msu.su Subject: Re: kernel performance References: <199609092229.SAA01670@yangtze.cs.UMD.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Maybe gprof is usefull to you. Have a look at "man gprof". Darius Moos. Frank W. Miller wrote: > > For lack of a better place to start, I chose this mailing list. > > I am curious if there are any performance monitoring facilities built > into the kernel. In particular, I am interested in obtaining > timings of the execution of the read() and write() system calls. > I want to break the measurements down according to how much time > is spent in various areas of the kernel code, how much is spent > waiting for I/O device hardware, etc. > > Any pointers would be helpful. > > Later, > FM > > -- > Frank W. Miller Department of Computer Science > fwmiller@cs.umd.edu University of Maryland, College Park > http://www.cs.umd.edu/~fwmiller College Park, Maryland 20742 -- email: moos@degnet.baynet.de