<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">Could someone please explain what the effect the -waste parameter has on starting FreeSwitch?</span></blockquote>
<div><br></div><div>This is my understanding... it may be incorrect.</div><div><br></div><div>The default size of the stack is 8MB per-thread. On 32bit machines this means you could run out of virtual memory space if you're running lots of threads (ie lots of calls). Lets say FreeSWITCH can address the maximum 4GB 32bit can address (and it probably can't, ~3GB is more likely), that's only ~500 threads. FreeSWITCH will reduce the size of the stack on startup to SWITCH_THREAD_STACKSIZE, currently 240KB. The advantage is that you can run many more calls, the disadvantage is that you could run out of stack space and crash FreeSWITCH - in practice the latter happening is probably quite unlikely though.</div>
<div><br></div><div>-waste disables that behaviour to keep the default 8MB stack, for cases where you may find you're running out of stack space. You almost certainly don't need it.</div><div><br></div><div>On 64bit the virtual memory range is so large that this is not an issue. I don't think the -waste parameter even exists on 64bit platforms.</div>
<div><br></div><div><br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">Also, what are the implications of turning off the scoreboard by running with -nosql? What functionality is lost?</blockquote>
<div><br></div><div>Among other things you lose commands like 'show calls' 'show channels', and probably interferes with a bunch of other functionality too. I'd avoid it unless you *really* need it.</div>
<div><br></div><div>If you're trying to optimise the system try moving the core database to either a ramdisk or ODBC before getting rid of it entirely.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 24 June 2014 22:09, Guillermo Ruiz Camauer <span dir="ltr"><<a href="mailto:grcamauer@gmail.com" target="_blank">grcamauer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Could someone please explain what the effect the -waste parameter has on starting FreeSwitch?<div>Also, what are the implications of turning off the scoreboard by running with -nosql? What functionality is lost?</div>
<div><br></div><div>thanks,<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br>Guillermo Ruiz Camauer<br>
</font></span></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div>