From owner-freebsd-current Thu Aug 14 03:30:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA09959 for current-outgoing; Thu, 14 Aug 1997 03:30:43 -0700 (PDT) Received: from critter.dk.tfs.com ([140.145.230.252]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA09954 for ; Thu, 14 Aug 1997 03:30:39 -0700 (PDT) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.6/8.8.5) with ESMTP id MAA02421 for ; Thu, 14 Aug 1997 12:29:44 +0200 (CEST) To: current@freebsd.org Subject: kernel profiling data... From: Poul-Henning Kamp Date: Thu, 14 Aug 1997 12:29:44 +0200 Message-ID: <2419.871554584@critter.dk.tfs.com> Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Should anybody be interested, I'm currently running my kernel with basic- block profiling. If there are any particular piece of code you want to get some numbers for, let me know. Here is a snapshot per procedure. The metric is "number of bytes * number of executions" which doesn't take procedure calls into account. It's still a pretty good metric anyway: 2141424420 pmap_pte_quick 2123382399 malloc 1967036165 vm_pageout_page_stats 1891991217 sc_bcopy /* this is special in my code */ 1849258604 pmap_is_managed 1822361685 in_cksum 1745752719 lookup 1647903703 selscan 1621132031 userret 1525817854 free 1478288512 hardclock 1384795000 scanc 1238605405 select 1228973774 __qdivrem 1203676414 ffs_sync 1136352924 timeout 1076999688 splvm 1072813562 vfs_msync 960134796 tcp_output 874196469 VOP_ISLOCKED 839275470 splhigh 825929764 inbc 754320392 lockstatus 753825169 vm_pageout_scan 659921964 getit 656055743 cpu_clockupdate 631443113 edintr_sc 608603985 outbv 601732656 clock_latency 560227824 ufs_islocked 528477347 cache_lookup -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.