From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 05:36:25 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E9C96C5 for ; Thu, 12 Feb 2015 05:36:25 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 4B3939DB for ; Thu, 12 Feb 2015 05:36:25 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id lf10so8932613pab.12 for ; Wed, 11 Feb 2015 21:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kjpYAPql8USru8lXVBtixwjJZ9/HQnNoCbSf36CTIvQ=; b=d3sUpJiOVF7qPEbySLGbWWLX3loweRQHkV+d/5jwKsTSSx6pM/HEWA7xcglJMrtIdc W5D+ns0MG87WUw8tx3pOfKVmmTUqqCs6sAouWBN1PPZDxgU8ioM4IwSLOmwCPGie10Q3 ILVm2WQpozL1OcH4viRd+ipIIOsWJIJ8OCGgcI7UEkPBNB3hvmFno6uKNnEBaQWm4vIY ZT+hxyDuQui30OFOKE4kTYNeX+SeivGl+RHnM5KvL1TN2s2N+whIemCc2vLnMTARS3U3 k011lKpLtF37WkhU51TC1Nqp3X2wsWfImhMQl4YfroOrxZ+PP3DI/hlOtcViCeIfAqzL WSwA== MIME-Version: 1.0 X-Received: by 10.68.200.36 with SMTP id jp4mr3280160pbc.153.1423719384930; Wed, 11 Feb 2015 21:36:24 -0800 (PST) Received: by 10.70.110.134 with HTTP; Wed, 11 Feb 2015 21:36:24 -0800 (PST) In-Reply-To: References: Date: Wed, 11 Feb 2015 23:36:24 -0600 Message-ID: Subject: Re: How to adjust clock frequency in FreeBSD 10.1 ? From: Adam Vande More To: Rick Thomas Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 05:36:25 -0000 On Wed, Feb 11, 2015 at 9:09 PM, Rick Thomas wrote: > Hi All, > > I=E2=80=99ve got a machine with a really bad clock. When I run NTP on it= , the > freq goes straight to 500.0 (over a period of a few days) and stays there= , > while the offset grows and grows. > > I recently switched this machine from Debian Linux to FreeBSD (wanting to > learn more about FreeBSD). Under Linux, I used adjtimex to modify the TI= CK > value and (once I had converged on the right value) NTP was able to > stabilize the clock. > > Is there an equivalent hack for FreeBSD? > You may wish to play around w/ sysctl kern.timecounter to find a setting that works for you. --=20 Adam