CentOS with asterisk - performance problems solved!
Posted: 11. Feb 2013, 17:39
I've been running a very old VB version with an old centos/asterisk combination and I recently upgraded everything, latest VB running on CentOS 6.3 host with latest CentOS+asterisk as guest. The VB is also running 5-6 winXP and win7 guests as well.
The problem appeared instatnly, the guest CentOS+asterisk would crawl, SIP VoIP calls would have audio issues and the asterisk process would constantly run at 40% cpu usage.
After trying just about everything, I solved the problem by accident: I changed the CPUs from 1 to 2 and also enabled IO-APIC.
I have no idea why, but suddenly the asterisk process is running at 0-2% cpu usage, all phone calls work great with crystal-clear audio.
Anyone can explain what happened please? Is this a bug in VB or something else?
PS:
the winXP and win7 guests are all running with 1 CPU and don't have any cpu usage problems!
The problem appeared instatnly, the guest CentOS+asterisk would crawl, SIP VoIP calls would have audio issues and the asterisk process would constantly run at 40% cpu usage.
After trying just about everything, I solved the problem by accident: I changed the CPUs from 1 to 2 and also enabled IO-APIC.
I have no idea why, but suddenly the asterisk process is running at 0-2% cpu usage, all phone calls work great with crystal-clear audio.
Anyone can explain what happened please? Is this a bug in VB or something else?
PS:
the winXP and win7 guests are all running with 1 CPU and don't have any cpu usage problems!