All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/5] prevent Qemu from waking up needlessly
@ 2012-01-27 12:26 ` Stefano Stabellini
  0 siblings, 0 replies; 34+ messages in thread
From: Stefano Stabellini @ 2012-01-27 12:26 UTC (permalink / raw)
  To: qemu-devel@nongnu.org
  Cc: xen-devel@lists.xensource.com, Avi Kivity, Stefano Stabellini

Hi all,
this small patch series prevents Qemu from waking up needlessly on Xen
several times a second in order to check some timers.


The first patch stops Qemu from emulating the PIT on Xen, the second
patch disables the rtc_clock entirely.

The third patch makes use of a new mechanism to receive buffered io
event notifications from Xen, so that Qemu doesn't need to check the
buffered io page for data 10 times a sec for the entire life of the VM.

The fourth patch changes qemu_next_alarm_deadline only to check the
expire time of a clock if it is enabled.

Finally the last patch increases the default select timeout to 1h:
nothing should rely on the select timeout to be 1sec, so we might as
well increase it to 1h.



Shortlog and diffstat follow:

Stefano Stabellini (5):
      xen: do not initialize the interval timer emulator
      xen: disable rtc_clock
      xen: introduce an event channel for buffered io event notifications
      qemu_next_alarm_deadline: check the expire time of a clock only if it is enabled
      qemu_calculate_timeout: increase minimum timeout to 1h

 hw/pc.c      |    7 +++++--
 qemu-timer.c |   12 +++++-------
 xen-all.c    |   43 +++++++++++++++++++++++++++++++++++++------
 3 files changed, 47 insertions(+), 15 deletions(-)


A git tree available here:

git://xenbits.xen.org/people/sstabellini/qemu-dm.git timers-2

Cheers,

Stefano

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2012-01-31  7:30 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 12:26 [Qemu-devel] [PATCH v2 0/5] prevent Qemu from waking up needlessly Stefano Stabellini
2012-01-27 12:26 ` Stefano Stabellini
2012-01-27 12:26 ` [Qemu-devel] [PATCH v2 1/5] xen: do not initialize the interval timer emulator Stefano Stabellini
2012-01-27 12:26   ` Stefano Stabellini
2012-01-27 12:26 ` [Qemu-devel] [PATCH v2 2/5] xen: disable rtc_clock Stefano Stabellini
2012-01-27 12:26   ` Stefano Stabellini
2012-01-27 14:41   ` [Qemu-devel] " Paolo Bonzini
2012-01-27 14:41     ` Paolo Bonzini
2012-01-30 11:56     ` [Qemu-devel] " Stefano Stabellini
2012-01-30 11:56       ` Stefano Stabellini
2012-01-30 11:59       ` [Qemu-devel] " Paolo Bonzini
2012-01-30 11:59         ` Paolo Bonzini
2012-01-30 18:53         ` [Qemu-devel] " Stefano Stabellini
2012-01-30 18:53           ` Stefano Stabellini
2012-01-30 19:28         ` [Qemu-devel] " Anthony Liguori
2012-01-30 19:28           ` Anthony Liguori
2012-01-31  7:30           ` [Qemu-devel] " Paolo Bonzini
2012-01-31  7:30             ` Paolo Bonzini
2012-01-27 12:26 ` [Qemu-devel] [PATCH v2 3/5] xen: introduce an event channel for buffered io event notifications Stefano Stabellini
2012-01-27 12:26   ` Stefano Stabellini
2012-01-27 12:26 ` [Qemu-devel] [PATCH v2 4/5] qemu_next_alarm_deadline: check the expire time of a clock only if it is enabled Stefano Stabellini
2012-01-27 12:26   ` Stefano Stabellini
2012-01-27 14:42   ` [Qemu-devel] " Paolo Bonzini
2012-01-27 14:42     ` Paolo Bonzini
2012-01-27 15:43     ` [Qemu-devel] " Stefano Stabellini
2012-01-27 15:43       ` Stefano Stabellini
2012-01-27 15:53       ` [Qemu-devel] " Stefano Stabellini
2012-01-27 15:53         ` Stefano Stabellini
2012-01-27 12:26 ` [Qemu-devel] [PATCH v2 5/5] qemu_calculate_timeout: increase minimum timeout to 1h Stefano Stabellini
2012-01-27 12:26   ` Stefano Stabellini
2012-01-27 14:43   ` [Qemu-devel] " Paolo Bonzini
2012-01-27 14:43     ` Paolo Bonzini
2012-01-27 15:44     ` [Qemu-devel] " Stefano Stabellini
2012-01-27 15:44       ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.