[asterisk-dev] Asterisk coredump

Kirill Katsnelson kkm at adaptiveai.com
Fri Apr 22 02:12:10 CDT 2011


On 110421 2338, Tzafrir Cohen wrote:
> On Thu, Apr 21, 2011 at 09:56:29PM -0700, Kirill Katsnelson wrote:
>> I'd say no. Always compile with DONT_OPTIMIZE and run with -g. The first
>> will bring some CPU inefficiency, but I think it does not exceed 10%,
>
> Think again.

DEBUG_THREADS is horrible CPU-wise, but I am not really seeing any 
sizable impact from DONT_OPTIMIZE alone. An i5 4-core Xeon here under 64 
bit Linux, gcc 4.4.5, and quite an AEL script.

What would be your ballpark estimate of a performance impact of -O0?

  -kkm



More information about the asterisk-dev mailing list