* [Qemu-devel] WinXp Guest clock drift
@ 2005-03-22 6:12 Brad Campbell
2005-03-22 7:15 ` Mike Swanson
0 siblings, 1 reply; 7+ messages in thread
From: Brad Campbell @ 2005-03-22 6:12 UTC (permalink / raw)
To: qemu-devel
Does anyone else notice that unless you run an ntp client inside the guest, that time drifts so
much/so fast as to be unusable?
I work around this by using an ntp client but I thought it worth mentioning.
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 6:12 [Qemu-devel] WinXp Guest clock drift Brad Campbell
@ 2005-03-22 7:15 ` Mike Swanson
2005-03-22 8:13 ` Magnus Damm
2005-03-22 8:17 ` Brad Campbell
0 siblings, 2 replies; 7+ messages in thread
From: Mike Swanson @ 2005-03-22 7:15 UTC (permalink / raw)
To: qemu-devel
Well, this is probably a nuisance in all emulators :p
They only way to actually solve it that I know of is to use KQEMU.
--
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 7:15 ` Mike Swanson
@ 2005-03-22 8:13 ` Magnus Damm
2005-03-22 8:21 ` Brad Campbell
2005-03-22 8:17 ` Brad Campbell
1 sibling, 1 reply; 7+ messages in thread
From: Magnus Damm @ 2005-03-22 8:13 UTC (permalink / raw)
To: Mike Swanson, qemu-devel
On Mon, 21 Mar 2005 23:15:24 -0800, Mike Swanson
<mikeonthecomputer@gmail.com> wrote:
> Well, this is probably a nuisance in all emulators :p
Does it have to be that way? I mean - if a media player can keep track
of the time of a movie (with and without sound) then wouldn't it be
possible for other applications like emulators to keep accurate time?
I do not know how the time is handled in QEMU, but I wrote code some
years ago that monitored itself with gettimeofday() and adjusted the
drift on the fly.
/ magnus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 8:13 ` Magnus Damm
@ 2005-03-22 8:21 ` Brad Campbell
2005-03-22 8:28 ` Magnus Damm
2005-03-22 8:53 ` John R. Hogerhuis
0 siblings, 2 replies; 7+ messages in thread
From: Brad Campbell @ 2005-03-22 8:21 UTC (permalink / raw)
To: qemu-devel
Magnus Damm wrote:
> On Mon, 21 Mar 2005 23:15:24 -0800, Mike Swanson
> <mikeonthecomputer@gmail.com> wrote:
>
>>Well, this is probably a nuisance in all emulators :p
>
>
> Does it have to be that way? I mean - if a media player can keep track
> of the time of a movie (with and without sound) then wouldn't it be
> possible for other applications like emulators to keep accurate time?
>
> I do not know how the time is handled in QEMU, but I wrote code some
> years ago that monitored itself with gettimeofday() and adjusted the
> drift on the fly.
I actually find all sorts of oddities with timing and qemu emulation. Sometimes when installing
stuff in a windows guest the guest slows to a crawl until I move the mouse around or drag a window
or something similar. Almost like it starts to go to sleep until it gets some user interaction.
There are a number of emulation oddities thus far, I just get used to them and work around them. I
guess I should actually have a go at debugging them really.
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 8:21 ` Brad Campbell
@ 2005-03-22 8:28 ` Magnus Damm
2005-03-22 8:53 ` John R. Hogerhuis
1 sibling, 0 replies; 7+ messages in thread
From: Magnus Damm @ 2005-03-22 8:28 UTC (permalink / raw)
To: qemu-devel
On Tue, 22 Mar 2005 12:21:47 +0400, Brad Campbell <brad@wasp.net.au> wrote:
> Magnus Damm wrote:
> > On Mon, 21 Mar 2005 23:15:24 -0800, Mike Swanson
> > <mikeonthecomputer@gmail.com> wrote:
> >
> >>Well, this is probably a nuisance in all emulators :p
> >
> >
> > Does it have to be that way? I mean - if a media player can keep track
> > of the time of a movie (with and without sound) then wouldn't it be
> > possible for other applications like emulators to keep accurate time?
> >
> > I do not know how the time is handled in QEMU, but I wrote code some
> > years ago that monitored itself with gettimeofday() and adjusted the
> > drift on the fly.
>
> I actually find all sorts of oddities with timing and qemu emulation. Sometimes when installing
> stuff in a windows guest the guest slows to a crawl until I move the mouse around or drag a window
> or something similar. Almost like it starts to go to sleep until it gets some user interaction.
I second that observation.
> There are a number of emulation oddities thus far, I just get used to them and work around them. I
> guess I should actually have a go at debugging them really.
The same goes for me...
/ magnus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 8:21 ` Brad Campbell
2005-03-22 8:28 ` Magnus Damm
@ 2005-03-22 8:53 ` John R. Hogerhuis
1 sibling, 0 replies; 7+ messages in thread
From: John R. Hogerhuis @ 2005-03-22 8:53 UTC (permalink / raw)
To: qemu-devel
On Tue, 2005-03-22 at 12:21 +0400, Brad Campbell wrote:
> I actually find all sorts of oddities with timing and qemu emulation. Sometimes when installing
> stuff in a windows guest the guest slows to a crawl until I move the mouse around or drag a window
> or something similar. Almost like it starts to go to sleep until it gets some user interaction.
>
FWIW, that is one of those archetypical problems that crops up in event
driven software. It is a sure sign that an event has gone missing or is
being ignored. Events can be interrupts, or data appearing on an
interface that is polled. In this case it would probably have to do with
emulated hardware.
Just a general comment, but maybe it will jog something loose for the
right person...
-- John.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] WinXp Guest clock drift
2005-03-22 7:15 ` Mike Swanson
2005-03-22 8:13 ` Magnus Damm
@ 2005-03-22 8:17 ` Brad Campbell
1 sibling, 0 replies; 7+ messages in thread
From: Brad Campbell @ 2005-03-22 8:17 UTC (permalink / raw)
To: Mike Swanson, qemu-devel
Mike Swanson wrote:
> Well, this is probably a nuisance in all emulators :p
>
> They only way to actually solve it that I know of is to use KQEMU.
>
Umm forgot to mention, I'm using KQEMU.
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-03-22 9:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 6:12 [Qemu-devel] WinXp Guest clock drift Brad Campbell
2005-03-22 7:15 ` Mike Swanson
2005-03-22 8:13 ` Magnus Damm
2005-03-22 8:21 ` Brad Campbell
2005-03-22 8:28 ` Magnus Damm
2005-03-22 8:53 ` John R. Hogerhuis
2005-03-22 8:17 ` Brad Campbell
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).