VirtualBox: 4.1.20 x86_64 installed from yum repository.
Host: CentOS 5.8 kernel 2.6.18-308.1.1.el5 x86_64
Guest: CentOS 6.3 kernel 2.6.32-279.5.2.el6.x86_64
As my requirements are for tight ( < 1 ms) time synchonization between host and guest, I've installed guest additions and am running timesync with the following aggressive parameters:
Code: Select all
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--enable-timesync"
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 1
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-set-start"
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-latency-factor" 1
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 2
VBoxManage guestproperty set myvm1 "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 100I've experimented with different kernel parameters as recommended in the numerous other threads on this topic. My current guest kernel command line from /boot/grub/menu.lst is:
Code: Select all
kernel /vmlinuz-2.6.32-279.5.2.el6.x86_64 ro root=/dev/mapper/myvm1-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_myvm1/lv_root rd_LVM_LV=vg_myvm1/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet nmi_watchdog=0 elevator=deadline divider=10 nolapic_timer noapic nolapic nosmp notsc clocksource=acpi_pm nohz=offIs there any way to reduce the drift or is tighter clock synchronization just not possible in a virtualized configuration?
Thanks!