[Freeswitch-users] config ramdisk on CentOS 5.5

fieldpeak fieldpeak at gmail.com
Mon Apr 25 11:03:54 MSD 2011


thanks Ken. I noticed the voice mail issue when using tmpfs, thanks again.

Regards,
Charles

On 4/25/11, Ken Rice <krice at freeswitch.org> wrote:
> That is correct
>
> Keep in mind that in using a ramdrive for freeswitch/db if you are running
> voicemail you¹ll need to look at mechanismd for backing up its db
>
> K
>
>
> On 4/25/11 12:42 AM, "fieldpeak" <fieldpeak at gmail.com> wrote:
>
>> 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
>>> <http://fieldpeak@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#FreeS
>>>> WITCH.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://FreeSWITCH-users@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
>>>
>>
>>
>>
>> _______________________________________________
>> 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
>
>



More information about the FreeSWITCH-users mailing list