Solved System time is slowing down

Hello,
I have very strange issue with my FreeBSD 11 (stable/11) workstation.

I left the PC running after going to work and when I returned 12h later, my system time was far behind the real time:
Code:
root@grinder:/usr/home/apoc # /etc/rc.d/ntpdate restart 
Setting date via ntp. 
25 Oct 19:17:58 ntpdate[2920]: step time server 81.27.192.20 offset 16926.383627 sec

In attachement there is dmesg output from my machine.

Does any body have similar issue? Is there any help other than syncing from NTP every hour?

Thank You
 

Attachments

  • dmesg.txt
    11.8 KB · Views: 313
Thank You, I'll try. Currently my setting is as follows:
Code:
kern.timecounter.choice: TSC-low(1000) ACPI-fast(900) i8254(0) HPET(950) dummy(-1000000) 
root@grinder:/usr/home/apoc # sysctl kern.timecounter.hardware 
kern.timecounter.hardware: TSC-low
 
I noticed this as well after upgrading to 11.0. I thought it was related to ntpd not restarting after resuming my laptop from suspend. All that I can say for certain is that ntpd had stopped (nothing in logs) and the time was 20-some minutes slow [1]. It hasn't happened on our many servers running 11.0-p1. The laptop and some of the servers have kern.timecounter.hardware: TSC-low and others have kern.timecounter.hardware: HPET. I didn't manually set any of them.

It's interesting to hear that (possibly) the same problem is happening without suspend/resume in play.

[1] Unfortunately, I realized the problem when I arrive about 10 minutes late for a lecture I was giving, thinking I was 10 minutes early!
 
I set timer to HPET and time seems to be more stable now. I'll let the PC turned on during the night and tomorrow morning I'll check the result.
 
Back
Top