[Freeswitch-users] Optimize Freeswitch build

Steven Ayre steveayre at gmail.com
Fri Jul 1 01:49:55 MSD 2011


It also makes debugging problems harder because you can't get a decent stack trace from a coredump.

Steve on iPhone

On 30 Jun 2011, at 21:01, Kristian Kielhofner <kris at kriskinc.com> wrote:

> Many times you will discover that these flags don't speed up your
> software - they expose bugs in your compiler ;).
> 
> In all seriousness if these flags magically made FS run X faster
> they'd be in the bootstrap/configure scripts by default because the
> devs would put them there.
> 
> On Thu, Jun 30, 2011 at 12:23 PM, curriegrad2004
> <curriegrad2004 at gmail.com> wrote:
>> You enable the optimizations by this following command in the configure stage:
>> "CFLAGS="-g -O2 -march=native" CXXFLAGS="-g -O2 -march=native" ./configure"
>> 
>> after that simply run a make and you should be good.
>> 
>> On Thu, Jun 30, 2011 at 9:17 AM, Jan Berger <jan.berger at video24.no> wrote:
>>> Assuming "maximum performance" is for the purpose of getting more calls when
>>> it hardly matters unless CPU is your actual bottleneck.
>>> 
>>> 
>>> 
>>> Jan
>>> 
>>> 
>>> 
>>> ________________________________
>>> 
>>> From: freeswitch-users-bounces at lists.freeswitch.org
>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stephen
>>> Wilde
>>> Sent: 30. juni 2011 18:11
>>> To: FreeSWITCH Users Help
>>> Subject: Re: [Freeswitch-users] Optimize Freeswitch build
>>> 
>>> 
>>> 
>>> Thank you for the info, but how I can set this flags?
>>> 
>>> I have to change the Makefile?
>>> 
>>> I build Freeswitch with a "make install".
>>> 
>>> 
>>> 
>>> On Thu, Jun 30, 2011 at 5:45 PM, curriegrad2004 <curriegrad2004 at gmail.com>
>>> wrote:
>>> 
>>> You can always use the cflags and cxxflags "-g -O2 -march=proc" to
>>> optimize FreeSwitch altogether during the build process.
>>> 
>>> On Thu, Jun 30, 2011 at 8:21 AM, Stephen Wilde <wstephen80 at gmail.com> wrote:
>>>> Hi all,
>>>> it's possible to optimize the Freeswitch build to maximize the
>>>> performance?
>>>> Or this is the default configuration?
>>>> I have not found any reference to this argument.
>>>> Stephen
>>> 
>>>> _______________________________________________
>>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>>> http://www.cluecon.com 877-7-4ACLUE
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com 877-7-4ACLUE
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com 877-7-4ACLUE
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>> 
>>> 
>> 
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com 877-7-4ACLUE
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> 
> 
> 
> 
> -- 
> Kristian Kielhofner
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



More information about the FreeSWITCH-users mailing list