<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] config ramdisk on CentOS 5.5</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>That is correct<BR>
<BR>
Keep in mind that in using a ramdrive for freeswitch/db if you are running voicemail you&#8217;ll need to look at mechanismd for backing up its db<BR>
<BR>
K<BR>
<BR>
<BR>
On 4/25/11 12:42 AM, &quot;fieldpeak&quot; &lt;<a href="fieldpeak@gmail.com">fieldpeak@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Ken,<BR>
<BR>
Thanks for your reply.<BR>
<BR>
if my below understanding correct?<BR>
if i add below to the end of /etc/fstab, <BR>
<B>tmpfs /usr/local/freeswitch/db tmpfs defaults 0 0 <BR>
</B><BR>
and then reboot machine, the system will auto mount the tmpfs.<BR>
i don't need run mannually <B>mount /usr/local/freeswitch/db</B> before start freeswitch...<BR>
<BR>
Thanks.<BR>
<BR>
Regards,<BR>
Charles<BR>
<BR>
2011/4/23 Ken Rice &lt;<a href="krice@freeswitch.org">krice@freeswitch.org</a>&gt;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Tmpfs is not a program... Read that page a little closer... That&#8217;s particular line is for your fstab...<BR>
<BR>
If you want to mount it from the command line its<BR>
mount &#8211;o tmpfs tmpfs /usr/local/freeswitch/db    <BR>
<BR>
K<BR>
<BR>
<BR>
<BR>
On 4/22/11 10:50 PM, &quot;fieldpeak&quot; &lt;<a href="fieldpeak@gmail.com">fieldpeak@gmail.com</a> &lt;<a href="http://fieldpeak@gmail.com">http://fieldpeak@gmail.com</a>&gt; &gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>i'm trying tuning the FS to max performance on centos 5.5, and referred to <BR>
<a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#FreeSWITCH.27s_core.db_I.2FO_bottleneck">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#FreeSWITCH.27s_core.db_I.2FO_bottleneck</a><BR>
<BR>
#1,  i configure the DB of FS to ramdisk ,<BR>
<BR>
when i run &quot;tmpfs /opt/freeswitch/db tmpfs defaults 0 0&quot;, it output: &quot;-bash: tmpfs: command not found&quot;<BR>
<BR>
#2,  i run &quot;ethtool -g eth0&quot;, the output is below, what value i should config for RX and TX for max performance...<BR>
Ring parameters for eth0:<BR>
Pre-set maximums:<BR>
RX:             4096<BR>
RX Mini:        0<BR>
RX Jumbo:       0<BR>
TX:             4096<BR>
Current hardware settings:<BR>
RX:             256<BR>
RX Mini:        0<BR>
RX Jumbo:       0<BR>
TX:             256<BR>
<BR>
Apprecited if anyone help how to configure it... thanks!<BR>
<BR>
Regards,<BR>
Charles<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://FreeSWITCH-users@lists.freeswitch.org</a>&gt; <BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>