[Freeswitch-users] config ramdisk on CentOS 5.5
fieldpeak
fieldpeak at gmail.com
Mon Apr 25 09:42:45 MSD 2011
Hi Ken,
Thanks for your reply.
if my below understanding correct?
if i add below to the end of /etc/fstab,
*tmpfs /usr/local/freeswitch/db tmpfs defaults 0 0 *
and then reboot machine, the system will auto mount the tmpfs.
i don't need run mannually *mount /usr/local/freeswitch/db* before
start freeswitch...
Thanks.
Regards,
Charles
2011/4/23 Ken Rice <krice at freeswitch.org>
> Tmpfs is not a program... Read that page a little closer... That’s
> particular line is for your fstab...
>
> If you want to mount it from the command line its
> mount –o tmpfs tmpfs /usr/local/freeswitch/db
>
> K
>
>
>
> On 4/22/11 10:50 PM, "fieldpeak" <fieldpeak at gmail.com> wrote:
>
> i'm trying tuning the FS to max performance on centos 5.5, and referred to
>
> http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#FreeSWITCH.27s_core.db_I.2FO_bottleneck
>
> #1, i configure the DB of FS to ramdisk ,
>
> when i run "tmpfs /opt/freeswitch/db tmpfs defaults 0 0", it output:
> "-bash: tmpfs: command not found"
>
> #2, i run "ethtool -g eth0", the output is below, what value i should
> config for RX and TX for max performance...
> Ring parameters for eth0:
> Pre-set maximums:
> RX: 4096
> RX Mini: 0
> RX Jumbo: 0
> TX: 4096
> Current hardware settings:
> RX: 256
> RX Mini: 0
> RX Jumbo: 0
> TX: 256
>
> Apprecited if anyone help how to configure it... thanks!
>
> Regards,
> Charles
>
>
> ------------------------------
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110425/a5acf9d7/attachment.html
More information about the FreeSWITCH-users
mailing list