Subject: Some further profiling data
To: None <port-pmax@netbsd.org>
From: Ken Wellsch <kwellsch@tampabay.rr.com>
List: port-pmax
Date: 01/31/2001 16:10:06
Some further profiling, this time on a MIPS1 box.

On a 5k/133 system installed with 1.5 ISO I dumped the ftp.netbsd.org
based -current tar_files src circa Saturday Jan 27th with the mklocale
fix applied.  I built & installed that.

From the -current system I compiled a profiling kernel and after booting
with that, did a build of the GENERIC kernel, with profiling enabled.

Here are the results (no idle time really - I started the build immediately
via a networked ssh connection and collected this output upon completion):

 4:00PM  up  3:46, 1 user, load averages: 0.67, 1.13, 1.35

NetBSD 1.5R (PMAX.PROF) #0: Wed Jan 31 12:10:14 EST 2001
DECstation 5000/133 (3MIN)
total memory = 128 MB

Source: Jan 27th tar balls + mklocale patch.  Result from building GENERIC

Each sample counts as 0.00390625 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls  us/call  us/call  name
 15.68    273.11   273.11     9160 29815.01 29815.01  mips_idle
 10.55    456.83   183.72                             _splset_noprof
 10.30    636.18   179.35  9753350    18.39    18.39  lockmgr
  8.62    786.29   150.11                             _mcount
  8.02    925.99   139.70                             memmove
  7.68   1059.77   133.78                             __mcount
  5.83   1161.25   101.48   542586   187.02   187.02  mips_pagezero
  2.90   1211.72    50.47  1038465    48.60    48.60  mips1_FlushDCache
  2.79   1260.35    48.62  1198757    40.56   305.74  uvm_fault
  1.51   1286.68    26.33  1546792    17.02   212.33  syscall_plain
  1.36   1310.38    23.70   293600    80.72   481.42  lookup
  1.26   1332.38    22.01  1263439    17.42    71.89  pmap_enter
  0.97   1349.34    16.96   668429    25.37    35.57  uvn_findpages
  0.94   1365.69    16.35                             _splraise_noprof
  0.91   1381.50    15.81  1177910    13.42    54.74  cache_lookup
  0.88   1396.87    15.37    34285   448.33   448.33  mips_pagecopy
  0.81   1410.95    14.08  1386718    10.15    51.97  pmap_remove
  0.71   1423.30    12.35  1177910    10.48    69.93  ufs_lookup
  0.65   1434.65    11.35   335365    33.85    93.05  uvm_map
  0.64   1445.79    11.14  1317197     8.46     8.54  _pool_get
  
                ...

  0.00   1741.73     0.00        1     0.00     0.18  unputc
  0.00   1741.73     0.00        1     0.00     0.00  vfinddev
  0.00   1741.73     0.00        1     0.00     0.00  vgone
  
Cheers,

-- Ken Wellsch