Results 1 to 13 of 13
Thread: Asterisk And KVM?
-
02-13-2013, 11:23 PM #1Disabled
- Join Date
- Dec 2012
- Location
- Preston, England
- Posts
- 159
Asterisk And KVM?
So we run Asterisk on a dedicated box at our Data Center, however it's 2U so we are looking to remove that box and add another box (1U) with KVM virtulization, does anyone have any bench marks using KVM and Asterisk? Any timing issues etc..?
Thanks!
-
02-14-2013, 01:17 AM #2New Member
- Join Date
- Jan 2013
- Location
- Manchester, UK
- Posts
- 4
You shouldn't have any issues running Asterisk on a KVM guest. We run KVM on some of our servers to allow some clients to have their own asterisk instances. We also run our main service on KVM with a modified version of Asterisk running on multiple guests to improve redundancy without any issues.
We've tested it up to around 100 concurrent calls per virtual machine without any issues.
It all depends on your hardware at the end of the day. We've been running KVM happily for around 2 years without any problems with asterisk.
-
02-14-2013, 02:42 PM #3WHT Addict
- Join Date
- Aug 2010
- Posts
- 150
As above, I wouldn't think of running it on anything other than KVM now.
Couple of proxmox boxes running with drbd on ipmi motherboards and you have yourselves a fully HA solution cheap as chips.
Rock solid too.<<< Please see Forum Guidelines for signature setup. >>>
-
02-14-2013, 10:52 PM #4Web Hosting Master
- Join Date
- Apr 2011
- Location
- Las Vegas, NV
- Posts
- 1,643
I'm running an Asterisk box on OpenVZ just fine. The limiting factor is network delay, not server delay. Voice packets are shunted to trunks in pretty close to real time regardless of architecture.
I did some experiments along those lines before settling on my first production box. I even tried SSD drives. In all cases the location of the data center dwarfed all other factors.
I finally settled on a data center in Chicago where I get 80 ms pings from Las Vegas. That location proved to be satisfactory for all of North America.
-
02-15-2013, 03:48 AM #5WHT Addict
- Join Date
- Aug 2010
- Posts
- 150
Thankfully, we don't have problems regarding latency like that probably due to our geographical size. I hit our datacenter at 5 or 6ms and from my server its only 0.5ms to my carrier, make sure you factor that in too in the US. No good getting a local datacenter if your carrier is 200ms away.
<<< Please see Forum Guidelines for signature setup. >>>
-
02-15-2013, 03:59 PM #6Web Hosting Master
- Join Date
- Dec 2006
- Location
- Cardiff, Wales
- Posts
- 803
We find about 5 KVM vps's as a max per node in terms of ratio for reliability. This was a i5, 8gb ram machine.
SIP Trunking and VoIP Lines, Numbering (DIDs and DDIs), Low Cost Minute add-ons, Secure SIP and VoIP. Business and Enterprise Grade Quality, Low Cost and Highly Competitive. Available at: https://www.voipyonder.com/
-
02-15-2013, 10:06 PM #7Temporarily Suspended
- Join Date
- Sep 2011
- Location
- USA
- Posts
- 278
We also run our own Asterisk on kvm without any issues.
-
02-19-2013, 02:03 PM #8Web Hosting Guru
- Join Date
- Jan 2008
- Location
- Chicago, IL
- Posts
- 338
We use both KVM and OpenVZ for our Asterisk and Freeswitch instances, and both work very well. With OpenVZ, its important to import the DHADI modules from the hardware node, and after that is done you have full use to conferences and other modules requiring timing control. With KVM, its as simple as install and use.
Good luckIan Halliday
nDeviX Corporation
www.ndevix.com
Web Development | IT Consulting | Hosted Services | Mobile Apps
-
02-21-2013, 01:32 AM #9Web Hosting Master
- Join Date
- Aug 2009
- Posts
- 3,207
our customers mostly prefer to run on openvz with our pre-configured os, as well as our own use voip VPS.
i think we should give a try to kvm too to see how well it perform and the differences among kvm and openvz.█ ControlVM.com :: Elastic Cloud Hosting Alternatives to VPS ● Reliable Cloud Server
█ Enterprise Hosting @ Malaysia ● Germany ● USA ● Singapore
We Accept: Paypal ● Alipay ● GrabPay ● Credit/Debit Card ● FPX Bank Transfer ● Bank TT
-
04-30-2013, 10:48 PM #10Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 34
My asterisk is running on ESXi
4-6 guest per esxi host is what we find work well for us
-
05-01-2013, 01:12 AM #11Web Hosting Guru
- Join Date
- Jul 2012
- Location
- Houston
- Posts
- 262
-
10-25-2013, 07:28 AM #12Newbie
- Join Date
- Oct 2013
- Posts
- 11
Sorry, a subject about asterisk and kvm, but someone used asterisk with xen virtualization, what problems can arise?
-
11-04-2013, 03:04 AM #13Web Hosting Guru
- Join Date
- Aug 2005
- Location
- PA
- Posts
- 324
Concerning KVM with Asterisk, my recommendation is that you:
a) have enough RAM so that swapping is not much of an issue (swap after all VMs loaded and running should be under say 3% of your RAM - on a 32GB machine, 1B or less should be swap)
b) change the tuning on the KSM shared page daemon to ensure that it is not doing so much scanning of pages, that it is burning CPU and affecting responsiveness. Since Asterisk is a long-lived process you won't get a big benefit by lots of frequent scanning, it is OK if it takes longer to find the initial pages to share.
c) be sure that the OS you install in the VM is recent enough that it runs well under KVM. Older versions of Linux can use up 5-10% of CPU while idle; but new versions such as Debian 7, CentOS6.x, that work well with KVM will use perhaps 0.5 to 1% of CPU while idle.
Asterisk under Xen - I don't think you will have many problems, it runs fine for 50+ VMs with different Asterisk installs, on a company I know of.
Asterisk under OpenVZ - I have known of cases where it works well and cases where it does not. It is a little more finicky, however, is the feedback I got from the sysadmins that were in charge of keeping things running.reliable colocation ... Dedicated Servers | Dedicated Server VMs | FAST links to Vitelity.com and Conexiant.net
patrick@zill.net Cell +1.717.201.3366
Similar Threads
-
$3.50 KVM-256, $7 KVM-512, West Coast servers! Windows 2003 R2 included!
By SonicVPS in forum VPS Hosting OffersReplies: 8Last Post: 03-07-2012, 09:09 AM -
PREMIUM 512 MB KVM VPS From $7 << FROM THE KVM EXPERTS << Windows or Linux :: LoveVPS
By Matthew_B in forum VPS Hosting OffersReplies: 9Last Post: 12-15-2011, 06:09 PM -
512 MB KVM VPS From $7 << FROM THE KVM EXPERTS << Windows or Linux :: LoveVPS
By Matthew_B in forum For SaleReplies: 0Last Post: 12-11-2011, 01:04 PM -
[Canada] - KVM VPS from $19.55/m (COUPONS) - Free Backup - IPv6 Ready - VNC KVM
By PerfoHost in forum VPS Hosting OffersReplies: 0Last Post: 03-11-2010, 04:41 PM -
NCC/Comand Center KVM & KVM-IP Solution?
By WiredSP in forum Colocation, Data Centers, IP Space and NetworksReplies: 2Last Post: 02-15-2005, 12:09 AM