<div dir="ltr">bash script in cron that uses tar ;)<br><br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 1:19 PM, Michael Collins <span dir="ltr"><<a href="mailto:mcollins@fcnetwork.com">mcollins@fcnetwork.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 link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">That begs the question… is there a
mechanism in sqlite or Linux that allows for the RAM drive to be backed up
periodically? That would be a cool feature to get documented for those power
users like Ken! ;)</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">-MC</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Ken Rice<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 12, 2008
11:07 AM<div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users]
Performance bottleneck</div></div></span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Calibri" size="2"><span style="font-size: 11pt; font-family: Calibri;">The Disk IO on sqlite can be quite
a bit... One work around for this is to create a ram drive of sufficient size
and mount it to /usr/local/freeswitch/db (or whatever your db dir is for
freeswitch) this helps out greatly... But anything in the db will not be saved
across system reboots unless you do something about that yourself<br>
<br>
K<br>
<br>
</span></font></p>
<div style="text-align: center;" align="center"><font face="Calibri" size="2"><span style="font-size: 11pt; font-family: Calibri;">
<hr align="center" size="3" width="95%">
</span></font></div>
<p style="margin-bottom: 12pt;"><b><font face="Calibri" size="2"><span style="font-size: 11pt; font-family: Calibri; font-weight: bold;">From: </span></font></b><font face="Calibri" size="2"><span style="font-size: 11pt; font-family: Calibri;">Michael
Jerris <<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>><br>
<b><span style="font-weight: bold;">Reply-To: </span></b><<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b><span style="font-weight: bold;">Date: </span></b>Tue, 12 Aug 2008 13:59:13
-0400<br>
<b><span style="font-weight: bold;">To: </span></b><<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b><span style="font-weight: bold;">Subject: </span></b>Re: [Freeswitch-users]
Performance bottleneck<br>
<br>
It's going to be the disk io from sqlite. The presense states are all
stored in sqlite (or odbc) data source.<br>
<br>
Mike<br>
<br>
On Aug 12, 2008, at 1:53 PM, UV wrote:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Turning the presence off did the trick, although
it would be important (to me, at least) to understand why as it changes the
performance significantly.<br>
Is the presence mechanism waiting for some response from the network?<br>
I'm assuming it's waiting on something external because I
couldn't find any CPU activity…<br>
</span></font></p>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p style="margin-bottom: 12pt;"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <font color="blue"><span style="color: blue;"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org%5d" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org]</a>
<b><span style="font-weight: bold;">On Behalf Of </span></b>Anthony Minessale<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, August 13, 2008
12:55 AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users]
Performance bottleneck<br>
</span></font></span></font><br>
9996 is not a good test extension because it does not generate any audio unless
it gets some.<br>
9998 that generates a tone or make up an ext that plays a file is a better one.<br>
<br>
Processing of the sip calls can be delayed by the presence stuff which is very
intensive, you can try turning it off and see if you get more calls. Also
you should compare it to what happens with the test exten first in the dial
plan.<br>
<br>
<br>
On Tue, Aug 12, 2008 at 2:58 AM, UV <<font color="blue"><span style="color: blue;"><a href="mailto:uv@talknet.com.au" target="_blank">uv@talknet.com.au</a>> wrote:<br>
</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I'm trying to determine the FS resource
bottleneck when operating under load (in windows environment), but can't get
the FS to load for some unseen reason.<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">FS environment (a weak PC on purpose):<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">CPU 2x Intel Pentium 4 3GHz<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">RAM 2x 512MB DDR II RAM<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Chipset - Intel E7221 (Copper River)
chipset ICH6R + FWH + BCM5721<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">LAN 1x Broadcom Giga LAN<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Windows 2003 Server – Service pack 2<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">FS version 9235<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Running Release build on highest priority<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Load script:<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">A different machine running sipP<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Running rtp_echo load, 50 cps, limit of 1000 calls, 30sec
call duration, extension 9996 (echo test):<br>
</span></font><br>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">sipp -rtp_echo -r 50 -l 1000 -d 30000 -s 9996 -sf auc.xml -mp
25000 -i </span></font><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;"><a href="http://192.168.1.1" target="_blank">192.168.1.1</a> <a href="http://192.168.1.1" target="_blank"><http://192.168.1.1></a> -mi <a href="http://192.168.1.1" target="_blank">192.168.1.1</a> <a href="http://192.168.1.1" target="_blank"><http://192.168.1.1></a> <a href="http://192.168.1.2" target="_blank">192.168.1.2</a> <a href="http://192.168.1.2" target="_blank"><http://192.168.1.2></a> <br>
</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
<br>
<br>
Results:<br>
<br>
Test ran for 9.5 hours<br>
<br>
Total of 48828 calls - all successful<br>
<br>
No timeouts, retransmissions or unexpected messages.<br>
<br>
</span></font></p>
</div></div></div>
</div>
</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>
<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>
</div>