[asterisk-dev] [non]optimized builds

Vasil Kolev vasil at ludost.net
Wed Feb 6 04:10:01 CST 2008


В 07:03 +0000 на 06.02.2008 (ср), Julian Lyndon-Smith написа:

> >> The vast majority of open source packages out there build optimized by
> >> default.
> 
> Has anyone actually measured the difference between OPTIMIZEd and 
> DONT_OPTIMIZEd ? I compile and build with DONT_OPTIMIZE and have _never_ 
> seen any performance related problems.

I have seen the difference in CPU usage between the optimized and
non-optimized version to be something like 4% CPU usage on the otpimized
and about 30-40% cpu usage on the non-optimized one on a machine that
was terminating SIP calls to a 4xPRI card (something like 60-70 parallel
calls most of the time).

Non-optimized is a BAD idea for production.

Also, my 2c - most projects have _separate_ build options and builds for
debugging, and it should be the users' choice what to use. Most users
don't participate in the debugging and would prefer the performance :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: =?UTF-8?Q?=D0=A2=D0=BE=D0=B2=D0=B0?=
	=?UTF-8?Q?_=D0=B5?= =?UTF-8?Q?_=D1=86=D0=B8=D1=84=D1=80=D0=BE=D0=B2=D0=BE?=
	=?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0?=
	=?UTF-8?Q?_=D1=87=D0=B0=D1=81=D1=82?= =?UTF-8?Q?_=D0=BE=D1=82?=
	=?UTF-8?Q?_=D0=BF=D0=B8=D1=81=D0=BC=D0=BE=D1=82=D0=BE?=
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20080206/33737728/attachment.pgp 


More information about the asterisk-dev mailing list