<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks Andrew and Anthony,</div><div><br></div><div>I created a ramdisk for the db and log directories using tmpfs and now I see better performance times:</div><div><div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">startup:<span class="Apple-tab-span" style="white-space:pre">                </span>15.6 sec.<br>call extension: <span class="Apple-tab-span" style="white-space:pre">        </span>0 sec.<br>shutdown:<span class="Apple-tab-span" style="white-space:pre">        </span>7.5 sec<br>reload config:<span class="Apple-tab-span" style="white-space:pre">        </span>0 sec.</blockquote><div><div><div><div><div><div><div><br></div></div></div></div></div><div>I have noticed that during the startup there is a 12 sec. pause while checking for UPnP:</div><div><div><br></div></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">2009-08-24 04:39:29.910459 [ERR] switch_nat.c:183 Error checking for PMP [general error]<br>2009-08-24 04:39:29.910694 [DEBUG] switch_nat.c:397 Checking for UPnP<br>2009-08-24 04:39:41.906029 [INFO] switch_nat.c:411 No PMP or UPnP NAT detected!</blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><br></blockquote>Is there any way to lower this time? Maybe disabling the check?<div><br></div><div>Thanks,</div><div>Rogelio</div><div><br><div><div><div><div><div>On Aug 21, 2009, at 5:20 PM, Anthony Minessale wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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">&lt;<a href="mailto:rogelio.perez@gmail.com">rogelio.perez@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "> <div style="word-wrap: break-word;"><div>Hi Everyone,</div><div><br></div><div>I'm working on a PBX project for the&nbsp;<a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%253A%252F%252Fwww.marvell.com%252Fproducts%252Fembedded_processors%252Fdeveloper%252Fkirkwood%252Fsheevaplug.jsp&amp;ei=EOOOSo6ILcyOtgeNruTOBA&amp;usg=AFQjCNFREhfy_erj5irBWk8XFUjkQOP-aw&amp;sig2=pAHYlI15IbZ5Kcw0n-nIvA" target="_blank">Sheevaplug</a>&nbsp;ARM based computer, with the following specs:&nbsp;CPU&nbsp;1.2 GHz,&nbsp;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&nbsp;Freeswitch:<span style="white-space: pre;">                        </span>3 min.<br>startup&nbsp;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:&nbsp;[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> _______________________________________________<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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></div></div></body></html>