From owner-freebsd-questions Thu May 24 0:39:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 512F037B422 for ; Thu, 24 May 2001 00:39:15 -0700 (PDT) (envelope-from tedm@toybox.placo.com) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f4O7dBk77471; Thu, 24 May 2001 00:39:12 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Vivek Khera" , Subject: RE: how to improve a bad timekeeper Date: Thu, 24 May 2001 00:39:11 -0700 Message-ID: <001001c0e424$9fa4b0e0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <15115.53325.566433.473253@onceler.kciLink.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You can always shut off ntp and run ntpdate from crontab. ntpdate forces time to be synced without regard to drift. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Vivek Khera >Sent: Wednesday, May 23, 2001 7:59 AM >To: questions@FreeBSD.ORG >Subject: how to improve a bad timekeeper > > >I have one 4.3-STABLE box that is a really bad timekeeper. ntpd has a >hard time keeping it in line. Often offset is high, and I see loss of >synchronization frequently. > >The system boot message is below. > >I've tried the following to work around the bad timekeeping: > >1) set kern.timecounter.method=1 (didn't help) >2) add apm0 to the kernel config (helps somewhat) > >Still, the time is offset about between 0.7 and 1.4 seconds from the >two ntp servers to which I synchronize (both on my network). Without >apm0 device, it was going as far as 30 seconds off. > >The machine only does backup mail and DNS, so I don't care that >microsecond timing is accurate (can I adjust the clock tick somehow)? > >Are there any other things I can try to get this machine to keep >better time? > >--cut here-- >Copyright (c) 1992-2001 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 4.3-STABLE #1: Tue May 22 22:35:18 EDT 2001 > vivek@lorax.kciLink.com:/u/lorax1/usr/obj/u/lorax1/usr/src/sys/LORAX >Timecounter "i8254" frequency 1193182 Hz >CPU: Pentium/P54C (198.96-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x52c Stepping = 12 > Features=0x1bf >real memory = 134217728 (131072K bytes) >avail memory = 127967232 (124968K bytes) >Preloaded elf kernel "kernel" at 0xc02bb000. >Intel Pentium detected, installing workaround for F00F bug >apm0: on motherboard >apm: found APM BIOS v1.1, connected at v1.1 >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >isab0: at device 7.0 on pci0 >isa0: on isab0 >pci0: at 7.1 >de0: port 0x6000-0x607f mem >0xe0800000-0xe080007f irq 5 at device 17.0 on pci0 >de0: DEC DE500-XA 21140 [10-100Mb/s] pass 1.2 >de0: address 00:00:f8:03:1e:19 >pci0: at 18.0 irq 9 >bt0: port 0x6100-0x6103 >mem 0xe0801000-0xe0801fff irq 10 at device 19.0 on pci0 >bt0: BT-948 FW Rev. 5.05R Ultra Narrow SCSI Host Adapter, SCSI ID >7, 192 CCBs >sis0: port 0x6200-0x62ff mem >0xe0802000-0xe0802fff irq 11 at device 20.0 on pci0 >sis0: Ethernet address: 00:02:e3:15:61:04 >miibus0: on sis0 >ukphy0: on miibus0 >ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 >fdc0: FIFO enabled, 8 bytes threshold >fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >atkbdc0: at port 0x60,0x64 on isa0 >atkbd0: irq 1 on atkbdc0 >kbd0 at atkbd0 >vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 >sc0: at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x100> >sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >sio0: type 16550A, console >sio1 at port 0x2f8-0x2ff irq 3 on isa0 >sio1: type 16550A >IP packet filtering initialized, divert disabled, rule-based >forwarding disabled, default to accept, unlimited logging >Waiting 5 seconds for SCSI devices to settle >de0: enabling 10baseT port >Mounting root from ufs:/dev/da0s1a >da0 at bt0 bus 0 target 0 lun 0 >da0: Fixed Direct Access SCSI-2 device >da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled >da0: 1010MB (2069860 512 byte sectors: 64H 32S/T 1010C) >da1 at bt0 bus 0 target 1 lun 0 >da1: Fixed Direct Access SCSI-2 device >da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled >da1: 2047MB (4194058 512 byte sectors: 128H 32S/T 1023C) > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message