<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div>Anthony,</div><div><br></div><div>Thank you for your clear response. Based on your recommendation, if I want to route more calls to the first server, should I take off "-hp", or it's better to run with it. We are running FS for pass-thru traffic with signaling only.</div><div><br></div><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Anthony Minessale <anthony.minessale@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> freeswitch-users@lists.freeswitch.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, December 7, 2009 8:56:14 AM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Question regarding running FreeSWITCH with high priority enabled.<br></font><br>One of the properties of -hp is to enable memlockall() which means disable swapping. This causes all memory used by FS to be resident permanently and is much more costly in memory usage. -hp also uses a RR scheduler runs the process at a less nice level and increases a few other process ulimits. This mode is designed for high end usage and uses more resources when idle with a large payout when scaling to many calls.<br>
<br><br><br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 10:42 AM, DJB <span dir="ltr"><<a rel="nofollow" ymailto="mailto:djbinter@yahoo.com" target="_blank" href="mailto:djbinter@yahoo.com">djbinter@yahoo.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><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt;"><div>One thing that I forgot to mention, these 2 FreeSWITCH servers are getting calls with load balancing from another switch. Thus, the traffic type are pretty much identical and both FSs have exactly the same on configuration. Any suggestion would be appreciated. Thank you.</div>
<div style="font-family:verdana, helvetica, sans-serif;font-size:10pt;"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><div class="hm"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> DJB <<a rel="nofollow" ymailto="mailto:djbinter@yahoo.com" target="_blank" href="mailto:djbinter@yahoo.com">djbinter@yahoo.com</a>><br>
<b><span style="font-weight:bold;">To:</span></b> FREESWITCH-USERS MAILING LIST <<a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br><b><span style="font-weight:bold;">Sent:</span></b> Sun, December 6, 2009 5:17:14 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b> [Freeswitch-users] Question regarding running FreeSWITCH with high priority enabled.<br></font></div><div><div></div><div class="h5"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
<div><div>I have 2 identical Dell PowerEdge 1950 servers running FreeSWITCH Version 1.0.4 (exported) with only one thing difference which is the first one is running with -hp enabled; however, I have noticed that the one with -hp option consumed double in memory usage than the other one. </div>
<div><br></div><div>I wonder whether anyone can explain why. Thank you.</div><div><br></div><div>Please see below:</div><div><br></div><div>--------------------------------------------------------------------------------------------------------------</div>
<div>top - 01:01:42 up 53 days, 2:45, 1 user, load average: 0.22, 0.28, 0.29</div><div>Tasks: 143 total, 1 running, 142 sleeping, 0 stopped,
0 zombie</div><div>Cpu(s): 0.9%us, 0.2%sy,
0.0%ni, 96.4%id, 2.5%wa, 0.0%hi, 0.0%si, 0.0%st</div><div>Mem: 8174164k total, 7550092k used, 624072k free, 187568k buffers</div><div>Swap: 10223608k total, 0k used, 10223608k free, 5417524k cached</div>
<div><br></div><div> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND </div><div>30750 root -2 -10 1823m 1.5g 20m S 8.6 19.8 1153:40 freeswitch</div>
<div><br></div><div>4418 session(s) 14/100</div><div><br></div><div>root 30750 2.1 <b><font color="#ff0000">19.9</font></b> 1879252 1634300
? S<Ll Oct30 1153:50 /usr/local/freeswitch/bin/freeswitch -nc -hp</div><div><br></div><div>--------------------------------------------------------------------------------------------------------------</div><div>
top - 01:01:58 up 53 days, 2:45, 1 user, load average: 0.43, 0.51, 0.49</div><div>Tasks: 143 total, 1 running, 142 sleeping, 0 stopped, 0 zombie</div><div>Cpu(s): 0.9%us, 0.3%sy, 0.0%ni, 96.4%id, 2.4%wa, 0.0%hi, 0.0%si, 0.0%st</div>
<div>Mem: 8174164k total, 6751260k used, 1422904k free, 203948k buffers</div><div>Swap: 10223608k total, 0k used, 10223608k free, 5432632k cached</div><div><br></div><div> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
</div><div> 7147 root 15 0 1961m 755m 5164 S 9.0 9.5 1452:26 freeswitch </div><div><br></div><div>4478 session(s) 14/100</div><div><br></div><div>root 7147 1.9 <b><font color="#ff0000">9.4</font></b> 2009392 774848 ? Sl Oct15 1452:37 /usr/local/freeswitch/bin/freeswitch -nc</div>
<div><br></div><div><br></div></div><div></div>
</div><br>
</div></div></div></div><div></div>
</div><br>
</div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a rel="nofollow" target="_blank" href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a rel="nofollow" ymailto="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank" href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a rel="nofollow" ymailto="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a rel="nofollow" target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a rel="nofollow" ymailto="mailto:sip%3A888@conference.freeswitch.org" target="_blank" href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a rel="nofollow" ymailto="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div><div style="position:fixed"></div>
<!-- cg2.c1.mail.mud.yahoo.com compressed/chunked Wed Dec 2 09:01:50 PST 2009 -->
</div><br>
</body></html>