From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 17:00:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AF99106566B for ; Tue, 5 Jun 2012 17:00:00 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E21A08FC17 for ; Tue, 5 Jun 2012 16:59:59 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so8197364pbb.13 for ; Tue, 05 Jun 2012 09:59:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=vUy6v602cc5epQfBhjzs+1wHY5D40wqq7LgaMlY8AGQ=; b=ScfTLHriNjmAdG20NieP2ozVzaGrhva7l7z4yokGR1fPsW1KCA3LtA8/l3IGt1DAqL BPpN3XPQz8zON5p8kDelteO/okPBKyTQ9VTMkhf/IECfUTo0MhKAJ67YKvtmrfpUOqdv /6jL29KIFTan7GCxBS4NbbOrql+WY2ipGN8qWcntxRjCxdjfJ/tnsmccH5iP79IKB1yK if0ZV7Kixq7KwGkRNU23DeeRnuM1U5cTH8qalKliKX9TPjVQLjLGOatnMw8EssFFXcnP JPfn2sYS1safUfDfA11i6cyKhVbUFfcaT22FuFGXVPqJvpkevxD3Ng53QarZC+MiKFw1 5Vtw== MIME-Version: 1.0 Received: by 10.68.219.162 with SMTP id pp2mr49597862pbc.85.1338915598736; Tue, 05 Jun 2012 09:59:58 -0700 (PDT) Received: by 10.68.202.8 with HTTP; Tue, 5 Jun 2012 09:59:58 -0700 (PDT) In-Reply-To: <4FCE20E7.2000202@mafiainc.org> References: <4FCE20E7.2000202@mafiainc.org> Date: Tue, 5 Jun 2012 09:59:58 -0700 Message-ID: From: Michael Sierchio To: Martin Dimitrov Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkZs+8vzsBGsC3XC1y7e9XMppbZXMVk7Yih84C7bclab6nPt23h7zCKU1LnUOA8MTm1hvpI Cc: freebsd-questions@freebsd.org Subject: Re: Clock lagging behind on FreeBSD 9.0-RELEASE under KVM 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: Tue, 05 Jun 2012 17:00:00 -0000 Try machdep.independent_wallclock=1 On Tue, Jun 5, 2012 at 8:08 AM, Martin Dimitrov wrote: > Hi, > > I am new to FreeBSD, decided to migrate a web server to FreeBSD. I > recently both a VPS that claim to use KVM as a virtualization service, I > don't know the details of the real hardware running behind nor what is > KVM running on. Anyway I have an issue with clock on my FreeBSD > installation that I can't live with. The clock is lagging behind, for > example running sleep 30 is really sleeping around 35 seconds not 30. > Also seems that NTP is not able to manage with this drift in time. > Before posting here I red about similar problems mostly related to > VMWare guests, but the solutions suggested are following: > > set kern.hz=100 or kern.hz=50 (doesn't work for me) > set hint.apic.0.disabled=1 (this makes the guest hangs while booting > also it discarding the SMP capabilities of the kernel which I assume is > not a good idea) > set kern.timecounter.hardware TSC (doesn't work for me) > > Is there any chance I deal with this time drifting issue somehow? If > somebody faced such issue and managed it I would be happy to try another > possible solution? > Alternatively I can switch the provider with other that is using Xen for > virtualization, I guess is better, but no guarantee that would not have > the same issue. :( > > Cheers, > Martin > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"