From owner-freebsd-stable@FreeBSD.ORG Wed Apr 6 17:21:53 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E447416A4CE for ; Wed, 6 Apr 2005 17:21:52 +0000 (GMT) Received: from smtp815.mail.sc5.yahoo.com (smtp815.mail.sc5.yahoo.com [66.163.170.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 624DC43D49 for ; Wed, 6 Apr 2005 17:21:52 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.251.38 with login) by smtp815.mail.sc5.yahoo.com with SMTP; 6 Apr 2005 17:21:47 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id B6FEE619B; Wed, 6 Apr 2005 12:21:44 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 96398-05; Wed, 6 Apr 2005 12:21:42 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 9DEBA619A; Wed, 6 Apr 2005 12:21:42 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j36HLfAd018536; Wed, 6 Apr 2005 12:21:42 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <42541AA5.9030702@alumni.rice.edu> Date: Wed, 06 Apr 2005 12:21:41 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050326) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vivek Khera References: <20050401104508.GJ71384@cirb503493.alcatel.com.au> <6.2.0.14.2.20050401141349.04817c20@gid.co.uk> <20050401174252.GA84746@slackbox.xs4all.nl> <6.2.0.14.2.20050401185519.048c8e60@gid.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org cc: stable@freebsd.org Subject: Re: Kernel NTP flipping between FLL and PLL modes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 17:21:53 -0000 On 04/01/05 14:51, Vivek Khera wrote: > On Apr 1, 2005, at 12:56 PM, Bob Bishop wrote: >> At 18:42 01/04/2005, Roland Smith wrote: >>> On my amd64 box I also get the mode flipping, but I don't get resets. >> >> Hmm. I am getting resets on my amd64. > > On my dual opteron, I get flipping perhaps a handful of times per day > (5.4-PRE/amd64 from march 22). > > On my Xeon EMT64 with hyperthreading (5.3-STABLE/amd64 from Jan 7), it > happens every 2-6 hours. > > My 5.3-REL/i386 Xeon with hyperthreading does it about two or four times > per day, no resetting. > > Neither one shows time step resets. On my little LAN here I have one machine syncing with the Internet that acts as a time server for 3 others. The time server machine (733MHz P3 w/ 4BSD scheduler), named 'www', logs the following: Apr 5 12:35:59 www ntpd[439]: ntpd 4.2.0-a Tue Apr 5 10:59:44 CDT 2005 (1) Apr 5 12:44:33 www ntpd[439]: kernel time sync disabled 2041 Apr 5 12:53:07 www ntpd[439]: kernel time sync enabled 2001 Apr 5 17:36:27 www ntpd[439]: kernel time sync enabled 6001 Apr 5 17:53:31 www ntpd[439]: kernel time sync enabled 2001 Apr 5 18:44:43 www ntpd[439]: kernel time sync enabled 6001 Apr 5 19:01:46 www ntpd[439]: kernel time sync enabled 2001 Apr 5 20:44:12 www ntpd[439]: kernel time sync enabled 6001 Apr 5 21:01:16 www ntpd[439]: kernel time sync enabled 2001 Apr 6 00:26:11 www ntpd[439]: kernel time sync enabled 6001 Apr 6 00:43:16 www ntpd[439]: kernel time sync enabled 2001 Apr 6 02:25:43 www ntpd[439]: kernel time sync enabled 6001 Apr 6 02:42:46 www ntpd[439]: kernel time sync enabled 2001 Apr 6 05:33:31 www ntpd[439]: kernel time sync enabled 6001 Apr 6 05:50:37 www ntpd[439]: kernel time sync enabled 2001 Apr 6 07:50:09 www ntpd[439]: kernel time sync enabled 6001 Apr 6 08:07:14 www ntpd[439]: kernel time sync enabled 2001 Apr 6 09:15:31 www ntpd[439]: kernel time sync enabled 6001 Apr 6 09:32:37 www ntpd[439]: kernel time sync enabled 2001 Apr 6 11:32:07 www ntpd[439]: kernel time sync enabled 6001 2 of the clients (800MHz P3 and Althon XP 1800+, both w/ 4BSD scheduler) don't have any weird issues at all. The third (4x 550MHz P3 Xeon w/ ULE scheduler), aptly named 'quad', hasn't flipped much but has a lot of resets: Apr 5 12:45:28 quad ntpd[708]: ntpd 4.2.0-a Tue Apr 5 10:34:52 CDT 2005 (1) Apr 5 12:54:03 quad ntpd[708]: kernel time sync disabled 2041 Apr 5 13:05:48 quad ntpd[708]: kernel time sync enabled 2001 Apr 5 16:19:52 quad ntpd[708]: time reset -0.702001 s Apr 5 17:05:57 quad ntpd[708]: time reset +1.232861 s Apr 5 17:49:57 quad ntpd[708]: time reset -0.678139 s Apr 5 19:01:45 quad ntpd[708]: time reset +0.183283 s Apr 6 03:04:23 quad ntpd[708]: time reset -0.680651 s Apr 6 03:27:53 quad ntpd[708]: time reset +0.158949 s Apr 6 03:47:04 quad ntpd[708]: time reset +0.983025 s Apr 6 04:24:39 quad ntpd[708]: time reset -1.101975 s Apr 6 04:46:09 quad ntpd[708]: time reset +0.637136 s Apr 6 11:51:31 quad ntpd[708]: kernel time sync enabled 6001 Apr 6 12:08:34 quad ntpd[708]: kernel time sync enabled 2001 Note that all machines are connected to the same 100Mbit switch and were rebooted at the same time. I only got resets on the SMP/ULE machine. Perhaps SMP or ULE make the issue worse? Jon