2 ms·
This is interesting work, NTP is a surprisingly large piece of software considering it's narrow task... and at this point rather crufty, ... e.g. in spite of h
by nullc 12y ago
This is interesting work,
NTP is a surprisingly large piece of software considering it's narrow task... and at this point rather crufty, ... e.g. in spite of having a ton of monitoring code that keeps turning up vulnerabilities, it's rather hard to monitor.
It has complex filtering, but still can perform rather poorly (esp with broken servers available). etc.
And accurate and (increasingly-) precise time keeping is mission (and, in some cases, security) critical to many applications.
Time really should be a solved problem but sadly it's not. Though fairly accurate temperature compensated oscillators are not terribly expensive, they don't find their way into typical server clocks. Many public ntp servers give bogus data. etc.
Meanwhile, kernel timekeeping has become more sophisticated. I suppose one of the principles in varnish was letting the kernel do its job, so there may be some opportunity to apply that principle here too.
So I think there is plenty that PHK could do interesting here while keeping the codebase quite focused and compact.
I do wonder how he would compare this effort to some of the other NTP alternatives (in particular chrony).
- phkamp 12y agoI'm not keen on saying too much about Chrony, I'd rather let people without a stake in the game provide comparisons. But obviously: if I had throught it was just the thing, I wouldn't have started writing Ntimed. I also don't expect Ntimed to out-compete Chrony, and if it did, I'd have to start a fourth alternative myself, to keep competition healty. A very large part of NTPDs problem was that there were no competition, which meant that everything got crammed into NTPD, come hell or 300KLOC. We saw this also with GCC, which had become a stagnated arrogant monopoly, and suddenly LLVM forced them to care about users again. Having competing projects is good thing, and I hope Chrony sees things that way too.