Date: Mon, 19 Mar 2007 17:34:43 +0000 From: Joe Holden <joe@joeholden.co.uk> To: Einstein Oliveira <einstein@yawl.com.br> Cc: Va'clav Haisman <v.haisman@sh.cvut.cz>, freebsd-stable@FreeBSD.ORG, Sergey Matveychuk <sem@FreeBSD.org> Subject: Re: time goes slow in VmWare Message-ID: <45FEC9B3.80402@joeholden.co.uk> In-Reply-To: <45FEB8FE.9030207@yawl.com.br> References: <45FE9AFB.9070703@FreeBSD.org> <45FEB3DA.1060002@sh.cvut.cz> <45FEB8FE.9030207@yawl.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Einstein Oliveira wrote: > 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. > > Hi, I also noticed this, and the above thread, but I ended up solving it by setting HZ to 100 in the guest. Ta, J
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FEC9B3.80402>