Thanks Andrew and Anthony,

I created a ramdisk for the db and log directories using tmpfs and now I see better performance times:

startup:                15.6 sec.
call extension:         0 sec.
shutdown:       7.5 sec
reload config:  0 sec.

I have noticed that during the startup there is a 12 sec. pause while checking for UPnP:

2009-08-24 04:39:29.910459 [ERR] switch_nat.c:183 Error checking for PMP [general error]
2009-08-24 04:39:29.910694 [DEBUG] switch_nat.c:397 Checking for UPnP
2009-08-24 04:39:41.906029 [INFO] switch_nat.c:411 No PMP or UPnP NAT detected!

Is there any way to lower this time? Maybe disabling the check?

Thanks,
Rogelio

On Aug 21, 2009, at 5:20 PM, Anthony Minessale wrote:

probably disk i/o.

Is it some kind of flash drive?

make a ramdisk and simlink in /usr/local/freeswitch/db and /usr/ local/freeswitch/log to it the default configuration uses a lot of high level features that use the sqlite db on the disk.

We also offer commercial support where we could dig deeper into the problem if you can't figure it out
consult...@freeswitch.org



On Fri, Aug 21, 2009 at 2:15 PM, Rogelio Perez <rogelio.pe...@gmail.com > wrote:
Hi Everyone,

I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU. So far I've found a big difference between Freeswitch and Asterisk performance times. This is a comparison of the time it takes them to perform different actions:

startup Freeswitch:                     3 min.
startup Asterisk:                       2 sec.

call extension Freeswitch:      6 sec.
call extension Asterisk:                0 sec.

shutdown Freeswitch:            6.5 sec
shutdown Asterisk:                      0 sec.

reload config Freeswitch:       1 sec.
reload config Asterisk:         1 sec.

Both were built from sources natively (no cross-compiling), and they use the default startup configurations. I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).

1. Is there any way to further improve Freeswitch performance for the ARM architecture? 2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations). 3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?

Thanks,
Rogelio Perez


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to