From nobody@FreeBSD.org  Sun Jan 27 11:09:28 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 20FE416A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 11:09:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0D5AF13C45A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 11:09:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0RB7kHv011667
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 11:07:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0RB7ke8011666;
	Sun, 27 Jan 2008 11:07:46 GMT
	(envelope-from nobody)
Message-Id: <200801271107.m0RB7ke8011666@www.freebsd.org>
Date: Sun, 27 Jan 2008 11:07:46 GMT
From: Niclas Zeising <niclas.zeising@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Clock lagging behind when running FreeBSD as a guest in vmware
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120035
>Category:       kern
>Synopsis:       [vmware] Clock lagging behind when running FreeBSD as a guest in vmware
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 11:10:02 UTC 2008
>Closed-Date:    Sat Feb 23 14:44:16 UTC 2008
>Last-Modified:  Sat Feb 23 14:44:16 UTC 2008
>Originator:     Niclas Zeising
>Release:        FreeBSD-CURRENT
>Organization:
>Environment:
FreeBSD aeris.daemonic.se 8.0-CURRENT-200801 FreeBSD 8.0-CURRENT-200801 #0 Sun Jan  6 23:56:34 UTC 2008      root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When running FreeBSD as a guest OS inside vmware (VMWare Workstation
6.0.2) on a windows host (Windows 2000 SP 4) the clock lags behind. It
feels like it's going slower than the real time, so to speak. When
kern.hz is set to 1000 it lags behind real much, when setting kern.hz
to 100 the slownes is much less, but it's still there.
>How-To-Repeat:
Install FreeBSD inside vmware, fiddle with kern.hz and see the clock
lag behind.
>Fix:


>Release-Note:
>Audit-Trail:

From: Niclas Zeising <oden-86@telia.com>
To: bug-followup@FreeBSD.org, niclas.zeising@gmail.com
Cc:  
Subject: Re: kern/120035: [vmware] Clock lagging behind when running FreeBSD
 as a guest in vmware
Date: Sun, 27 Jan 2008 15:38:50 +0100

 Today when running with kern.hz set to 100 the clock is not drifting at 
 all. It has stayded correct (the same time as the host) for more than 4 
 hours of uptime. I haven't tried resetting kern.hz to 1000 again to see 
 if that still drifts. Observe that I haven't done anything to my 
 configuration or recompiled anything.
 Regards!
 Niclas

From: "Alexander V. Chernikov" <admin@su29.net>
To: bug-followup@FreeBSD.org, niclas.zeising@gmail.com
Cc:  
Subject: Re: kern/120035: [vmware] Clock lagging behind when running FreeBSD
 as a guest in vmware
Date: Sat, 23 Feb 2008 01:31:43 +0300

 This is well-known virtual machine issue.
 See http://www.vmware.com/pdf/vmware_timekeeping.pdf for details
 In general, setting HZ=100 and syncing time between guest and host is 
 recommended.
 

From: Niclas Zeising <niclas.zeising@gmail.com>
To: admin@su29.net
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/120035: [vmware] Clock lagging behind when running FreeBSD
 as a guest in vmware
Date: Sat, 23 Feb 2008 14:23:32 +0100

 Alexander V. Chernikov wrote:
 > This is well-known virtual machine issue.
 > See http://www.vmware.com/pdf/vmware_timekeeping.pdf for details
 > In general, setting HZ=100 and syncing time between guest and host is 
 > recommended.
 > 
 > 
 
 Ok, thanks for the clarification. Feel free to close the PR if you like.
 Regards!
 //Niclas
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Feb 23 14:43:45 UTC 2008 
State-Changed-Why:  
Submitter agrees this can be closed (more of a documentation issue at 
this point). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120035 
>Unformatted:
