Skip to contentSkip to conversation

time running too fast in guest system

DISCUSSION Nikola Ciprich 2 participants 4 messages Jan 21, 2007 2 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Hi all,
I managed to get networking running in KVM finally, but still got trouble with time running too fast in guest kernel. Host is fedora core 6, 2.6.18-1.2869.fc6, x86-64, guest is 2.6.16, kvm is latest SVN (same with kvm-10 though). I tried with both host and guest kernel running with same scheduler frequency, but problem persist, same as running with -no-kvm any tips what should I check?
thanks a lot in advance
BR
nik

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
In reply to a message not in the archive

Hey,

Quoted 8 lines

Hi all,
I managed to get networking running in KVM finally, but still got trouble with time running too fast in guest kernel.
Host is fedora core 6, 2.6.18-1.2869.fc6, x86-64, guest is 2.6.16, kvm is latest SVN (same with kvm-10 though).
I tried with both host and guest kernel running with same scheduler frequency, but problem persist, same as running with -no-kvm any tips what should I check?

as far as i know, this is a common problem in virtualized environments. i solved this problem by doing an ntp-sync every hour with my host ... that keeps the time on track.

- fabiand

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#4 lore raw
In reply to a message not in the archive

On 2007-01-21, Fabian Deutsch wrote:
yes, i though about that too, but this is too bad solution, and time is running REALLY too fast, like ~15 faster, so a lot's of things are quite unusable - needs quite lot of praktice to manage to login before login timeouts for example :) I thing this must have some quite simple solution - maybe not perfect, but at least to get cloick running nearly as fast as the real ones - just to find out how :)

Quoted 4 lines

as far as i know, this is a common problem in virtualized environments. i solved this problem by doing an ntp-sync every hour with my host ... that keeps the time on track.

- fabiand

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#5 lore raw
In reply to a message not in the archive

OK, thanks to guys on IRC, I already have this problem solved:
clock=pit guest kernel parameter did the trick! cheers
n.

Quoted 3 lines

as far as i know, this is a common problem in virtualized environments. i solved this problem by doing an ntp-sync every hour with my host ... that keeps the time on track.

- fabiand

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV