qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5636] Run timers from host alarm timer callback


From: Anthony Liguori
Subject: Re: [Qemu-devel] [5636] Run timers from host alarm timer callback
Date: Fri, 07 Nov 2008 08:06:30 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Luis Pureza wrote:
Hi,

This commit caused a noticeable slowdown while using the instruction
counting mechanism. I'm testing with the sparc-test image and with
--icount auto.

Yeah, I take it that all timers don't result in signals when using icount and that we rely on select() timeout instead. Let me look a little more closely at the code and I'll come up with a fix.

Regards,

Anthony Liguori

Any ideas?

Thanks,

Luís Pureza

On Wed, Nov 5, 2008 at 9:08 PM, Anthony Liguori <address@hidden> wrote:
Anthony Liguori wrote:
Revision: 5636
         http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5636
Author:   aliguori
Date:     2008-11-05 21:04:35 +0000 (Wed, 05 Nov 2008)

Log Message:
-----------
Run timers from host alarm timer callback

This further cleans up the main loop getting it a lot closer to what a
main
loop should be.

Signed-off-by: Anthony Liguori <address@hidden>

I've tested this with a variety of clocks and guests but this could uncover
more bugs like the previous 5s select sleep.  If things start slowing down,
please try this changeset first and let me know.

Regards,

Anthony Liguori











reply via email to

[Prev in Thread] Current Thread [Next in Thread]