Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Virtualization installations and techniques» Wildly out of control clock under vmware
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Wildly out of control clock under vmware  (Read 2759 times)
0 Members and 1 Guest are viewing this topic.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« on: February 23, 2009, 01:49:46 pm »

I am using pfsense under vmware. The clock is running very fast 1000s of seconds per hour and the ntp deamon does not
seam to correct this at all.

Any clues on how to fix this?

Thanks.
.
--
Chris
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6028


View Profile WWW
« Reply #1 on: February 23, 2009, 08:12:11 pm »

Are you using the VMware appliance, or have the Open-VM-Tools package installed?
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #2 on: February 23, 2009, 08:34:00 pm »

Yes I am using the vmware tools version 102166_7_1.  pfsense version 1.2.2

I just check my .vmx configuration it has

tools.syncTime = "FALSE"

should that be "TRUE"? I am running it in production so I don't want an unnecessary reboot.

--
Chris
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6028


View Profile WWW
« Reply #3 on: February 23, 2009, 08:42:32 pm »

yeah set that to true
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #4 on: February 24, 2009, 01:52:08 am »

No joy. Setting that parameter to TRUE did not give an noticeable improvement in clock accuracy.
Logged
Cry Havok
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2772


Backup: n. What you should have done yesterday.


View Profile
« Reply #5 on: February 24, 2009, 06:06:56 am »

Disable any CPU throttling on your underlying platform.
Logged

If you're planning on PMing me to ask me to look at a thread, or for individual support, don't.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #6 on: February 24, 2009, 09:47:21 am »

How? Where?

Is this a config option of vmware? or am I nice-ing vmware with out knowing it?
Logged
Cry Havok
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2772


Backup: n. What you should have done yesterday.


View Profile
« Reply #7 on: February 24, 2009, 10:23:32 am »

It's a setting either in the BIOS and/or in your operating system, I don't know if VMWare server can change this.
Logged

If you're planning on PMing me to ask me to look at a thread, or for individual support, don't.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #8 on: February 24, 2009, 12:12:52 pm »

I checked the proccess table I am running this is what I got:
command : ps -A -o pid,user,time,nice,args | grep vmware
3192 root     00:00:00   0 /usr/bin/vmnet-natd -d /var/run/vmnet-natd-4.pid -m /var/run/vmnet-natd-4.mac -c /etc/vmware/vmnet4/nat/nat.conf
 3201 root     00:00:00   0 /usr/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmware/vmnet8/nat/nat.conf
 3207 root     00:05:38   0 /usr/sbin/vmware-serverd -s -d
 3245 root     00:00:02   0 /usr/lib/vmware-mui/apache/bin/httpd.vmware -DSSL -DSSL_ONLY -DGSX -d /usr/lib/vmware-mui/apache
 3251 wwwrun   00:01:34   0 /usr/lib/vmware-mui/apache/bin/httpd.vmware -DSSL -DSSL_ONLY -DGSX -d /usr/lib/vmware-mui/apache
 3256 wwwrun   00:00:00   0 /usr/lib/vmware-mui/apache/bin/httpd.vmware -DSSL -DSSL_ONLY -DGSX -d /usr/lib/vmware-mui/apache
 3394 root     00:00:00   0 /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet4/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet4/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet4.pid vmnet4
10825 admin    01:14:55 -10 /usr/lib/vmware/bin/vmware-vmx -C /home/admin/vmware/pfSence/pfSence.vmx -@ ""
12725 admin    00:00:00   0 grep vmware


-10 is the lowest (best) priority on the system at the moment. So I do not think I am starving the vmware proccess. Should I lower the nice-ness of vmware-serverd too?
Logged
Cry Havok
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2772


Backup: n. What you should have done yesterday.


View Profile
« Reply #9 on: February 24, 2009, 01:30:59 pm »

VMWare assumes (for the purposes of time keeping) that the processor runs at a fixed speed, that has nothing to do with nice or anything else.  You need to ensure that the processor does run at that fixed speed - hence disabling processor performance management in hardware (or OS).

Intel call theirs SpeedStep, AMD call it Cool 'n' Quiet.  It's also known as performance states (and a few other things).

Step one - look in your BIOS for anything called SpeedStep or Cool 'n' Quiet - disable it.

Step two - what version of Linux/BSD are you running?
Logged

If you're planning on PMing me to ask me to look at a thread, or for individual support, don't.
grey0x2a
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #10 on: February 24, 2009, 02:01:12 pm »

Ahh ok. So I will have to reboot to try this solution.
(to check the bios)

I am running OpenSuse 11.0 on the box in question. 2.6.25 kernel. an intel x86_64 .

I just checked the "my computer" window in KDE, it said that the cpu speed was changing. So this could be the problem.

It will be a while for me to try this as the server is in production and I do not want to take it down for 20-30+ min with out
notice.
« Last Edit: February 24, 2009, 02:13:47 pm by grey0x2a » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.03 seconds with 20 queries.