The core philosophy of the entire design is based on a single thread per channel.<br>There is no way to avoid this.<br><br>What are the specs of your machines? <br>DId you try using the 2003 server instead of XP (a home version meant for single users)<br>
<br>We have little feedback on performance on win32 (good or bad) but we do have many people using it.<br><br>Did you do any more extensive profiling to see what is using the most cpu (look for process explorer)<br><br><br>
<div class="gmail_quote">2009/3/26 Richard Lamkin <span dir="ltr"><<a href="mailto:Richard.Lamkin@mettoni.com" target="_blank">Richard.Lamkin@mettoni.com</a>></span><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="purple" lang="EN-GB">
<div>
<p>Dear All,</p>
<p> </p>
<p>I am testing FS as a call queuing server. </p>
<p> </p>
<p>My test set up is as follows; </p>
<p>Two Windows XP (SP3) Pc’s with 1.0.3 installed out
of the box. [ Before anyone says use Linux I need to use windows for a
specific reason]</p>
<p> </p>
<p>I have a single gateway [fsb1500] on FS-1 configured to
register with FS-2 [extn 1500]. </p>
<p> </p>
<p>I then use the following CLI command to create a call from
FS1[5900] to FS2[5900]</p>
<p> “bgapi originate sofia/gateway/fsb1500/<a href="mailto:5900@richardl-5013-2.mettonigroup.com" target="_blank">5900@richardl-5013-2.mettonigroup.com</a>
5900”</p>
<p> </p>
<p>This happily connects FS1[5900] to FS2[5900] . Codec
set to G711a.</p>
<p>I have one hardphone on FS2 with a call connected to 5900 to
allow me to listen to MOH.</p>
<p> </p>
<p>I have been monitoring the system resources used by FS and have
observed that for each new call a new thread is created. </p>
<p>I have pushed well over 200 calls from FS-1 into FS2. </p>
<p>All goes well with the CPU usage by FS (<25%) until 150
concurrent calls when it starts to climb rapidly and at 175 (~50%). </p>
<p>One good thing is that memory usage is reasonable with 90MB
for 150 calls.</p>
<p> </p>
<p>My questions are;</p>
<p>Q1 – Is my test reasonable ?</p>
<p> </p>
<p>Q2 - Windows XP is not that happy with large numbers of
thread per app. Is there a way to configure FS to use fewer threads; instead of
using 1/call can it be configured to use to 1/(n calls) ?</p>
<p> </p>
<p>Q3 – If there’s not a way to configure FS
to combine threads would it be reasonable to consider modifying the FS code to allow
the combining of threads or would this be a mammoth task.</p>
<p> </p>
<p>Regards</p>
<p> </p>
<p>Richard Lamkin</p>
</div>
<pre>*************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. <a href="http://www.mettoni.com" target="_blank">http://www.mettoni.com</a>
Datapulse Ltd (part of the Mettoni Group)
Registered in England and Wales: 4485978
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************
</pre></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>