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... #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
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@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... TCH.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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...
#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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
thanks Ken. I noticed the voice mail issue when using tmpfs, thanks again. Regards, Charles On 4/25/11, Ken Rice <krice@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On CentOS the mount command executes the /etc/fstab file, to make the tmpfs without rebooting try: mount -a -Robert -----Original Message----- From: fieldpeak [mailto:fieldpeak@gmail.com] Sent: Monday, April 25, 2011 12:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] config ramdisk on CentOS 5.5 thanks Ken. I noticed the voice mail issue when using tmpfs, thanks again. Regards, Charles On 4/25/11, Ken Rice <krice@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@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@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@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_configurati ons#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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u sers http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us ers http://www.freeswitch.org
thanks Robert, understood. Regards, Charles 在 2011-4-26 上午12:21,"Robert Hadley" <robert.hadley@teotech.com>写道:
On CentOS the mount command executes the /etc/fstab file, to make the
tmpfs without rebooting try:
mount -a
-Robert
-----Original Message----- From: fieldpeak [mailto:fieldpeak@gmail.com] Sent: Monday, April 25, 2011 12:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] config ramdisk on CentOS 5.5
thanks Ken. I noticed the voice mail issue when using tmpfs, thanks again.
Regards, Charles
On 4/25/11, Ken Rice <krice@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@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@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@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_configurati ons#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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u sers http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us ers http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list 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
participants (3)
-
fieldpeak
-
Ken Rice
-
Robert Hadley