From owner-freebsd-hackers Tue Sep 16 21:32:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA13377 for hackers-outgoing; Tue, 16 Sep 1997 21:32:11 -0700 (PDT) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA13354 for ; Tue, 16 Sep 1997 21:32:06 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id GAA29657; Wed, 17 Sep 1997 06:31:55 +0200 (MET DST) Date: Wed, 17 Sep 1997 06:31:55 +0200 (MET DST) Message-Id: <199709170431.GAA29657@bitbox.follo.net> From: Eivind Eklund To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) CC: hackers@FreeBSD.ORG In-reply-to: j@uriah.heep.sax.de's message of Thu, 11 Sep 1997 06:42:31 +0200 Subject: Re: Kernel clock runs inaccurately References: <199709080124.JAA14004@tao.sinanet.com.tw> <19970908081010.DS04250@uriah.heep.sax.de> <199709102025.WAA02815@bitbox.follo.net> <19970911064231.JG62790@uriah.heep.sax.de> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > As Eivind Eklund wrote: > > > > (They are probably living in somewhat of an ivory tower with > > > good NTP refclocks readily available on a cheap Internet, something > > > that is not my situation, sitting behind dialup lines everywhere.) > > > > Shouldn't it be still be possible to set up xntpd with > > drift-correction and synchronization often, and just suppress > > xntpd-messages from starting the ppp-link? > > Too expensive still. The dialup itself is ISDN, so the setup time is > ~ 2 seconds or less, but having an xntpd calling each 5 or 15 minutes > would greatly increase our phone and Internet costs. I was suggesting _suppressing_ dial-out when xntpd tried to send a packet. Ie, something similar to the dial filter in IIJ-PPP, ignoring NTP-packets. No call every 15 minutes, just a synchronization when you're online for another reason. With a continuous connection, though, xntpd is supposed to lower the check-interval as it get more info on your clock-drift, ending up at once every 6 hours or so. The timing on an ISDN-link might not be stable enough for this to happen, though. BTW: What kind of setup are you running to get <2s setup time? I'm consistently ending up at 4-5s, having tried with different external TAs, ISDN-adapters, PPP-implementations and portmasters. Eivind.