Subject: Re: Any NetBSD installations on VAX 11/{780,750,730} systems?
To: Matt Thomas <matt@3am-software.com>
From: Ken Wellsch <kwellsch@tampabay.rr.com>
List: port-vax
Date: 01/01/2001 09:59:02
Matt Thomas wrote:
> 
> If 1.5 is slower booting, why not run kernel profiling and find out where
> it is spending its time?  That way we can see where it's spending its time.
> Is it in the shell?  In the kernel?  where in the kernel?

Not sure precisely how to enable profiling (I think it is off by default)
before a system is really up (I guess one could go single-user, turn it
on, then continue multiuser to measure what you ask).

Anyway, another data point in VAXen profiling.  This one done on a 4k/90A
running 1.5.1_ALPHA circa yesterday.  I did a 'make build' in /usr/src via
an ssh'ed network connection as the load activity:


   %   cumulative   self              self     total           
 time   seconds   seconds    calls  us/call  us/call  name    
 34.31    515.20   515.20                             Remrq
 30.41    971.86   456.66                             copyin
  9.93   1121.05   149.19                             copystr
  5.66   1206.10    85.05                             syscall
  3.44   1257.80    51.70                             access_v
  3.12   1304.64    46.84  2579478    18.16    30.82  ncr53c9x_intr
  2.16   1337.15    32.51                             sret
  1.81   1364.33    27.18    17738  1532.30  1532.30  fdalloc
  1.00   1379.34    15.01                             hardclock
  0.82   1391.69    12.35                             fdremove
  0.72   1402.50    10.81  1118730     9.66     9.66  copyout
  0.72   1413.28    10.78  1491069     7.23    10.48  ncr53c9x_msgin
  0.58   1421.93     8.65                             kcopy
  0.49   1429.34     7.41   493842    15.00    19.07  ncr53c9x_select
  0.44   1435.94     6.60                             sys___fstat13
  0.42   1442.24     6.30  1576664     4.00     4.00  fdrelease
  0.40   1448.27     6.03      885  6813.56  6813.56  copyinstr
  0.34   1453.39     5.12                             transl_v
  0.32   1458.23     4.84   497023     9.74     9.74  ncr53c9x_reselect
  0.24   1461.89     3.66                             sys_close
  0.24   1465.51     3.62                             eidsptch
  0.23   1468.90     3.39                             rnd_add_uint32
  0.21   1472.09     3.19   493842     6.46    24.27  ncr53c9x_done
  0.21   1475.23     3.14  1238564     2.54    10.14  ncr53c9x_sched
  0.21   1478.36     3.13                             ncr53c9x_scsi_cmd
  0.17   1480.97     2.61   493842     5.29     5.29  callout_stop
  0.14   1483.01     2.04   501558     4.07     4.07  callout_reset
  0.13   1484.94     1.93                             copyoutstr
         .......
  0.00   1501.72     0.00       18     0.00     0.00  nd6_slowtimo
  0.00   1501.72     0.00        9     0.00     0.00  SHA1Final
  0.00   1501.72     0.00        9     0.00     0.00  SHA1Init
  0.00   1501.72     0.00        9     0.00     0.00  SHA1Update
  0.00   1501.72     0.00        8     0.00     0.00  soo_ioctl
  0.00   1501.72     0.00        4     0.00     0.00  soo_fcntl
  0.00   1501.72     0.00        3     0.00     0.00  rndpool_extract_data
  0.00   1501.72     0.00        2     0.00     0.00  rnd_extract_data
  0.00   1501.72     0.00        2     0.00     0.00  uiomove