From owner-freebsd-stable@FreeBSD.ORG Mon Mar 19 16:50:18 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3835B16A400 for ; Mon, 19 Mar 2007 16:50:18 +0000 (UTC) (envelope-from einstein@yawl.com.br) Received: from server3.yawl.com.br (server3.yawl.com.br [200.175.230.3]) by mx1.freebsd.org (Postfix) with SMTP id 6542F13C480 for ; Mon, 19 Mar 2007 16:50:17 +0000 (UTC) (envelope-from einstein@yawl.com.br) Received: (qmail 23175 invoked by uid 1009); 19 Mar 2007 16:23:36 -0000 Received: from unknown (200.175.230.21) by server3.yawl.com.br with SMTP; 19 Mar 2007 16:23:36 -0000 X-Auth-User: einstein@yawl.com.br Message-ID: <45FEB8FE.9030207@yawl.com.br> Date: Mon, 19 Mar 2007 13:23:26 -0300 From: Einstein Oliveira User-Agent: Thunderbird 1.5.0.10 (X11/20070304) MIME-Version: 1.0 To: Va'clav Haisman References: <45FE9AFB.9070703@FreeBSD.org> <45FEB3DA.1060002@sh.cvut.cz> In-Reply-To: <45FEB3DA.1060002@sh.cvut.cz> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.ORG, Sergey Matveychuk Subject: Re: time goes slow in VmWare X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 16:50:18 -0000 Va'clav Haisman wrote: > Sergey Matveychuk wrote: >> Hello. >> >> I have a problem with FreeBSD 6.2-RELEASE in VmWare Server on Windows >> 2003 host. >> >> Time is a hour slow for a day. >> >> I have hint.apic.0.disabled=1 in loader.conf >> I've tried all possible values in kern.timecounter.hardware. >> Nothing helps. >> >> I've found it's not only my problem: >> http://www.vmware.com/community/thread.jspa?threadID=26034&tstart=0 >> >> ntpd does not help. I think because it's too rude time for NTP. >> >> Any hints please. > I have same problem under MS Virtual Server R2. I did not find any way > how to solve this. Instead, I worked around this using ntpdate every > five minutes in cron job and I also set kern.hz=2000 in > /boot/loader.conf which helps a little bit. > > -- > VH > > We're using VMware hosted on Linux with FreeBSD as guest with this lines in /etc/vmware/config: --- host.cpukHz = "3000000" # Adjust this line to your cpu speed! host.noTSC = "TRUE" ptsc.noTSC = "TRUE" --- and vmware-tools installed with the following line in the FreeBSD .vmx: --- tools.syncTime = "TRUE" --- This is the best combination we tried to solve this problem. -- Einstein Oliveira einstein@yawl.com.br ___________________________________________________ Yawl Internet Ltda. http://www.yawl.com.br/