qemu-timer: change unix timer to dynticks
commit84682834eb8f654da5e03a92930d80b8ae0d3065
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2011 11:10:25 +0000 (9 13:10 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 23 Jul 2011 16:18:57 +0000 (23 11:18 -0500)
tree3aeeec0738326f2e5e424820cbb3bab21fa855d6
parent46daff13c854769bfa8c51e77719325ea0f47b1b
qemu-timer: change unix timer to dynticks

A timer that wakes up every millisecond puts a lot of stress on the
iothread.  The large amount of IPIs causes very high context switch
activity, making emulation slow and the UI unusable.  This is by the
way the same reason why the Windows timers were switched to dynticks.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-timer.c