<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tom's blog &#187; VMware</title>
	<atom:link href="http://tom.knaupp.com/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.knaupp.com</link>
	<description>free software, security and a bunch of my strange thoughts</description>
	<lastBuildDate>Tue, 23 Mar 2010 22:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMware / time sync with linux guests</title>
		<link>http://tom.knaupp.com/2007/03/09/vmware-time-sync-with-linux-guests-time-is-too-fast/</link>
		<comments>http://tom.knaupp.com/2007/03/09/vmware-time-sync-with-linux-guests-time-is-too-fast/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 13:23:57 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Distributions]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[time sync]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=28</guid>
		<description><![CDATA[In my default configuration, time was running way too fast in VMware linux guests. After spending hours of searching howto solve the problem, I finally found a few different points that might work as a solution. Enviroment: Host: SuSE Linux 10.1 Guest: SuSE Linux 10.1 VMware Server: 1.0.2 Install the vmware-tools on the guest. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>In my default configuration, time was running way too fast in VMware linux guests. After spending hours of searching howto solve the problem, I finally found a few different points that might work as a solution.<br />
<br />
Enviroment:<br />
Host: SuSE Linux 10.1<br />
Guest: SuSE Linux 10.1<br />
VMware Server: 1.0.2</p>
<ul>
<li><strong>Install the vmware-tools on the guest.<br />
Don&#8217;t forget to install the kernel-sources if you have to recompile some modules.</strong></li>
<li><strong>Insert clock=pit into the guest&#8217;s kernel boot options.</strong><br />
When you&#8217;re using grub, it kinda looks like this:<br />
kernel /vmlinuz root=/dev/sda3    apm=off acpi=off <strong>clock=pit</strong></li>
<li><strong>Set tools.syncTime = &#8220;TRUE&#8221; in your virtual machine .vmx-file<br />
(found on the host machine [default in /var/lib/vmware/..])</strong><br />
Your guest has to be rebooted to activate this setting.</li>
<li>Finally, I had to change a little thing on the <strong>host</strong> machine:<br />
Disable powersaved (or powernowd or whatever applies to you)</li>
</ul>
<p><strike>From that time on, my guests are perfectly in sync with the host&#8217;s time.</strike><br />
<br />
Note: Nov, 23th 2007: .. or not &#8230; time is still too fast on<em> some</em> virtual machines : (<br />
<br />
<strong> Next thing I tried right now is to add the following lines in /etc/vmware/config:</strong><br />
<code>host.cpukHz = 2200000<br />
host.noTSC = TRUE<br />
ptsc.noTSC = TRUE</code><br />
Where 2200000 (2,2 GHz) is the max speed of the host cpu.<br />
<br />
<strong>+ Updated to VMware Server 1.0.4</strong><br />
^^ At first sight, this works perfectly  for me : )<br />
<br />
Useful Links:</p>
<ul>
<li><a href="http://www.vmware.com/community/thread.jspa?threadID=51781&amp;tstart=0" title="VMTN / Community" target="_blank">VMTN (VMware Technology Network)</a></li>
<li><a href="http://http://www.vmware.com/pdf/vmware_timekeeping.pdf" title="Timekeeping in VMware Virtual Machines" target="_blank">Timekeeping in VMware Virtual Machines</a></li>
<li><a href="http://wiki.ubuntuusers.de/VMware" title="Wiki Ubuntu Users (de)" target="_blank">Uhrzeit läuft im Gastsystem viel zu schnell (de)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/03/09/vmware-time-sync-with-linux-guests-time-is-too-fast/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
