Bug 712824 - after ping-pong migrating 11 times, guest time drift will exceed 1 second
Summary: after ping-pong migrating 11 times, guest time drift will exceed 1 second
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-13 09:49 UTC by FuXiangChun
Modified: 2011-06-21 17:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 17:30:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description FuXiangChun 2011-06-13 09:49:33 UTC
Description of problem:
after every time migrated, offset value will add about 0.1 second.

Version-Release number of selected component (if applicable):
host info:
# uname -r
2.6.18-266.el5
# rpm -qa|grep kvm
kvm-83-236.el5

guest info:


How reproducible:


Steps to Reproduce:
1.
(1)src host:
/usr/libexec/qemu-kvm -M rhel5.4.4 -rtc-td-hack -usbdevice tablet -no-hpet -drive file=/mnt/rhel5.7-32.raw,if=virtio,boot=on,werror=stop,cache=none,format=raw,media=disk -cpu qemu64 -smp 4,sockets=2,cores=1,threads=2 -m 2G -net nic,macaddr=00:12:24:57:a8:2e,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid `uuidgen` -boot c -balloon none -notify all -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -vnc :1 
(2)des host:
/usr/libexec/qemu-kvm -M rhel5.4.4 -rtc-td-hack -usbdevice tablet -no-hpet -drive file=/mnt/rhel5.7-32.raw,if=virtio,boot=on,werror=stop,cache=none,format=raw,media=disk -cpu qemu64 -smp 4,sockets=2,cores=1,threads=2 -m 2G -net nic,macaddr=00:12:24:57:a8:2e,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid `uuidgen` -boot c -balloon none -notify all -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -vnc :1 -incoming tcp:0:5555

2.add option divider=10 lpj=n clocksource=acpi_pm to Guest kernel cmdline 

3. sync two host and guest time before do migrate
  ntpdate -q clock.redhat.com

3. do 11 times ping-pong migration 
  
Actual results:
offset value exceed 1 second

Expected results:
offset value always less then 1 second.

Additional info:

Comment 1 Ronen Hod 2011-06-21 17:30:20 UTC
As this is not our default clock source (KVMclock), and the problem can be taken care of by NTP, this bug will not be fixed for RHEL5.


Note You need to log in before you can comment on or make changes to this bug.