After reading your posting, I ran procsystime -a on a ./configure script out of 
curiosity. Surprisingly a lot of _CPU_ time is taken by fork1. Is this the 
reason why configure scripts are slow on Solaris?

(output shortened for briefness)

Elapsed Times for command ./configure,

         SYSCALL          TIME (ns)
       sigaction           24885745
          stat64           26037565
           fcntl           35348632
           write           79594846
     lwp_sigmask          107094342
           fork1         1331464837
            read         3468415225
         waitsys        27433856925
          TOTAL:        32569522816

CPU Times for command ./configure,

         SYSCALL          TIME (ns)
     lwp_sigmask           18668215
          stat64           22272849
            read           26126280
           write           36213996
         waitsys           60724501
           fork1         1280744944
          TOTAL:         1514208013

Syscall Counts for command ./configure,

         SYSCALL              COUNT
          stat64               1569
            read               1618
           close               2527
           fork1               2728
        schedctl               2729
         waitsys               2794
       sigaction               5958
           fcntl               9815
     lwp_sigmask              46395
          TOTAL:              79838
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to