|
Home Resources Products
Developers |
Main • YateAndVMWare
Linux guest operating systems are greatly affected by the System clock of the kernel. Linux 2.6 defaults to a 1000Hz clock tick rate, and that will put a strain on the virtual environment, and can cause problems with system time keeping. Linux 2.4 does not have this problem as the clock runs at 100Hz. If running Linux 2.6 based virtual machines, re-compile the kernel to run at 100Hz, or use one of the newer kernels which use the No HZ dynamic clock. Centos offers community developed VMware Kernels with the 100Hz option already compiled in. Clock drift related to VMware can cause major issues with Yate, but there are a couple of workarounds for this that don't require compiling a custom kernel. Which workaround you use depends on if you need virtual SMP (multi CPU) or not. It is not recommended to run Yate virtualized, but it is acceptable in most cases where Yate is not fowarding (not proxying) RTP traffic and is only doing the signaling work. Single CPU Virtual Machines
Multi CPU (SMP) Virtual Machines
APCI/APIC support must be enabled if you plan on using SMP virtualization in the guest, setting the clock to PIT has shown to have better time keeping than other clock sources, your mileage may vary. Setting elevator to noop will enable the host operating system to better schedule I/O as it has an overview of the whole system as opposed to just one virtual machine. * Sample Syntax for LILO:
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="resume=/dev/hda6 splash=silent clock=clock=pit nosmp noapic nolapic apci=off clocksource=acpi_pm elevator=noop"
read-only
* Sample Syntax for Grub:
title Red Hat Linux (2.4.20-28.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-28.9 ro root=/dev/hda2 clock=pit nosmp noapic nolapic apci=off clocksource=acpi_pm elevator=noop
Tickless Kernels Since Linux 2.6.21 the NOHz option can be configured at build time. Recent distributions enable by default this option, especially for laptop and desktop systems. These tickless kernels are supposed to reduce the power consumption by having a variable clock interrupt. Unfortunately this also results in:
To check if the kernel has this feature configured and active: # dmesg | grep -i nohz
Switched to NOHz mode on CPU #0
This feature can be disabled from the kernel's boot options by adding nohz=off |
Apr 2013: Feb 2013: Jan 2013: Aug 2012: Apr 2012: Yate 4.1 released: better Gvoice support, iSAC codec, support for new Wanpipe drivers. Fixes – T.38 and Mac client issues. Mar 2012: Feb 2012: Nov 2011: Nov 2011: 04 May 2011: 12 Apr 2011: 9 Mar 2011: Feb 2011: 31 Jan 2011: 20 Dec 2010: 3 May 2010: 8 March 2010: 6-7 February 2010: 2 Nov 2009: 6 Aug 2008: 4 Aug 2008: |