Skip to contentSkip to conversation

Occasional clockjump in Win2012 after Live Migration

Qemu-devel Peter Lieven 2 participants 7 messages Dec 12, 2013 – Dec 13, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

is anyone aware of a problem with a clock jump in Windows (observed in Server 2012) where after a successful live migration the clock jumps roughly 2 days into the future?

Maybe this is already fixed we observed this with qemu-kvm-1.2.0. I have not yet managed to reproduce this, but it definetly happens.

Where is Windows getting the system clock from? RTC or addtionally internal clocksources like HPET, PM_TIMER etc?

Thanks,
Peter

#1 lore raw

Does your VM belong to domain or workgroup?
Best regards,
Vadim.

----- Original Message -----
From: "Peter Lieven" <[email protected]>
To: [email protected], [email protected]
Sent: Friday, December 13, 2013 3:03:45 AM
Subject: Occasional clockjump in Win2012 after Live Migration

Hi,

is anyone aware of a problem with a clock jump in Windows (observed in Server 2012) where after a successful live migration the clock jumps roughly 2 days into the future?

Maybe this is already fixed we observed this with qemu-kvm-1.2.0. I have not yet managed to reproduce this, but it definetly happens.

Where is Windows getting the system clock from? RTC or addtionally internal clocksources like HPET, PM_TIMER etc?

Thanks,
Peter

#2 lore raw

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:

Quoted 1 line

Does your VM belong to domain or workgroup?

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Peter

#3 lore raw
Quoted 6 lines · Peter Lieven

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:

Quoted 1 line

Does your VM belong to domain or workgroup?

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Should be CMOS periodic timer.

Quoted 3 lines

Peter

#4 lore raw

Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:

Quoted 7 lines · Peter Lieven
Quoted 5 lines

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:

Quoted 1 line

Does your VM belong to domain or workgroup?

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Should be CMOS periodic timer.

you mean the RTC?
Ok, so if there is a huge clock jump this one must have got messed up?

Peter

#5 lore raw
Quoted 9 lines · Peter Lieven

Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:

Quoted 7 lines · Peter Lieven
Quoted 5 lines

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:

Quoted 1 line

Does your VM belong to domain or workgroup?

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Should be CMOS periodic timer.

you mean the RTC?

Right.

Quoted 1 line

Ok, so if there is a huge clock jump this one must have got messed up?

It might be. We have seen some similar problem during WHQL testing some time ago. The problem happened because time on the host was not set correct. So guest was taking this wrong time on boot and then it was a big jump after resync with domain controller.

best regards,
Vadim.

Quoted 3 lines

Peter

#6 lore raw

Am 13.12.2013 13:53, schrieb Vadim Rozenfeld:

Quoted 8 lines · Peter Lieven
Quoted 7 lines

Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:

Quoted 6 lines · Peter Lieven
Quoted 5 lines

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:

Quoted 1 line

Does your VM belong to domain or workgroup?

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Quoted 8 lines
Quoted 2 lines
Quoted 1 line

Should be CMOS periodic timer.

you mean the RTC?

Right.

Quoted 1 line

Ok, so if there is a huge clock jump this one must have got messed up?

It might be. We have seen some similar problem during WHQL testing some time ago. The problem happened because time on the host was not set correct. So guest was taking this wrong time on boot and then it was a big jump after resync with domain controller.

our system forbids starting of vservers on a host where the time is not synched. ;-)

the big jump i see seems to be introduced by the live migration. i will investigate further.

Peter