Try using the following flags to reclaim the performance

-library=stlport4 -O4

Alexander



On Wed, 21 Mar 2007, allen mathias wrote:

Dan here are the truss outputs

-bash-3.00$ truss -c ./fileio-fs-fs  #compiled using CC

syscall               seconds   calls  errors
_exit                    .000       1
read                     .345   17198
write                  13.249 1000000
open                     .030       9       1
close                    .000       8
brk                      .000      16
stat                     .000      20      14
lseek                  45.362 6017204
getpid                   .000       1
ioctl                    .000       2
execve                   .000       1
getcontext               .000       1
setustack                .000       1
mmap                     .000      23
munmap                   .000       5
getrlimit                .000       1
memcntl                  .000       4
lwp_private              .000       1
resolvepath              .000       7
getcwd                   .000       1
                    --------  ------   ----
sys totals:            58.990 7034504     15
usr time:              14.834
elapsed:              344.020

-bash-3.00$ truss -c ./fileio-fs-fs.g++  #compiled using g++

syscall               seconds   calls  errors
_exit                    .000       1
read                    1.541  137713
write                  12.917 1000000
open                     .116       8       1
close                    .000       7
brk                      .000       2
stat                     .000      17      11
lseek                    .000       1
getpid                   .000       1
sysi86                   .000       1
execve                   .000       1
getcontext               .000       1
setustack                .000       1
mmap                     .000      24
munmap                   .000       5
getrlimit                .000       1
memcntl                  .000       4
sysconfig                .000       1
lwp_private              .000       1
resolvepath              .000       7
getcwd                   .000       1
                    --------  ------   ----
sys totals:            14.576 1137798     12
usr time:               4.239
elapsed:               63.310
-bash-3.00$


This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org


_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to