Discussion:
[Freeswitch-users] freeswitch on ubuntu VM on hyper-v
lloyd thomas
2013-08-27 13:10:48 UTC
Permalink
I just need a little advice setting up a freeswitch VM box shared with a
http VM on hyper-v host and was wondering whether there are any gotcha's
that I should be aware of.


I expect about 50 devices to be registered on it at any time and not
expecting a high volume of calls.
It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram

Thanks in advance for any advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/ecc15cc8/attachment.html
Stanislav Sinyagin
2013-08-27 15:16:07 UTC
Permalink
You will likely have audio distortions. OpenVZ or Xen virtualization should do a better job (myself, I run two production servers under XEN and never had problems with audio quality).

Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will see the whole spectrum of opinions, and no real detailed test results.
________________________________
From: lloyd thomas <lloydie.t at gmail.com>
To: freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 3:10 PM
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I just need a little advice setting up a freeswitch VM box shared with a http VM on hyper-v host and was wondering whether there are any gotcha's that I should be aware of.
I expect about 50 devices to be registered on it at any time and not expecting a high volume of calls.
It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram
Thanks in advance for any advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/972ee6c8/attachment.html
Jeff Leung
2013-08-27 15:31:00 UTC
Permalink
I would have to say that one can expect audio distortion issues is just
not true anymore.



With the new Hyper-V integration code present since the 3.5 and 3.8
kernels which Ubuntu 12.04 and 13.04 uses, the Linux kernel can use a
synthetic clock source that Hyper-V provides just like KVM does. Even
the CentOS 6.4 kernel uses a synthetic clock source too as the guys at
Red Hat back ported a lot of changes from the upstream Hyper-V code back
to their kernel.



If the synthetic clock source doesn't work out for you, there is always
the good old mod_timerfd to fix issues like this.



From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Stanislav Sinyagin
Sent: Tuesday, August 27, 2013 8:16 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v



You will likely have audio distortions. OpenVZ or Xen virtualization
should do a better job (myself, I run two production servers under XEN
and never had problems with audio quality).



Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will
see the whole spectrum of opinions, and no real detailed test results.










________________________________


From: lloyd thomas <lloydie.t at gmail.com>
To: freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 3:10 PM
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v



I just need a little advice setting up a freeswitch VM box
shared with a http VM on hyper-v host and was wondering whether there
are any gotcha's that I should be aware of.



I expect about 50 devices to be registered on it at any time and
not expecting a high volume of calls.

It will be a fairly low spec dual core machine (dell sc1425),
with 8gb ram



Thanks in advance for any advice.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/9040229f/attachment-0001.html
Stanislav Sinyagin
2013-08-27 21:27:02 UTC
Permalink
thanks, good to know.
The only (silly, rhetorical) question is, who in his own mind would run a Windows server to host Linux VM's :-))
________________________________
From: Jeff Leung <jleung at v10networks.ca>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 5:31 PM
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I would have to say that one can expect audio distortion issues is just not true anymore.
?
With the new Hyper-V integration code present since the 3.5 and 3.8 kernels which Ubuntu 12.04 and 13.04 uses, the Linux kernel can use a synthetic clock source that Hyper-V provides just like KVM does. Even the CentOS 6.4 kernel uses a synthetic clock source too as the guys at Red Hat back ported a lot of changes from the upstream Hyper-V code back to their kernel.
?
If the synthetic clock source doesn?t work out for you, there is always the good old mod_timerfd to fix issues like this.
?
From:freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin
Sent: Tuesday, August 27, 2013 8:16 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
?
You will likely have audio distortions. OpenVZ or Xen virtualization should do a better job (myself, I run two production servers under XEN and never had problems with audio quality).
?
Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will see the whole spectrum of opinions, and no real detailed test results.
?
?
?
?
________________________________
From:lloyd thomas <lloydie.t at gmail.com>
To: freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 3:10 PM
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
?
I just need a little advice setting up a freeswitch VM box shared with a http VM on hyper-v host and was wondering whether there are any gotcha's that I should be aware of.
I expect about 50 devices to be registered on it at any time and not expecting a high volume of calls.
It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram
?
Thanks in advance for any advice.
?
_________________________________________________________________________
consulting at 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/034eabf8/attachment.html
lloyd thomas
2013-08-27 23:20:25 UTC
Permalink
Thanks for the advice, I have used hyper-v for http server and spam filter
and have not had a problem yet, so just nneded to make sure FS would not be
a problem.
Post by Stanislav Sinyagin
thanks, good to know.
The only (silly, rhetorical) question is, who in his own mind would run a
Windows server to host Linux VM's :-))
------------------------------
*From:* Jeff Leung <jleung at v10networks.ca>
*To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
*Sent:* Tuesday, August 27, 2013 5:31 PM
*Subject:* Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I would have to say that one can expect audio distortion issues is just not true anymore.
With the new Hyper-V integration code present since the 3.5 and 3.8
kernels which Ubuntu 12.04 and 13.04 uses, the Linux kernel can use a
synthetic clock source that Hyper-V provides just like KVM does. Even the
CentOS 6.4 kernel uses a synthetic clock source too as the guys at Red Hat
back ported a lot of changes from the upstream Hyper-V code back to their
kernel.
If the synthetic clock source doesn?t work out for you, there is always
the good old mod_timerfd to fix issues like this.
freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Stanislav
Sinyagin
*Sent:* Tuesday, August 27, 2013 8:16 AM
*To:* FreeSWITCH Users Help
*Subject:* Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
You will likely have audio distortions. OpenVZ or Xen virtualization
should do a better job (myself, I run two production servers under XEN and
never had problems with audio quality).
Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will
see the whole spectrum of opinions, and no real detailed test results.
------------------------------
*From:* lloyd thomas <lloydie.t at gmail.com>
*To:* freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
*Sent:* Tuesday, August 27, 2013 3:10 PM
*Subject:* [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I just need a little advice setting up a freeswitch VM box shared with a
http VM on hyper-v host and was wondering whether there are any gotcha's
that I should be aware of.
I expect about 50 devices to be registered on it at any time and not
expecting a high volume of calls.
It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram
Thanks in advance for any advice.
_________________________________________________________________________
consulting at 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 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
_________________________________________________________________________
consulting at 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130828/a9a31a22/attachment.html
Dave R. Kompel
2013-08-27 18:52:02 UTC
Permalink
Hyper-V virtuals are very friendly to any OS running FS. You should have no problems, just make sure you are using the native network adapters, not the emulated ones.

And if you think it kicks ass on your current system, just wait till 2012R2, this Oct 18. You should see how FS performs on a new Generation 2 VM!

--Dave
_____

From: lloyd thomas [mailto:lloydie.t at gmail.com]
To: freeswitch-users [mailto:FreeSWITCH-users at lists.freeswitch.org]
Sent: Tue, 27 Aug 2013 06:10:48 -0700
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v



I just need a little advice setting up a freeswitch VM box shared with a http VM on hyper-v host and was wondering whether there are any gotcha's that I should be aware of.



I expect about 50 devices to be registered on it at any time and not expecting a high volume of calls.

It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram



Thanks in advance for any advice.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/34993a37/attachment.html
Dave R. Kompel
2013-08-27 18:55:42 UTC
Permalink
That is 100% not true. Have you actually tried it yourself? The only Hypervisor that I have never had any timing issues on guest OSs is Hyper-V.

There were some problems in the HV-Versoin 1 days, but V2 and up, no problems any guest OS.

If you are using linux on Hyper-V, you should not use kernels older then 3.5. This is whan Microsoft started commiting all the HV-* modules directly to the kernel repos.

--Dave
_____

From: Stanislav Sinyagin [mailto:ssinyagin at yahoo.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Tue, 27 Aug 2013 08:16:07 -0700
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v



You will likely have audio distortions. OpenVZ or Xen virtualization should do a better job (myself, I run two production servers under XEN and never had problems with audio quality).


Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will see the whole spectrum of opinions, and no real detailed test results.










_____

From: lloyd thomas <lloydie.t at gmail.com>
To: freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 3:10 PM
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v





I just need a little advice setting up a freeswitch VM box shared with a http VM on hyper-v host and was wondering whether there are any gotcha's that I should be aware of.



I expect about 50 devices to be registered on it at any time and not expecting a high volume of calls.

It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram



Thanks in advance for any advice.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/d3b881ed/attachment.html
Dave R. Kompel
2013-08-27 23:34:23 UTC
Permalink
Just so you know, I have real production (carrier class) workloads on FS running on HV at a number of client sites. Peak loads process more then 1500CPS at one of them.

If you run into problems feel free to contact me off list, for some help.

--Dave
_____

From: lloyd thomas [mailto:lloydie.t at gmail.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Tue, 27 Aug 2013 16:20:25 -0700
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v


Thanks for the advice, I have used hyper-v for http server and spam filter and have not had a problem yet, so just nneded to make sure FS would not be a problem.




On 27 August 2013 22:27, Stanislav Sinyagin <ssinyagin at yahoo.com> wrote:


thanks, good to know.
The only (silly, rhetorical) question is, who in his own mind would run a Windows server to host Linux VM's :-))








_____

From: Jeff Leung <jleung at v10networks.ca>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 5:31 PM

Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v







I would have to say that one can expect audio distortion issues is just not true anymore.

With the new Hyper-V integration code present since the 3.5 and 3.8 kernels which Ubuntu 12.04 and 13.04 uses, the Linux kernel can use a synthetic clock source that Hyper-V provides just like KVM does. Even the CentOS 6.4 kernel uses a synthetic clock source too as the guys at Red Hat back ported a lot of changes from the upstream Hyper-V code back to their kernel.

If the synthetic clock source doesn?t work out for you, there is always the good old mod_timerfd to fix issues like this.




From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin
Sent: Tuesday, August 27, 2013 8:16 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v



You will likely have audio distortions. OpenVZ or Xen virtualization should do a better job (myself, I run two production servers under XEN and never had problems with audio quality).



Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will see the whole spectrum of opinions, and no real detailed test results.











_____


From: lloyd thomas <lloydie.t at gmail.com>
To: freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
Sent: Tuesday, August 27, 2013 3:10 PM
Subject: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v





I just need a little advice setting up a freeswitch VM box shared with a http VM on hyper-v host and was wondering whether there are any gotcha's that I should be aware of.



I expect about 50 devices to be registered on it at any time and not expecting a high volume of calls.

It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram



Thanks in advance for any advice.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at 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 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

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 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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130827/2390d5b9/attachment-0001.html
lloyd thomas
2013-08-28 07:45:25 UTC
Permalink
Dave, nice to know that it is possible and thanks for your offer. I hope to
use it to provide small scale virtual pbx to a few clients. Will start
building the FS box in a couple of days.
Post by Dave R. Kompel
**
Just so you know, I have real production (carrier class) workloads on FS
running on HV at a number of client sites. Peak loads process more then
1500CPS at one of them.
If you run into problems feel free to contact me off list, for some help.
--Dave
------------------------------
*From:* lloyd thomas [mailto:lloydie.t at gmail.com]
*To:* FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
*Sent:* Tue, 27 Aug 2013 16:20:25 -0700
*Subject:* Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
Thanks for the advice, I have used hyper-v for http server and spam filter
and have not had a problem yet, so just nneded to make sure FS would not be
a problem.
Post by Stanislav Sinyagin
thanks, good to know.
The only (silly, rhetorical) question is, who in his own mind would run a
Windows server to host Linux VM's :-))
------------------------------
*From:* Jeff Leung <jleung at v10networks.ca>
*To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
*Sent:* Tuesday, August 27, 2013 5:31 PM
*Subject:* Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I would have to say that one can expect audio distortion issues is
just not true anymore.
With the new Hyper-V integration code present since the 3.5 and 3.8
kernels which Ubuntu 12.04 and 13.04 uses, the Linux kernel can use a
synthetic clock source that Hyper-V provides just like KVM does. Even the
CentOS 6.4 kernel uses a synthetic clock source too as the guys at Red Hat
back ported a lot of changes from the upstream Hyper-V code back to their
kernel.
If the synthetic clock source doesn?t work out for you, there is always
the good old mod_timerfd to fix issues like this.
freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Stanislav
Sinyagin
*Sent:* Tuesday, August 27, 2013 8:16 AM
*To:* FreeSWITCH Users Help
*Subject:* Re: [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
You will likely have audio distortions. OpenVZ or Xen virtualization
should do a better job (myself, I run two production servers under XEN and
never had problems with audio quality).
Search in Google for FreeSWITCH or Asterisk under Hyper-V, and you will
see the whole spectrum of opinions, and no real detailed test results.
------------------------------
*From:* lloyd thomas <lloydie.t at gmail.com>
*To:* freeswitch-users <FreeSWITCH-users at lists.freeswitch.org>
*Sent:* Tuesday, August 27, 2013 3:10 PM
*Subject:* [Freeswitch-users] freeswitch on ubuntu VM on hyper-v
I just need a little advice setting up a freeswitch VM box shared with
a http VM on hyper-v host and was wondering whether there are any gotcha's
that I should be aware of.
I expect about 50 devices to be registered on it at any time and not
expecting a high volume of calls.
It will be a fairly low spec dual core machine (dell sc1425), with 8gb ram
Thanks in advance for any advice.
_________________________________________________________________________
consulting at 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 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
_________________________________________________________________________
consulting at 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 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
_________________________________________________________________________
consulting at 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130828/54ad5b2c/attachment-0001.html
Loading...