probably disk i/o. <br><br>Is it some kind of flash drive?<br><br>make a ramdisk and simlink in /usr/local/freeswitch/db and /usr/local/freeswitch/log to it<br>the default configuration uses a lot of high level features that use the sqlite db on the disk.<br>
<br>We also offer commercial support where we could dig deeper into the problem if you can't figure it out<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><br><br><br><div class="gmail_quote">
On Fri, Aug 21, 2009 at 2:15 PM, Rogelio Perez <span dir="ltr"><<a href="mailto:rogelio.perez@gmail.com">rogelio.perez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><div>Hi Everyone,</div><div><br></div><div>I'm working on a PBX project for the <a href="http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%253A%252F%252Fwww.marvell.com%252Fproducts%252Fembedded_processors%252Fdeveloper%252Fkirkwood%252Fsheevaplug.jsp&ei=EOOOSo6ILcyOtgeNruTOBA&usg=AFQjCNFREhfy_erj5irBWk8XFUjkQOP-aw&sig2=pAHYlI15IbZ5Kcw0n-nIvA" target="_blank">Sheevaplug</a> ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.</div>
<div>So far I've found a big difference between Freeswitch and Asterisk performance times.</div><div>This is a comparison of the time it takes them to perform different actions:</div><div><br></div><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">
startup Freeswitch:<span style="white-space: pre;">                        </span>3 min.<br>startup Asterisk:<span style="white-space: pre;">                        </span>2 sec.<br><br>call extension Freeswitch:<span style="white-space: pre;">        </span>6 sec.<br>call extension Asterisk:<span style="white-space: pre;">                </span>0 sec.<br>
<br></blockquote><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">shutdown Freeswitch:<span style="white-space: pre;">                </span>6.5 sec</blockquote><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">
shutdown Asterisk:<span style="white-space: pre;">                        </span>0 sec.</blockquote><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;"><span style="white-space: pre;"></span><br>reload config Freeswitch: <span style="white-space: pre;">        </span>1 sec.<br>
reload config Asterisk:<span style="white-space: pre;">                </span>1 sec.</blockquote><div><br></div><div>Both were built from sources natively (no cross-compiling), and they use the default startup configurations.</div><div>
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).</div><div><br></div><div>1. Is there any way to further improve Freeswitch performance for the ARM architecture?</div>
<div>2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).</div><div>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?</div>
<div><br></div><div>Thanks,</div><div>Rogelio Perez</div><font color="#888888"><div><br></div></font></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>