httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <bak...@web.turner.com>
Subject Some Oprofile results
Date Tue, 06 Jul 2004 13:58:53 GMT
I'm writing an optimized caching module.  I've been using 2.0.50.  Here 
are the "top 50" from oprofile ( http://oprofile.sourceforge.net/ ):

Linux cnnsquid2 2.6.7-cnn.1smp #1 SMP Wed Jun 16 13:41:14 EDT 2004 
x86_64 x86_64 x86_64 GNU/Linux

Using leader mpm.  I patched apr_atomics so that atomics work on x84_64

The serving is serving ~27k requests per second:

Are there optimizations to apr_palloc in 2.1, this seems to be a good 
place to optimize.


CPU: AMD64 processors, speed 2193.21 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a 
unit mask of 0x00 (No unit mask) count 100000
samples  %        image name               symbol name
309339    6.5157  libc-2.3.3.so            __GI_memcpy
253711    5.3440  libc-2.3.3.so            __GI_strlen
135260    2.8490  libc-2.3.3.so            __GI___strcasecmp
112265    2.3647  libapr-0.so.0.9.5        apr_palloc
89160     1.8780  libc-2.3.3.so            __GI_memset
85604     1.8031  httpd                    core_input_filter
84395     1.7776  libaprutil-0.so.0.9.5    apr_brigade_create
83813     1.7654  libapr-0.so.0.9.5        apr_table_setn
82846     1.7450  httpd                    match
82736     1.7427  libapr-0.so.0.9.5        apr_table_get
81288     1.7122  httpd                    pcre_exec
81011     1.7064  libaprutil-0.so.0.9.5    apr_brigade_writev
71233     1.5004  httpd                    net_time_filter
70346     1.4817  httpd                    core_output_filter
68436     1.4415  mod_setenvif.so          match_headers
65654     1.3829  libapr-0.so.0.9.5        apr_vformatter
61061     1.2861  libc-2.3.3.so            __GI_memchr
58134     1.2245  httpd                    ap_rgetline_core
57236     1.2056  httpd                    ap_getword_white
57038     1.2014  libaprutil-0.so.0.9.5    apr_brigade_split_line
55767     1.1746  libapr-0.so.0.9.5        apr_pool_cleanup_register
52988     1.1161  mod_log_config.so        config_log_transaction
48604     1.0238  httpd                    ap_escape_logitem
46163     0.9723  libapr-0.so.0.9.5        allocator_alloc
45412     0.9565  libaprutil-0.so.0.9.5    apr_brigade_cleanup
45172     0.9515  libpthread-0.61.so       __pthread_mutex_lock_internal
41772     0.8799  mod_url_cache.so         url_cache_handler
40048     0.8435  libaprutil-0.so.0.9.5    MD5Transform
39382     0.8295  httpd                    ap_read_request
39253     0.8268  libapr-0.so.0.9.5        apr_socket_timeout_set
38626     0.8136  libpthread-0.61.so       __libc_read
38383     0.8085  libaprutil-0.so.0.9.5    apr_uri_parse
38003     0.8005  httpd                    add_any_filter_handle
36614     0.7712  libapr-0.so.0.9.5        apr_poll
36360     0.7659  libaprutil-0.so.0.9.5    apr_bucket_heap_make
35417     0.7460  libapr-0.so.0.9.5        apr_socket_recv
34016     0.7165  mod_url_cache.so         parse_cache_headers
32330     0.6810  libaprutil-0.so.0.9.5    apr_bucket_heap_create
31767     0.6691  httpd                    ap_http_header_filter
31348     0.6603  httpd                    ap_process_http_connection
29833     0.6284  libapr-0.so.0.9.5        apr_table_addn
29288     0.6169  libaprutil-0.so.0.9.5    heap_bucket_read
29273     0.6166  httpd                    anonymous symbol from section 
.plt
29122     0.6134  libaprutil-0.so.0.9.5    socket_bucket_read
29038     0.6116  libaprutil-0.so.0.9.5    apr_bucket_free
28632     0.6031  httpd                    ap_get_brigade
27897     0.5876  libapr-0.so.0.9.5        apr_pstrcat
27196     0.5728  libaprutil-0.so.0.9.5    heap_bucket_destroy
26658     0.5615  libaprutil-0.so.0.9.5    file_bucket_read

-- 
Brian Akins
Senior Systems Engineer
CNN Internet Technologies


Mime
View raw message