dean gaudet wrote: [...] >>* memset() is called mostly from apr_pcalloc(), which in turn is >> used in too many places to yield any easy optimization opportunities. >> > >sometimes folks are lazy and ask for zeroed memory out of habit, when they >could easily deal with garbage at less cost. > Some good news here: I dug through the profile data and found that over half the httpd's calls to apr_pcalloc are from one function, 'find_entry' in the apr_hash_set implementation. It uses apr_pcalloc to allocate a struct with 5 fields, and then it immediately overwrites 4 of those fields. I'll submit a patch to the APR dev list to fix this. --Brian
- mod_include.c WAS: RE: remaining CPU bottlenecks... Sander Striker
- Re: remaining CPU bottlenecks in 2.0 William A. Rowe, Jr.
- Re: remaining CPU bottlenecks in 2.0 Greg Stein
- Re: remaining CPU bottlenecks in 2.0 Brian Pane
- Re: remaining CPU bottlenecks in 2.0 Brian Pane
- Re: remaining CPU bottlenecks in 2.0 Justin Erenkrantz
- Re: remaining CPU bottlenecks in 2.0 Ian Holsman
- Re: remaining CPU bottlenecks in 2.0 Justin Erenkrantz
- Re: remaining CPU bottlenecks in 2.0 Aaron Bannert
- Re: remaining CPU bottlenecks in 2.0 dean gaudet
- Re: remaining CPU bottlenecks in 2.0 Brian Pane
- Re: remaining CPU bottlenecks in 2.0 William A. Rowe, Jr.
- Re: remaining CPU bottlenecks in 2.0 Brian Pane
