maybe you can try both ways and see if there is a significant difference?<br>I think -hp would help more if you were doing media than if you were not but that does not mean it could not still help performance but really the extra performance would only show up once you had consumed all the resources the box had to offer without -hp enabled in most cases.<br>
<br><br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 11:12 AM, DJB <span dir="ltr"><<a 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>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 face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>><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;">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><div><div></div><div class="h5"><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" href="mailto:djbinter@yahoo.com" target="_blank">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><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> DJB <<a rel="nofollow" href="mailto:djbinter@yahoo.com" target="_blank">djbinter@yahoo.com</a>><br>
<b><span style="font-weight: bold;">To:</span></b> FREESWITCH-USERS MAILING LIST <<a rel="nofollow" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">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><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" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" 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 rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a rel="nofollow" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a rel="nofollow" href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a rel="nofollow" href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a rel="nofollow" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a rel="nofollow" href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a rel="nofollow" href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a rel="nofollow" href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a rel="nofollow" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div></div></div><div></div>
</div><br>
</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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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>