[Freeswitch-users] OpenVZ tuning tips

Anthony Minessale anthony.minessale at gmail.com
Sat May 25 01:28:07 MSD 2013


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 at 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 at 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 at gmail.com>wrote:
>>
>>> 2.6.25 or newer to get timerfd support.
>>>
>>>
>>>
>>> On Wed, May 22, 2013 at 2:56 AM, Zenny <garbytrash at gmail.com> wrote:
>>>
>>>> On 5/22/13, Anthony Minessale <anthony.minessale at 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 at 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 at freeswitch.org
>>>> >> http://www.freeswitchsolutions.com
>>>> >>
>>>> >> 
>>>> >> 
>>>> >>
>>>> >> Official FreeSWITCH Sites
>>>> >> http://www.freeswitch.org
>>>> >> http://wiki.freeswitch.org
>>>> >> http://www.cluecon.com
>>>> >>
>>>> >> FreeSWITCH-users mailing list
>>>> >> FreeSWITCH-users at lists.freeswitch.org
>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> >> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> >> http://www.freeswitch.org
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> > --
>>>> > Anthony Minessale II
>>>> >
>>>> > FreeSWITCH http://www.freeswitch.org/
>>>> > ClueCon http://www.cluecon.com/
>>>> > Twitter: http://twitter.com/FreeSWITCH_wire
>>>> >
>>>> > AIM: anthm
>>>> > MSN:anthony_minessale at hotmail.com
>>>> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>> > IRC: irc.freenode.net #freeswitch
>>>> >
>>>> > FreeSWITCH Developer Conference
>>>> > sip:888 at conference.freeswitch.org
>>>> > googletalk:conf+888 at conference.freeswitch.org
>>>> > pstn:+19193869900
>>>> >
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>>
>>> --
>>> Anthony Minessale II
>>>
>>> FreeSWITCH http://www.freeswitch.org/
>>> ClueCon http://www.cluecon.com/
>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>
>>> AIM: anthm
>>> MSN:anthony_minessale at hotmail.com
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org
>>> googletalk:conf+888 at conference.freeswitch.org
>>> pstn:+19193869900
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> Sincerely
>>
>> Jay
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130524/23712b6c/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list