antonioelderprado
IS-IT--Management
- May 19, 2003
- 75
Hi, I have a cc - forte compiler that takes very long time to compile. A simple hello.c takes 2 min; when a c program is much bigger it can take more than 1 hour. From the etruss output:
root@sundev02:/var/scratch# ./etruss -c cc ./hello.c
ucbcc: Warning: Option -YP,:/usr/ucblib:/export/home/opt/SUNWspro/WS6U2/bin/../lib:/export/home/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ld: warning: option -YP appears more than once, first setting taken
syscall cpu sec elapsed latency wait calls errors
_exit .000 .000 .000048 0% 1
fork .000 .040 .013557 0% 3
read .000 .000 .000024 0% 32
open .000 .000 .000037 0% 8 4
close .000 .000 .000021 0% 10 1
brk .000 .000 .000015 0% 12
stat .000 .000 .000033 0% 1
getpid .000 .000 .000014 0% 1
getuid .000 .000 .000013 0% 3
fstat .000 .000 .000020 0% 4
access .000 .000 .000028 0% 1
pgrpsys .000 .000 .000013 0% 2
pipe .000 .000 .000036 0% 2
getgid .000 .000 .000014 0% 2
ioctl .000 .000 .000028 0% 8 5
execve .000 .000 .000000 0% 1
fcntl .000 .000 .000015 0% 2
sigaltstack .000 .000 .000015 0% 1
sigaction .000 .000 .000014 0% 53
waitid .000 120.142 30.035534 99% 4
mmap .000 .000 .000028 0% 10
munmap .000 .000 .000030 0% 3
memcntl .000 .000 .000079 0% 2
sysconfig .000 .000 .000013 0% 2
llseek .000 .000 .000016 0% 1
resolvepath .000 .000 .000032 0% 1
stat64 .000 .000 .000052 0% 2
open64 .000 .000 .000031 0% 1
----- ----- --- ---
sys totals: .003 120.186 173 10
usr time: .004
elapsed: 120.250
---------- per I/O ---------- ---------- total -------------
syscall[file] latency iowait size wait Kb/s calls errors
read[cc]: .000027 .000000 19 0% 0 4
read[S_IFREG]: .000027 .000000 124 0% 0 28
root@sundev02:/var/scratch#
root@sundev02:/var/scratch#
any suggestion will be appreciate, thank you
./antonio/.
./antonio elder prado/.
.\mountain view, ca\.
./bauru, sao paulo/.
root@sundev02:/var/scratch# ./etruss -c cc ./hello.c
ucbcc: Warning: Option -YP,:/usr/ucblib:/export/home/opt/SUNWspro/WS6U2/bin/../lib:/export/home/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ld: warning: option -YP appears more than once, first setting taken
syscall cpu sec elapsed latency wait calls errors
_exit .000 .000 .000048 0% 1
fork .000 .040 .013557 0% 3
read .000 .000 .000024 0% 32
open .000 .000 .000037 0% 8 4
close .000 .000 .000021 0% 10 1
brk .000 .000 .000015 0% 12
stat .000 .000 .000033 0% 1
getpid .000 .000 .000014 0% 1
getuid .000 .000 .000013 0% 3
fstat .000 .000 .000020 0% 4
access .000 .000 .000028 0% 1
pgrpsys .000 .000 .000013 0% 2
pipe .000 .000 .000036 0% 2
getgid .000 .000 .000014 0% 2
ioctl .000 .000 .000028 0% 8 5
execve .000 .000 .000000 0% 1
fcntl .000 .000 .000015 0% 2
sigaltstack .000 .000 .000015 0% 1
sigaction .000 .000 .000014 0% 53
waitid .000 120.142 30.035534 99% 4
mmap .000 .000 .000028 0% 10
munmap .000 .000 .000030 0% 3
memcntl .000 .000 .000079 0% 2
sysconfig .000 .000 .000013 0% 2
llseek .000 .000 .000016 0% 1
resolvepath .000 .000 .000032 0% 1
stat64 .000 .000 .000052 0% 2
open64 .000 .000 .000031 0% 1
----- ----- --- ---
sys totals: .003 120.186 173 10
usr time: .004
elapsed: 120.250
---------- per I/O ---------- ---------- total -------------
syscall[file] latency iowait size wait Kb/s calls errors
read[cc]: .000027 .000000 19 0% 0 4
read[S_IFREG]: .000027 .000000 124 0% 0 28
root@sundev02:/var/scratch#
root@sundev02:/var/scratch#
any suggestion will be appreciate, thank you
./antonio/.
./antonio elder prado/.
.\mountain view, ca\.
./bauru, sao paulo/.