From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 02:12:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4792C1065670 for ; Mon, 7 Sep 2009 02:12:46 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 035B38FC24 for ; Mon, 7 Sep 2009 02:12:45 +0000 (UTC) Received: by yxe2 with SMTP id 2so4704802yxe.3 for ; Sun, 06 Sep 2009 19:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0A8hzZp5pcJp4S3C2xO0TW/xDpR2b7E/VQ7HPBF+URU=; b=d78zeV9ovC+XdkmpyxZJWa+jT806j0kRqQ2jgxb/qIU7+UIJ5EurP6KZhw5uC+Tofc MlRcYhK11CMRp/VkhDFhmSZr22YJhK5YSO+yf+lBSgf76asowdhnJG5WOw1OSNi5npcs 1m9Wd92WJgBSmt3B2N6s/F9lGvEEqvK3g3pYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IzcLPDkLaZR/kXo1s3U61giTd03zDIR/hpck2z9ex7MkB7UVPj1mRyKMtepRcSwSpI Ps7Mu7C8hN324CDeS+CjZ5m3L2HboYsUKdzMy//tm023uxdpuZwTh/8upzmAOLl62gfF VD4gumyTGJpp9AdcowhwdcGVDjzVv6PJCNeKc= MIME-Version: 1.0 Received: by 10.100.74.13 with SMTP id w13mr14769070ana.168.1252289565357; Sun, 06 Sep 2009 19:12:45 -0700 (PDT) In-Reply-To: <6bae2c430909060711m3c57adfej33014f84cb23874@mail.gmail.com> References: <6bae2c430909060711m3c57adfej33014f84cb23874@mail.gmail.com> Date: Sun, 6 Sep 2009 20:12:45 -0600 Message-ID: From: Tim Judd To: Hashimoto Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Clock delays in FreeBSD guest VM on VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 02:12:46 -0000 On 9/6/09, Hashimoto wrote: > Hello. > > I am running several FreeBSD(8.0-BETA3) guest VMs > on VirtualBox on OpenSolaris. > On all hosts, I am configuring & running ntpd. > > However, only one host (naming HostX) can sync the clock. > All hosts except for HostX cannot sync the clock. > (The time delays about 10 minutes in an hour.) > What's the cause of this problem? > Regards. > > /etc/rc.conf > ntpd_enable="YES" > ntpd_sync_on_start="YES" > > /etc/ntp.conf (default config file) > server 0.freebsd.pool.ntp.org iburst maxpoll 9 > server 1.freebsd.pool.ntp.org iburst maxpoll 9 > server 2.freebsd.pool.ntp.org iburst maxpoll 9 > > -- > Kouki Hashimoto > hsmtkk@gmail.com Timing problems can be due to kern.hz The older kern.hz was set to 100, and now it's set at 1000 The hardware clock may need adjusting, see sysctl kern.timecounter.choice Only one that seems relatively current is installing the vmtools with vmware hypervisor. Said tools even support guest shutdown and the rest. I would say without tools support, you have slim possible chances to synchronize timings, and timing problems will keep you guessing.