A bit of profiling

"Mindaugas Riauba" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
  Hello,

  I tried to OProfile system running wapbox/bearerbox. Here are
the results. Kannel is 1.3.cvs-20040312. Latest cvs version is core
dumping for me. OS is Linux RHEL3.

  1st or 2nd column is number of samples, next - percentage from total.

  This is my first try to profile so not much data. :) And I do not know
yet how to get information about kernel samples.

  Mindaugas

# op_time | tail -10
22006      0.1604  0.0000 /lib/jbd.o
34394      0.2507  0.0000 /usr/lib/libxml2.so.2.5.10
40080      0.2922  0.0000
/lib/modules/2.4.21-15.0.3.TLsmp/kernel/drivers/net/tg3.o
48515      0.3537  0.0000
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
459459     3.3497  0.0000 /lib/tls/libpthread-0.60.so
1031846    7.5226  0.0000 /usr/sbin/squid
2418892   17.6348  0.0000 /lib/tls/libc-2.3.2.so
2649113   19.3132  0.0000 /usr/local/sbin/bearerbox
3461412   25.2352  0.0000 /usr/local/sbin/wapbox
3462495   25.2431  0.0000 /boot/vmlinux-2.4.21-15.0.3.TLsmp

# oprofpp -l /lib/tls/libc-2.3.2.so | tail -10
00079ed0 75119    3.0807      __GI_memcpy
0006d600 84183    3.45243     _IO_old_init
0005e550 92507    3.7938      __find_specmb
00076e90 93020    3.81484     __GI_strchr
00070c60 94204    3.8634      __malloc
00079930 96170    3.94402     bcmp
00071870 100591   4.12533     _int_malloc
00070de0 121785   4.99452     __cfree
0006d270 219067   8.98415     _IO_default_xsputn_internal
00044130 640499   26.2675     _IO_vfprintf_internal

# oprofpp -l /usr/local/sbin/bearerbox | tail -10
080c7621 2727     0.101331    gwthread_self
080dc148 3235     0.120207    _fini
080897b0 3996     0.148485    smpp_pdu_pack
080d14d4 4730     0.175759    debug
08072d4a 6017     0.223582    brunet_parse_reply
080b7f56 6495     0.241343    sema_decode_msg
080c0482 7632     0.283592    cfg_dump_all
080d294e 36391    1.35223     octstr_compare
080cf81f 555685   20.6483     list_search
0804df64 1975864  73.4198     cmp_route

# oprofpp -l /usr/local/sbin/wapbox | tail -10
08091e8d 67061    1.91247     find_by_session_id
080c0648 72176    2.05834     octstr_dump
080bafdb 73173    2.08677     list_search
0809b722 83125    2.37058     is_wanted_resp_machine
08091e64 107761   3.07316     transaction_belongs_to_session
0808c39d 111577   3.18199     handle_session_event
08092750 113218   3.22878     id_belongs_to_session
0809c75f 535690   15.277      tid_is_cached
0807608d 676033   19.2793     wap_addr_tuple_same
08075fca 682267   19.4571     wap_addr_same
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.