all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@lilliput.linux.it>
To: Arjen via pve-user <pve-user@lists.proxmox.com>
Cc: pve-user@lists.proxmox.com
Subject: Re: [PVE-User] Old, 32bit, debian and clock drift.
Date: Mon, 21 Feb 2022 11:19:40 +0100	[thread overview]
Message-ID: <qi5cei-coa.ln1@hermione.lilliput.linux.it> (raw)
In-Reply-To: <mailman.196.1644786499.452.pve-user@lists.proxmox.com>; from SmartGate on Mon, Feb 21, 2022 at 18:36:02PM +0100

Mandi! Arjen via pve-user
  In chel di` si favelave...

> Sorry, I must have missed that. Other people also encountered your problem:
>  https://v13.gr/2016/02/15/running-an-ntp-server-in-a-vm-using-kvm/
> Instead of disabling ntpd, do not use the kvm-clock source on the NTP server VM.
> Either way, make sure not to combine the two.

OK, i've give it a try, for now, manually changing the clocksource with:

	echo 'hpet' > /sys/devices/system/clocksource/clocksource0/current_clocksource

But some things seems strange to me...

1) this happen on *TWO* VMs in two different installation; i've dozen of
similar installation where:

	root@vdmsv1:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
	kvm-clock

and clock are perfectly in sync; true that these problematic VMs are pretty old debian,
but not older than others that works as expected.


2) other docs, like:
	https://docs.oracle.com/en/database/oracle/oracle-database/21/ladbi/setting-clock-source-vm.html

confirm that 'tsc' is the preferred clock source for VMs; but in these box
that depicted the trouble, 'TSC' clock source get 'kicked off' because
'unreilable'.


So, doing a little 'survey' on my VMs, seems that *all* VMs use by default
'kvm-clock' as the default clock source, but on those two VMs 'tsc' clock
source is unreilable, and get kicked off, and 'kvm-clock' is unreilable too,
but get not kicked off.


Really, really strange...

-- 
  Chi parla male, pensa male e vive male.
  Bisogna trovare le parole giuste: le parole sono importanti!
						Nanni Moretti in Palombella Rossa





  parent reply	other threads:[~2022-02-21 17:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11 11:03 Marco Gaiarin
     [not found] ` <mailman.162.1644664007.452.pve-user@lists.proxmox.com>
2022-02-13 20:14   ` Marco Gaiarin
     [not found]     ` <mailman.196.1644786499.452.pve-user@lists.proxmox.com>
2022-02-21 10:19       ` Marco Gaiarin [this message]
2022-02-21 17:34         ` Marco Gaiarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qi5cei-coa.ln1@hermione.lilliput.linux.it \
    --to=gaio@lilliput.linux.it \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal