<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It is certainly possible to run in a vm if done correctly, its just done incorrectly more than correctly.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 18, 2017, at 3:50 PM, Bipin Patel &lt;<a href="mailto:bipin@xbipin.com" class="">bipin@xbipin.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">


<div class="">
<div style="" class="">
<div style="" class=""><p style="margin: 0px 0px 1em;" class="">Just to add my experience, I
have a windows server running as VM on a dedicated server hosted with iweb,
they call it smart server and I have been using freeswitch on it from a
long time now and everything works perfect audio wise so I guess this has
something to do with Linux and the kernel run by Amazon on their VM.</p><p style="margin: 0px 0px 1em;" class="">Correct me if I'm wrong</p>
</div>
<div style="" class=""><p style="font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0px;" class="">On
April 18, 2017 8:58:00 PM Anthony Minessale
&lt;<a href="mailto:anthony.minessale@gmail.com" class="">anthony.minessale@gmail.com</a>&gt; wrote:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div class="">In general when a thread about performance or vm turns to lots of
theories.&nbsp; This is a science so we need facts to diagnose and its often not
possible once we get this far down the rabbit hole.&nbsp; To the contrary,
asking about timer test was a good
start!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="gmail_quote"><div class="">On Tue, Apr 18, 2017 at 11:41 AM Michael Jerris
&lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt;
wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Superstition comment was in regards to tc
malloc, not you.<div class=""><br class=""><div class=""><blockquote type="cite" class=""></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Apr
18, 2017, at 7:35 AM, David Ponzone &lt;<a href="mailto:david.ponzone@gmail.com" target="_blank" class="">david.ponzone@gmail.com</a>&gt; wrote:</div><br class="m_-8579652609755085387Apple-interchange-newline"></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class="">Anthony,</div><div class=""><br class=""></div>Could you
elaborate a little bit more on why I am being superstitious ?<div class="">Is
timer_test command obsolete ?</div><div class="">Or is it a way to emphase the fact
that you won’t support FS on VM, anyway
?</div><div class=""><br class=""></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">Le 17
avr. 2017 à 23:27, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank" class="">anthony.minessale@gmail.com</a>&gt; a écrit :</div><br class="m_-8579652609755085387Apple-interchange-newline"></blockquote></div></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">I
believe we may be stumbling into superstition at this
point.<div class=""><br class=""></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 14, 2017 at 6:03
PM, David Ponzone <span class="">&lt;<a href="mailto:david.ponzone@gmail.com" target="_blank" class="">david.ponzone@gmail.com</a>&gt;</span>
wrote:<br class=""></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Did you run the timer_test command
?</div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class="m_-8579652609755085387h5"><div class=""><blockquote type="cite" class=""><div class="">Le 14
avr. 2017 à 23:04, Bilal Dar &lt;<a href="mailto:bilal@rgate-systems.com" target="_blank" class="">bilal@rgate-systems.com</a>&gt; a écrit :</div><br class="m_-8579652609755085387m_7398230337600912797Apple-interchange-newline"><div class=""><div class="">The
issue triggered when I ran out of inodes on the server, even after freeing
inodes things never went back to normal. I was running earlier &nbsp;m3.large
and now moved to m3.2xlarge servers, CPU/memory utilization is
negligible.&nbsp;<div class=""><div class=""><br class=""></div><div class=""><div class="">Model &nbsp; vCPU &nbsp; &nbsp;Mem (GiB) &nbsp; &nbsp; &nbsp;
SSD Storage (GB) &nbsp; &nbsp; &nbsp; &nbsp;</div><div class="">m3.large &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; 7.5 &nbsp; &nbsp; 1 x 32
&nbsp;</div><div class="">m3.2xlarge &nbsp; &nbsp; &nbsp;8 &nbsp; &nbsp; &nbsp; 30 &nbsp; &nbsp; &nbsp;2 x 80
&nbsp;</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Apr 14, 2017 at
1:53 PM, Colin Morelli <span class="">&lt;<a href="mailto:colin.morelli@gmail.com" target="_blank" class="">colin.morelli@gmail.com</a>&gt;</span>
wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="">Robert,<div class=""><br class=""></div><div class="">While
I'd love to see VMs provide more stable ground for FS, it's simply
not the best task for a VM. Virtual machines scale well specifically
because you can overprovision them. It would not be nearly as
cost-effective to run VMs if each instance had a guaranteed dedicated slice
of hardware to operate on. While hypervisors are <i class="">very</i>&nbsp;good at task
prioritization, they're not perfect. If the hypervisor can't
schedule processor time when FS needs it because the CPU cores are
momentarily taken on other tasks, there's not a whole lot FS can do.
This is not an issue with just FS, but with all real-time applications. In
most apps, even large clock skews and bad hypervisors schedulers can go
completely unnoticed. If there's consistent 5-10ms every time you click
to load a web page, you'd probably have no idea. If there's 5-10ms
jitter every time you try to read 20ms of audio, you have <i class="">really
bad</i>&nbsp;audio. Granted most skews are not that bad, but the effects are
pronounced when you're dealing with data that's real-time in
nature.</div><div class=""><br class=""></div><div class="">Bilal,</div><div class=""><br class=""></div><div class="">I have no
idea what AMI you're running, but a very rough "ear test" has
made me fairly confident that I can get better performance running
AmazonLinux AMIs over Ubuntu (and probably many others). It wouldn't
surprise me if AmazonLinux builds a custom kernel that has been tuned to
run better on AWS hardware. I'd say it's at least worth a quick
experiment.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Colin</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="m_-8579652609755085387m_7398230337600912797gmail-h5">On Fri, Apr 14,
2017 at 4:34 PM, Mundkowsky, Robert <span class="">&lt;<a href="mailto:rmundkowsky@ets.org" target="_blank" class="">rmundkowsky@ets.org</a>&gt;</span>
wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class=""><div class="m_-8579652609755085387m_7398230337600912797gmail-h5">





<div lang="EN-US" class="">
<div class="m_-8579652609755085387m_7398230337600912797gmail-m_-470338840461164024m_-5335504817902696112WordSection1"><p class="MsoNormal"><a name="m_-8579652609755085387_m_7398230337600912797_m_-470338840461164024_m_-5335504817902696112__MailEndCompose" class=""><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">Michael<u class=""></u><u class=""></u></span></a></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal" style="text-indent:0.5in"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">Just
curious, why so many problems with VMs?<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal" style="text-indent:0.5in"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">I
would think most applications need real time clocks that provide consistent
valid data?<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">Bilal,<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal" style="text-indent:0.5in"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">you
might try a larger AWS instance to make sure your are getting 100% of the
box; might help some.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class="">Robert
<u class=""></u><u class=""></u></span></p>
</div><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<div class="">
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(225,225,225);padding:3pt 0in 0in" class=""><p class="MsoNormal"><b class=""><span style="font-size:11pt;font-family:calibri,sans-serif" class="">From:</span></b><span style="font-size:11pt;font-family:calibri,sans-serif" class=""> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank" class="">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank" class="">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b class="">On Behalf Of </b>Michael Jerris<br class="">
<b class="">Sent:</b> Friday, April 14, 2017 4:25 PM<br class="">
<b class="">To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class="">
<b class="">Subject:</b> Re: [Freeswitch-users] Choppy audio when conferencing 4+
participants<u class=""></u><u class=""></u></span></p>
</div>
</div><div class=""><div class="m_-8579652609755085387m_7398230337600912797gmail-m_-470338840461164024h5"><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p><p class="MsoNormal">can you reproduce
the same issue on real hardware?&nbsp; We’ve seen all kinds of weird timing
issues that could account for this running on aws.<u class=""></u><u class=""></u></p>
<div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<div class="">
<blockquote style="margin-top:5pt;margin-bottom:5pt" class="">
<div class=""><p class="MsoNormal">On Apr 14, 2017, at 4:16 PM, Bilal Dar &lt;<a href="mailto:bilal@rgate-systems.com" target="_blank" class="">bilal@rgate-systems.com</a>&gt; wrote:<u class=""></u><u class=""></u></p>
</div><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<div class="">
<div class=""><p class="MsoNormal">Its an AWS&nbsp;<span style="font-size:10.5pt;font-family:arial,sans-serif;color:rgb(51,51,51)" class="">m3.2xlarge
instance.</span><u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<div class=""><p class="MsoNormal">On Fri, Apr 14, 2017 at 9:57 AM, Michael Jerris
&lt;<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>&gt; wrote:<u class=""></u><u class=""></u></p>
<blockquote style="border-style:none none none solid;border-left-width:1pt;border-left-color:rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in" class=""><p class="MsoNormal" style="margin-bottom:12pt">Real hardware or VM?<br class="">
<br class="">
&gt; On Apr 14, 2017, at 12:48 PM, Bilal Dar &lt;<a href="mailto:bilal@rgate-systems.com" target="_blank" class="">bilal@rgate-systems.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; I have been struggling with an issue for almost 2 weeks.<br class="">
&gt;<br class="">
&gt; Our regular calls have no quality issue and looking RTCP statistics
network conditions are perfect. We have normally on peak hr 60 calls and
around 10 conferences.<br class="">
&gt;<br class="">
&gt; We have noticed that when we have 2 conferences of 4 or 5
participants, audio starts breaking for the users who are on conference.
Regular calls do not experience any quality degradation.<br class="">
&gt;<br class="">
&gt; I upgraded the server to specs of 30Gig memory and 8 vCPU but still
the issue exists. Common thing I have noticed even during off-peak hrs is
that two 4+ participant call can cause the issue.<br class="">
&gt;<br class="">
&gt; I have ruled out network &amp; hardware. Last change I made was moved
all users to G.711 from G.722. Now I am not sure what other steps I can
take. Appreciate any suggestions.<u class=""></u><u class=""></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div><p class="MsoNormal"><u class=""></u>&nbsp;</p></div></div></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class="m_-8579652609755085387h5"></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>