[PVE-User] Old, 32bit, debian and clock drift.

Arjen leesteken at protonmail.ch
Sat Feb 12 12:06:06 CET 2022


On Friday, February 11th, 2022 at 12:03, Marco Gaiarin <gaio at lilliput.linux.it> wrote:

> PVE 6.4, updated to the latest patch.
>
>
> I've P2V an old debian squeeze box, 32bit, that have an impressive clock
> drift, even if they had 'ntpd' up&running.
>
> I've tried to remove '/etc/adjtime' and reboot, but nothing changed.
>
> The strange thing is i got in logs:
>
> 	Feb 10 15:15:37 sdinny kernel: [ 9481.004112] Clocksource tsc unstable (delta = 63065327 ns)
>
> but:
> 	sdinny:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> 	kvm-clock hpet acpi_pm
> 	sdinny:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> 	kvm-clock
>
> So 'tsc' is even not listed on clocksources, nor are used.

Possibly both the para-virtualized clock source and the ntp daemon are adjusting for drift and therefore overcompensating and making everything worse.
Try disabling ntpd, stop and start the VM and see if that works better? It works well for my VMs, but they are not running 24/7.





More information about the pve-user mailing list