From owner-freebsd-current@freebsd.org Mon Jul 6 19:59:29 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62C93995188 for ; Mon, 6 Jul 2015 19:59:29 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 408231C1F for ; Mon, 6 Jul 2015 19:59:29 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3D2D7995187; Mon, 6 Jul 2015 19:59:29 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21DB1995186 for ; Mon, 6 Jul 2015 19:59:29 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B13F41C1E for ; Mon, 6 Jul 2015 19:59:28 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by wiclp1 with SMTP id lp1so31353910wic.0 for ; Mon, 06 Jul 2015 12:59:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:mime-version:content-type :content-id:date:message-id; bh=CmHchJyheTt8q2M7+UAbxCCD7Bezl15CgcZDLqjc7Go=; b=gB1KVcGAzm10xJdvFPBXFheO9ari26F1gVOg2jd8ZF1K7gTkzxTFGmveXCuYuTCg9v mcIeSx9Ac80B81I2F14tk/Ag0C0FSMXG96GEW1ofQb4UMJGYsynNbDGvZvrS1NunpSuY lp87p0q38V0W9kAn1BUpDZC5+YJa6yQvP7PVaGNeN1wC73nylMmOiA/p4KGMKhXV8NdH J9TBdhzTzrOSO4mLJDHMXsZoyd7y3GI44bMO0bK9/f+6Gfg7JiL6UGGoLfNAKjjoGpYt jT4wiG2jpeaS3bvcbAOg8Pm04PpK+cfhTzmatmTgieUnXx0OuzkdevgPY6vbBjcHRox0 3S9Q== X-Gm-Message-State: ALoCoQmzp8wAPmdU/JWuMmfBwqLT5gz5VnNQRhhCw/t+APnDaC5ARGrRfHZRxi06b8h346Oj8gBu X-Received: by 10.180.92.40 with SMTP id cj8mr53938645wib.92.1436212761340; Mon, 06 Jul 2015 12:59:21 -0700 (PDT) Received: from clue.co.za ([197.89.37.239]) by mx.google.com with ESMTPSA id l7sm30245542wic.2.2015.07.06.12.59.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 12:59:20 -0700 (PDT) From: Ian FREISLICH X-Google-Original-From: "Ian FREISLICH" Received: from localhost ([127.0.0.1] helo=zen) by clue.co.za with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZCCXt-000750-Co for current@freebsd.org; Mon, 06 Jul 2015 21:59:17 +0200 To: current@freebsd.org Subject: ntpd wierdness. X-Attribution: BOFH MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27216.1436212757.1@zen> Date: Mon, 06 Jul 2015 21:59:17 +0200 Message-Id: X-Mailman-Approved-At: Mon, 06 Jul 2015 20:41:15 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 19:59:29 -0000 Hi ntpq/ntpd appear inconsistent since at least r284659, reporting my refclocks as false tick and the other selected for PPS, but not time source: [brane] ~/graphing $ ntpq -c peers remote refid st t when poll reach delay offset jitter ============================================================================== xGPS_ONCORE(0) .GPS. 0 l 8 16 377 0.000 0.088 0.003 oGPS_ONCORE(1) .GPS. 0 l 7 16 377 0.000 0.087 0.003 +xxxx .PPS. 1 u 21 64 377 31.655 2.514 9.528 *yyyy .GPS. 1 u 5 64 377 31.913 2.705 2.684 [brane] ~/graphing $ ntpq -c assoc ind assid status conf reach auth condition last_event cnt =========================================================== 1 44551 913a yes yes none falsetick sys_peer 3 2 44552 973a yes yes none pps.peer sys_peer 3 3 44553 963a yes yes none sys.peer sys_peer 3 4 44554 9424 yes yes none candidate reachable 2 [brane] ~/graphing $ ntpq -crv associd=0 status=0418 leap_none, sync_uhf_radio, 1 event, no_sys_peer, version="ntpd 4.2.8p2-a (1)", processor="amd64", system="FreeBSD/11.0-CURRENT", leap=00, stratum=1, precision=-20, rootdelay=0.000, rootdisp=1.090, refid=GPS, reftime=d945578a.3989f1fd Mon, Jul 6 2015 21:37:46.224, clock=d9455790.a5ebb2cf Mon, Jul 6 2015 21:37:52.648, peer=44552, tc=4, mintc=3, offset=0.089614, frequency=31.102, sys_jitter=0.002181, clk_jitter=0.001, clk_wander=0.001 The Oncore GPS are slightly wierd in they almost always start 32000ms ahead on the first time read from them after reset and then correct themselves resulting in huge jitter at ntpd start, but then with the previous version, the refclocks were always selected as pps.peer and sys.peer. Now, even though the refclocks have settled down, the peer selection seems a little strange. At least not what I'm used to seeing. Ian -- Ian Freislich