Hello, Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz? Any idea, recommendation, experience can be very helpful. Regards, Jalsot
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results. On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel? Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too. However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT. Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
2.6.25 or newer to get timerfd support. On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with
FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Im using 2.6.32 on all my boxes ... One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts. I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on. Jay On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with
FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Sincerely Jay
Hello, Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea? Br, Tamas On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com>wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container
with FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Sincerely
Jay
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host. That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues. On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com>wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly
(for
production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Sincerely
Jay
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS. Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff... Regards, Tamas On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com>wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com>wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
> Hello, > > Do you have any recommendations regarding how to set up correctly
(for
> production) CentOS5 openvz and FS 1.2.stable? Is there any trick to > tuneup > the system to be rock solid? > Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS > 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that > something is not well configured around timers, however mod_posix_timer > did > not help anything (running FS with -rp). We use our own bare metal and > can > reproduce those delatas eirher when only one VE is on the HW. > Maybe time to check out centos6 with openvz? > > Any idea, recommendation, experience can be very helpful. > > Regards, > Jalsot > >
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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 > >
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Sincerely
Jay
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Tamas, I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291 We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again. I would like to join issue. how can I be sure that timerfd is used? Regards, Yuriy Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS. Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff... Regards, Tamas On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: It will only work running as root I believe because it needs high privs to do realtime.If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host. That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues. On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote: Hello, Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea? Br, Tamas On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote: Im using 2.6.32 on all my boxes ... One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts. I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on. Jay On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote: 2.6.25 or newer to get timerfd support. On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote: On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is
very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel? Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too. However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT. Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for
production) CentOS5 openvz and FS 1.2.stable? Is there any trick to
tuneup
the system to be rock solid?
Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that
something is not well configured around timers, however mod_posix_timer
did
not help anything (running FS with -rp). We use our own bare metal and
can
reproduce those delatas eirher when only one VE is on the HW.
Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards,
Jalsot
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Sincerely Jay _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
I mean to join question (sure not issue) :) From: nasida@live.ru To: freeswitch-users@lists.freeswitch.org Subject: RE: [Freeswitch-users] OpenVZ tuning tips Date: Sat, 25 May 2013 13:52:56 +0400 Tamas, I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291 We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again. I would like to join issue. how can I be sure that timerfd is used? Regards, Yuriy Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS. Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff... Regards, Tamas On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: It will only work running as root I believe because it needs high privs to do realtime.If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host. That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues. On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote: Hello, Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea? Br, Tamas On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote: Im using 2.6.32 on all my boxes ... One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts. I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on. Jay On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote: 2.6.25 or newer to get timerfd support. On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote: On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is
very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel? Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too. However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT. Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for
production) CentOS5 openvz and FS 1.2.stable? Is there any trick to
tuneup
the system to be rock solid?
Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that
something is not well configured around timers, however mod_posix_timer
did
not help anything (running FS with -rp). We use our own bare metal and
can
reproduce those delatas eirher when only one VE is on the HW.
Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards,
Jalsot
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Sincerely Jay _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 05/25/2013 11:52 AM, Yuriy Nasida wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
For starters I would update to CentOS 6.4 and see if the problem persists. The CentOS 6.2/6.3 kernels contain a local root exploit which is fixed in the latest kernel update. So updating to 6.4 + updates is recommended. Regards, Patrick
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru> wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote: > > You should consider centos6 or debian stable. Make sure the host > kernel is > > very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
> > > > > > On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> > wrote: > > >> >> Hello, >> >> >> >> Do you have any recommendations regarding how to set up correctly >> (for >> >> production) CentOS5 openvz and FS 1.2.stable? Is there any trick to >> >> tuneup >> >> the system to be rock solid? >> >> Right now we use centos5 openvz and ubuntu 10.04 LTS in container >> with FS >> >> 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess >> that >> >> something is not well configured around timers, however >> mod_posix_timer >> >> did >> >> not help anything (running FS with -rp). We use our own bare metal >> and >> >> can >> >> reproduce those delatas eirher when only one VE is on the HW. >> >> Maybe time to check out centos6 with openvz? >> >> >> >> Any idea, recommendation, experience can be very helpful. >> >> >> >> Regards, >> >> Jalsot >> >> >> >> >>
>> >> Professional FreeSWITCH Consulting Services: >> >> consulting@freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> >> http://www.cudatel.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://wiki.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> 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 >> >> >> >> > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale@hotmail.com > <mailto:MSN%3Aanthony_minessale@hotmail.com> > > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com > <mailto:PAYPAL%3Aanthony.minessale@gmail.com> > > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888@conference.freeswitch.org > <mailto:sip%3A888@conference.freeswitch.org> > > googletalk:conf+888@conference.freeswitch.org > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> > > pstn:+19193869900 > >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Debian FTW! - BDF On May 25, 2013 10:49 AM, "Ken Rice" <krice@freeswitch.org> wrote:
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho
On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru> wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
------------------------------ Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with
FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com < mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com < mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org < mailto:sip%3A888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>>
googletalk:conf+888@conference.freeswitch.org < mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>>
pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hello Ken, Do you use any kind of virtualizaztion/separation on Debian? We would like to keep lighweight 'virtualization' with openvz or maybe lxc (or any other idea?). Any experience with that on Debian? Is Debian better suited for FS than Ubuntu LTS (e.g. 12.04)? It seems, we have to find out where to go from latest centos5+ovz+ubuntu 10.04 in VE... T. On Sat, May 25, 2013 at 4:42 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho
On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru> wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
------------------------------ Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with
FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com < mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com < mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org < mailto:sip%3A888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>>
googletalk:conf+888@conference.freeswitch.org < mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>>
pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
I actually use Proxmox VE which provides a nice web ui for managing both OpenVZ and KVM instances. Proxmox VE is built on top of Debian Squeeze (not sure if they have started moving their dev to wheezy at this point) it works well. many services on the freeswitch.org domain are ran this way also. one of the things i use proxmox to accomplish is host managament. i'm running the entire box dedicated to 1 FS instance, but still use openvz so i can move an instance to a backup box incase of issues Ken Sent from my iPad On May 26, 2013, at 12:09, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello Ken,
Do you use any kind of virtualizaztion/separation on Debian? We would like to keep lighweight 'virtualization' with openvz or maybe lxc (or any other idea?). Any experience with that on Debian? Is Debian better suited for FS than Ubuntu LTS (e.g. 12.04)? It seems, we have to find out where to go from latest centos5+ovz+ubuntu 10.04 in VE...
T.
On Sat, May 25, 2013 at 4:42 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho
On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru> wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote: Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote: Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote: 2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote: On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hello Ken, As I've checked, there is new proxmox version based on Wheezy. As I've found, Proxmox kernel is based on RHEL6x, so probably it needs intensive testing too. What were the reasons you decided to move off from CentOS? Were you able to reproduce problems? Br, Tamas On Sun, May 26, 2013 at 8:12 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually use Proxmox VE which provides a nice web ui for managing both OpenVZ and KVM instances. Proxmox VE is built on top of Debian Squeeze (not sure if they have started moving their dev to wheezy at this point)
it works well. many services on the freeswitch.org domain are ran this way also.
one of the things i use proxmox to accomplish is host managament. i'm running the entire box dedicated to 1 FS instance, but still use openvz so i can move an instance to a backup box incase of issues
Ken Sent from my iPad
On May 26, 2013, at 12:09, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello Ken,
Do you use any kind of virtualizaztion/separation on Debian? We would like to keep lighweight 'virtualization' with openvz or maybe lxc (or any other idea?). Any experience with that on Debian? Is Debian better suited for FS than Ubuntu LTS (e.g. 12.04)? It seems, we have to find out where to go from latest centos5+ovz+ubuntu 10.04 in VE...
T.
On Sat, May 25, 2013 at 4:42 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho
On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru> wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
------------------------------ Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,
Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on host and Ubuntu 10.04 LTS in VE. Do you know maybe how to allow realtime priority in the VE for FS? Running FS with -rp does not set the scheduler. strace says, sched_setscheduler operation permitted, so SCHED_FF is not set. Tried to run as root and/or use ulimit -r option, but cannot run FS with tuned priorities.We guess, some thing missing in the host/VE configuraton. Any idea?
Br, Tamas
On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com> wrote:
Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts.
I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on.
Jay
On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com> wrote:
2.6.25 or newer to get timerfd support.
On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com> wrote:
On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel?
Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too.
However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT.
Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com>
wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with
FS
1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com < mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com < mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org < mailto:sip%3A888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>>
googletalk:conf+888@conference.freeswitch.org < mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>>
pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
The reason for the move off of centos is widely reported... There were issues with performance we couldn¹t track down that only happened on centos6 On 5/27/13 5:51 AM, "Tamas Jalsovszky" <jalsot@gmail.com> wrote:
Hello Ken,
As I've checked, there is new proxmox version based on Wheezy. As I've found, Proxmox kernel is based on RHEL6x, so probably it needs intensive testing too. What were the reasons you decided to move off from CentOS? Were you able to reproduce problems?
Br, Tamas
On Sun, May 26, 2013 at 8:12 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually use Proxmox VE which provides a nice web ui for managing both OpenVZ and KVM instances. Proxmox VE is built on top of Debian Squeeze (not sure if they have started moving their dev to wheezy at this point)
it works well. many services on the freeswitch.org <http://freeswitch.org> domain are ran this way also.
one of the things i use proxmox to accomplish is host managament. i'm running the entire box dedicated to 1 FS instance, but still use openvz so i can move an instance to a backup box incase of issues
Ken Sent from my iPad
On May 26, 2013, at 12:09, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello Ken,
Do you use any kind of virtualizaztion/separation on Debian? We would like to keep lighweight 'virtualization' with openvz or maybe lxc (or any other idea?). Any experience with that on Debian? Is Debian better suited for FS than Ubuntu LTS (e.g. 12.04)? It seems, we have to find out where to go from latest centos5+ovz+ubuntu 10.04 in VE...
T.
On Sat, May 25, 2013 at 4:42 PM, Ken Rice <krice@freeswitch.org> wrote:
I actually dropped using Centos6 and moved to debian to get both timerfd and to get performance at the same time. And things started working much nicer... Not sure if they even fixed the performance issues on centos tho
On 5/25/13 4:52 AM, "Yuriy Nasida" <nasida@live.ru <http://nasida@live.ru>
wrote:
Tamas,
I think you can find info about performance problems with CentOS 6 on jira. For example. http://jira.freeswitch.org/browse/FS-4291
We also wanted to use timerfd (without virtualization) and made a moving to latest cenos 6.(2,3) + FS 1.2.8 . It was big mistake. FS got frozen sometimes. As a result we had to move on centos 5.9 again.
I would like to join issue. how can I be sure that timerfd is used?
Regards, Yuriy
Date: Sat, 25 May 2013 07:52:28 +0200 From: jalsot@gmail.com <http://jalsot@gmail.com> To: freeswitch-users@lists.freeswitch.org <http://freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] OpenVZ tuning tips
We've tried as root user but as I remember it was not able to set up the priority but will recheck to be sure. Another interesting thing is that when I tried to set a running process scheduler with chrt, got operation not permitted (as root of course), so I guess, something has to be tuned in the VE or on the host. We will try on bare metal centos6+ovz on the host. We try the latest centos6 with latest openvz kernel (due to security requirements we run on latest stable kernel and OS versions). Could you give some info about those horrible performance problems to let us check whether it still applies or not? (we've found only mysql create table performance degradation due to ext4 - where the solution could be barrier=0 yet, no other problems). Actually, how can I be sure that timerfd is used? strace? I'm nearly sure that timerfd works fine in FS.
Yep, it would be much simpler without virtualization, and much harder from another perspective. Probably lxc, kvm and xen aren't much better regarding realtime stuff...
Regards, Tamas
On Fri, May 24, 2013 at 11:28 PM, Anthony Minessale <anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> > wrote:
It will only work running as root I believe because it needs high privs to do realtime. If you do use centOS make sure its the latest rev of cent6, we have some horrible performance problems on the earlier revs and I don't know if they were resolved. Just make sure your kernels are as new as you can get them on the real host to avoid years of kernel performance bugs and that it has support for timerfd otherwise your VE would compile with timerfd support but not have actual access to the real syscalls for it in the host.
That's why we try not to recommend virtual stuff in general as it takes some very careful setups and its hard to support from our standpoint when people run into issues.
On Fri, May 24, 2013 at 12:30 AM, Tamas Jalsovszky <jalsot@gmail.com <http://jalsot@gmail.com> > wrote: > Hello, > > Thank you for tips, we are testing centos/openvz 6 with 2.6.32 kernel on > host and Ubuntu 10.04 LTS in VE. > Do you know maybe how to allow realtime priority in the VE for FS? > Running FS with -rp does not set the scheduler. > strace says, sched_setscheduler operation permitted, so SCHED_FF is not > set. Tried to run as root and/or use ulimit -r option, but cannot run FS > with tuned priorities.We guess, some thing missing in the host/VE > configuraton. > Any idea? > > Br, > Tamas > > > On Thu, May 23, 2013 at 12:47 AM, jay binks <jaybinks@gmail.com > <http://jaybinks@gmail.com> > wrote: Im using 2.6.32 on all my boxes ...
One thing that has me thinking, are there any tweaks to get MSI-X working best it can ? ( with proxmox ) there seems to be a strong bias towards one CPU for all interrupts. I could be wrong, but its something I think ive seen, and didnt see any clear suggestions on. Jay On 23 May 2013 01:12, Anthony Minessale <anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> > wrote: 2.6.25 or newer to get timerfd support. On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash@gmail.com <http://garbytrash@gmail.com> > wrote: On 5/22/13, Anthony Minessale <anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> > wrote:
You should consider centos6 or debian stable. Make sure the host kernel is very new to get maximum results.
Tony, do you mean "very new kernel" means 3.2.xx kernel? Openvz host kernel is still at 2.6.32 so bleeding edge kernel is not possible. And that is what CentOS6 offers, too. However, I installed FS as openvz guest, it works fine for outgoing, but not DNAT works for incoming connections even after throroughly following http://wiki.freeswitch.org/wiki/NAT_Traversal#FreeSWITCH_behind_NAT. Just my two cents.
On Tue, May 21, 2013 at 2:53 PM, Tamas Jalsovszky <jalsot@gmail.com
<http://jalsot@gmail.com> > wrote:
Hello,
Do you have any recommendations regarding how to set up correctly (for production) CentOS5 openvz and FS 1.2.stable? Is there any trick to tuneup the system to be rock solid? Right now we use centos5 openvz and ubuntu 10.04 LTS in container with FS 1.2.8 and RTP deltas are varying from 15 to around 40ms. We guess that something is not well configured around timers, however mod_posix_timer did not help anything (running FS with -rp). We use our own bare metal and can reproduce those delatas eirher when only one VE is on the HW. Maybe time to check out centos6 with openvz?
Any idea, recommendation, experience can be very helpful.
Regards, Jalsot
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <http://anthony_minessale@hotmail.com> <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <http://888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <http://conf+888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
participants (8)
-
Anthony Minessale
-
Brian Foster
-
jay binks
-
Ken Rice
-
Patrick Lists
-
Tamas Jalsovszky
-
Yuriy Nasida
-
Zenny