Codium Logo Codium Logo
  • Services
  • Industries
  • Our Work
  • About
  • Blog
Blog

VMware Guests Time Runs Too Fast!

27 June 2008
While setting up my latest server i encounter an issue i have never come across before, in my VMware guest machine the time was flying very quickly into the future. Could this be time travel?

Unfortunately not, its caused by the CPU frequency scaling on a multi-core processor and by default VMware doesn't quite no how to deal with it yet.

To rectify this issue you have to set your CPU's max frequency into /etc/vmware/config.

To find your cpu's frequency you have two options, the first:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq 

2000000
The second:
$ cpufreq-info

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006

Report errors and bugs to linux@brodo.de, please.

analyzing CPU 0:

driver: centrino

CPUs which need to switch frequency at the same time: 0

hardware limits: 1000 MHz - 2.00 GHz

available frequency steps: 2.00 GHz, 1.33 GHz, 1000 MHz

available cpufreq governors: userspace, powersave, ondemand, conservative, performance

current policy: frequency should be within 1000 MHz and 2.00 GHz.

The governor "ondemand" may decide which speed to use

within this range.

current CPU frequency is 1000 MHz.

analyzing CPU 1:

driver: centrino

CPUs which need to switch frequency at the same time: 1

hardware limits: 1000 MHz - 2.00 GHz

available frequency steps: 2.00 GHz, 1.33 GHz, 1000 MHz

available cpufreq governors: userspace, powersave, ondemand, conservative, performance

current policy: frequency should be within 1000 MHz and 2.00 GHz.

The governor "ondemand" may decide which speed to use

within this range.

current CPU frequency is 1000 MHz.
As my MAX CPU frequency is 2.00GHz i added these lines to /etc/vmware/config
host.cpukHz = 2000000

host.noTSC = TRUE

ptsc.noTSC = TRUE
All that is left to do now is restart VMware and test the results.

The above commands where performed on:

Host: VMware Server 1.5.0 running on a 2.6 kernel

Guest: Ubuntu 8.04 Hardy Heron

Please post any comments or suggestions.
2008
Keep reading

More from the blog

Has your business outgrown Excel? Seven signs, and what to do about each one
15 Oct 2026

Has your business outgrown Excel? Seven signs, and what to do about each one

Spreadsheets fail slowly, so nobody notices the day they stop being a tool and start being the system. Here are the signs, the fix...

What has changed in custom software development over the last 12 months
2 Sep 2026

What has changed in custom software development over the last 12 months

Software development continues to evolve quickly, but the last 12 months have seen some particularly significant changes in the wa...

How do you know which asset is about to fail before it does?
30 Jul 2026

How do you know which asset is about to fail before it does?

The failure was there in the data for three inspections before the breakdown. Nobody could see it because the data was spread acro...

All articles

Want to talk about your own project?

Tell us what's slowing your business down. One of our digital strategists will talk it through with you.

Get in touch Call 1300 887 103
Codium Logo
Codium Pty Ltd.
Ground Floor, 207 Greenhill Road
Eastwood, 5063
Adelaide, South Australia
  • 1300 887 103
  • sales@codium.com.au

Development

  • Software Development
  • Mobile Apps
  • Software Integration
  • Hardware Integration
  • Microsoft Access
  • Replace Spreadsheets

Managed Services

  • Software Takeover
  • Software Support (SLA)
  • Managed Hosting
  • Private AI Hosting
  • On-Premise AI

AI

  • AI for Business
  • AI Reporting

Strategy

  • Technology Partner
  • UI / UX Design
  • Due Diligence (M&A)
  • Why Projects Succeed
  • What Software Costs

Technologies

  • PHP · Laravel
  • JavaScript · Vue.js
  • AWS

Company

  • About Us
  • Industries
  • Our Work
  • Blog
  • Careers
  • Contact Us
  • Customer Feedback
  • Remote Support

© Codium Pty Ltd. All Rights Reserved.

  • Terms of Business
  • Privacy Policy
  • Quality Policy
  • Security Policy
  • Customer Experience Charter
Back Top
Codium
Services
All services Strategy
  • Technology Partner
  • UI / UX Design
  • Technology Due Diligence
  • Why Projects Succeed
  • What Software Costs
Development
  • Software Development
  • Mobile App Development
  • Software Integration
  • Hardware Integration
  • Microsoft Access Databases
  • Replace Spreadsheets
Managed services
  • Software Takeover
  • Software Support (SLA)
  • Managed Hosting
  • Private AI Hosting
  • On-Premise AI
AI
  • AI for Business
  • AI Reporting
Industries
All industries
  • Construction
  • Finance
  • Government
  • Health
  • Insurance
  • Manufacturing
  • Mining
  • Retail & E-commerce
  • Transport & Logistics
Our Work About Blog
Get in touch Call 1300 887 103