Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Weird clock behaviour with current (amd64) kernel



    Date:        Sun, 7 Aug 2022 09:17:52 -0000 (UTC)
    From:        mlelstv%serpens.de@localhost (Michael van Elst)
    Message-ID:  <tcnvvo$23j$1%serpens.de@localhost>


  | Does this help ?
  |
  | Index: sys/arch/x86/x86/cpu.c

Finally got a chance to test that patch properly - sorry for the delay.

The result:  "not much" if anything at all.

Running that system (after booting with PCIDUMP enabled) and using TSC
as the clock source, a

	while sleep 1; do date; done

loop prints the date (which increases a second at a time) about every
2.6 seconds (previously it was about 3 - but that was a less precise
measurement).

After switching to hpet0 (no reboot) the same loop runs at about the
same speed, but the date (time really) printed is advancing in accordance
with clock time - successive times reported differ by 2 or 3 seconds.

I have the dmesg from the boot (I used -x for this one) if that might
help (or some parts of it perhaps - the file is just a little under 1.5MB).

kre



Home | Main Index | Thread Index | Old Index