<div dir="ltr"><a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations" target="_blank">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations</a> lists some performance bottlenecks, I&#39;d like to check if they are still an issue... I recall some changes in how threads are run.<br>


<br>1) &quot;libsofia only handles 1 thread per profile, so if that is your bottle neck use more profiles&quot;<div>Is this still true?</div><div>I saw Anthony mention in a ML post that there is a param for a separate thread for incoming registrations but I can&#39;t find it on the wiki or find the email.</div>

<div><br>2) &quot;Reports of running more than a single instance of FreeSWITCH has helped.&quot;</div><div>If libsofia doesn&#39;t have a bottleneck (see #1), then what part of FS would? Each call get it&#39;s own thread. Why would this help?<br>

<br>3) &quot;On a normal configuration, core.db is written to disk almost every second, generating hundreds of block-writes per second. To avoid this problem, turn /usr/local/freeswitch/db into an in-memory filesystem.&quot;<br>


It seems the other alternative is:<br>&quot;-nosql                 -- disable internal sql scoreboard&quot;</div><div><br></div><div>What does -nosql disable? e.g. for a dialer trunk you don&#39;t need presence, track-calls.. can you still get an active call count from FS?<br>


<br><br><div>4) from <a href="http://wiki.freeswitch.org/wiki/Switch.conf.xml#initial-event-threads" target="_blank">here</a> &quot;initial-event-threads</div><div>Number of event dispatch threads to allocate in the core. Default is 1.</div>


<div>If you see the WARNING &quot;Create additional event dispatch thread&quot; on a heavily loaded server, you could increase the number of threads to prevent the system from falling behind.&quot;</div><div><br></div><div>

If I expect high cps/load, e.g. for dialer term, should I set this higher from the start?</div><div><br></div><div>Anything else I should know, other than &quot;FreeSWITCH is free, so you can use that money you saved to get good hardware&quot; ? I remembered that part!</div>

<br>-Avi Marcus</div>
<div>BestFone</div></div>