LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2003, 04:44 AM   #1
moneyshotz
Member
 
Registered: Jun 2003
Posts: 75

Rep: Reputation: 15
Vmware Date/Time Issue


Hey Guys,
I have this setup where I have windows as the host and its running Debian as my guest OS on another partition. My question is will VMWARE mess up the time on Linux? Because for some reason the time in windows is fine. But when I'm in Linux it goes incredibly slow...like each computer minute = 3 real mintues. Anyone hear something like this before?
 
Old 07-12-2003, 05:03 AM   #2
hampel
Member
 
Registered: Jun 2003
Posts: 62

Rep: Reputation: 15
I have time problems, too.
But i didn't try to solve it, because it's not my pc;-)

There is running Linux real and Windows on virtual pc.
Windows always shows an other time, but it differes 1-2 hours...
 
Old 07-12-2003, 07:23 AM   #3
kris.kj.jacobs
Member
 
Registered: Jun 2001
Location: Belgium
Distribution: Mandrake
Posts: 57

Rep: Reputation: 15
If you have performance problems on your Linux host, search for "performance" on the VMware website. They have some tips and tricks on this. The most important things here are: more RAM makes it go faster, disable /dev/rtc lowers the load on the host computer.

I don't use the build in time synchronization feature of VMware. I use an NTP server on the host computer (Linux) and an NTP client on the guest OS (AtomSync).

Hope it helps.
 
Old 07-12-2003, 08:32 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
apparently you've solved the equation for time travel.
you move forward in time using linux, and back in time
using windows.
when you listen to music on the radio when running
linux, does it sound really fast?
 
Old 07-12-2003, 01:18 PM   #5
moneyshotz
Member
 
Registered: Jun 2003
Posts: 75

Original Poster
Rep: Reputation: 15
SO what exactly should I do? My host is Windows and my guest is linux. And there's something in VMware where I can fix that? And right now i have 512 total on my machine and Im letting vmware use 256mb.
 
Old 08-31-2007, 05:00 PM   #6
petcherd
Member
 
Registered: Dec 2006
Location: Portland, OR - USA
Distribution: Formerly Slackware; now RH, SuSE, Debian/Ubuntu, & Asianux
Posts: 55

Rep: Reputation: 15
VMWare has an official whitepaper on time-keeping: http://www.vmware.com/pdf/vmware_timekeeping.pdf
 
Old 11-10-2007, 02:17 PM   #7
JSkywalker
Member
 
Registered: Aug 2007
Distribution: openSUSE
Posts: 102

Rep: Reputation: 24
VMware and time

anyone got any good links on how to keep track of time in guest OS (linux), running under VMware on linux (openSUSE 10.2)

my system is about 14 seconds too fast in 100 seconds...

i did test this whith the folowing script:

Code:
while true; do /usr/sbin/ntpdate -b <host>; sleep 100; done
where <host> is replaced with the ip-address of the host-os.

results of this are:

Code:
..... ntpdate[123]: step time server <host> offset -14.414969 sec
 
Old 11-12-2007, 12:28 PM   #8
petcherd
Member
 
Registered: Dec 2006
Location: Portland, OR - USA
Distribution: Formerly Slackware; now RH, SuSE, Debian/Ubuntu, & Asianux
Posts: 55

Rep: Reputation: 15
I've added this to my crontab:
9,19,29,39,49,59 * * * * /usr/local/bin/timecheck

My timecheck script does a /usr/sbin/ntpdate, then parses the output and Emails me if the offset doesn't include the string "0.0" (ie. it notifies me if it tweaked the clock by more than a tenth of a second, though it could be fooled if it had to tweak some multiple of 10 seconds).

Here's the script, sloppy, though it may be:
Code:
#!/bin/bash
ntpdate <host> > /tmp/timesync
#test for precision > tenth of a sec ; otherwise, notify root
if grep "offset 0.0" /tmp/timesync > /dev/null
then
    :
elif grep "offset -0.0" /tmp/timesync > /dev/null
then
    :
else
    cat /tmp/timesync | mail -s "$HOSTNAME timecheck" root
fi
rm /tmp/timesync

Last edited by petcherd; 11-12-2007 at 12:30 PM. Reason: privacy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
Date issue marsques Linux - General 2 08-21-2005 10:17 AM
Display the date and time from another time zone lothario Linux - Software 4 07-31-2004 03:27 PM
your vmware tools are out of date....everything is new though! Viking888 Linux - Software 0 06-18-2003 05:09 PM
Date And Time Issue (Redhat 8) zenix Linux - Software 3 01-04-2003 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration