Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does NetBSD always seem to lose more time the longer I leave it running?

0
Posted

Why does NetBSD always seem to lose more time the longer I leave it running?

0

The problem stems from the fact that Apple decided clock interrupts should have the lowest priority (they are usually the highest on UN*X systems). As a result, under a heavy interrupt load (like lots of serial activity), it tends to miss clock update interrupts, thus causing the machine to lose time. Apparently, this is also a problem under MacOS, but it doesn’t show up as severely as under NetBSD. However, Richard Todd (rmtodd@servalan.servalan.com) notes: The battery-backed-up clock that keeps time when the machine is off is considerably more accurate than the one that supplies clock interrupts. Every time you reboot, the kernel clock gets re-initialized from the battery-backed-up clock, so you get correct time. What can you do about this? If you are connected to the Internet, the best thing you can do is to run xntpd. As the Network Time Protocol (NTP) daemon, xntpd contacts Internet time servers and synchronizes you system clock with them. As of the 1.3 release, xntpd has been int

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123