qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sven Zenker <Sven.Zenker@gmx.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Timing problems
Date: Tue, 08 Nov 2005 10:24:59 -0500	[thread overview]
Message-ID: <1131463500.10016.22.camel@linux> (raw)
In-Reply-To: <loom.20051107T233339-215@post.gmane.org>

Hi,
people have had this problem with SpeedStep machines, where it is
related to qemu timing being based on CPU cycle count, which is thereby
messed up. 
Since it seems to occur with frequency scaling disabled as well, could
this be related to running on a HyperThreading CPU? Not sure what
happens there with the cycle counts, but to verify, you could try to
apply my previously posted patch that substituted the built-in mechanism
with realtime clock calls (was for 0.7.1, though, I think).
Best,
Sven

Am Montag, den 07.11.2005, 22:46 +0000 schrieb Michael Smith:
> Alexander Toresson <alexander.toresson <at> gmail.com> writes:
> 
> > time flies by at 5x the speed it should.
> 
> > PS. I'm susprised nobody has seen this problem before. Is it just me
> > who experience it?
> 
> No, I experience this as well.
> 
> I'm running Qemu 0.7.2 with Linux 2.6.14 (vanilla kernel) as host OS and Windows
> XP Professional as guest OS.  If the VM is running and actively using CPU, time
> runs much faster in the guest than in the host.  On the other hand, if the VM is
> mostly idle, time is slower in the guest than in the host OS.
> 
> This odd clock behavior seems to cause other problems in the guest OS,
> particularly during boot/service initialization.
> 
> I can recreate this behavior with or without KQemu.
> 
> I can recreate this behavior with or without CPU frequency scaling enabled.
> 
> It is frustrating, and I would be very happy if someone could suggest a fix or
> workaround.
> 
> Thanks,
> Mike Smith
> mas3f@alumni.virginia.edu
> 
> 
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

  reply	other threads:[~2005-11-08 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29  8:08 [Qemu-devel] Timing problems Alexander Toresson
2005-06-29 13:21 ` Oliver Gerlich
2005-06-29 14:48   ` Alexander Toresson
2005-06-29 13:43 ` malc
2005-11-07 22:46 ` [Qemu-devel] " Michael Smith
2005-11-08 15:24   ` Sven Zenker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-09 17:31 [Qemu-devel] Re: timing problems space-wizard
2005-11-09 18:55 ` Mike Swanson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1131463500.10016.22.camel@linux \
    --to=sven.zenker@gmx.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).