public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anders <mail@flac.kalibalik.dk>
To: kvm@vger.kernel.org
Subject: Re: KVM power usage - high wakeup rates
Date: Sun, 22 Jun 2008 15:55:15 +0200	[thread overview]
Message-ID: <485E59C3.1020607@flac.kalibalik.dk> (raw)
In-Reply-To: <485AA6A7.2060806@codemonkey.ws>

Anthony Liguori wrote:
> With the default options, my idle winxp guest causes about 550 
> wakeups/sec which is pretty close to what I'd expect.  I don't think 
> you'll get much better than that without using a dynticks guest.

According to powertop, I had about 15 kvm wakeups/sec with my previous 
setup (nohz, no display). Now I upgraded to kvm-70 and the timer 
interrupt has reappeared so I have this:

Top causes for wakeups:
  25,4% (112,4)      <kernel IPI> : function call interrupts
  22,6% (100,0)   qemu-system-x86 : kvm_arch_vcpu_ioctl_run (pit_timer_fn)
  22,6% (100,0)   qemu-system-x86 : __kvm_migrate_timers (apic_timer_fn)
   8,7% ( 38,5)   qemu-system-x86 : sys_timer_settime (posix_timer_fn)

What could be the cause for this change? The previous kvm was from 
Ubuntu 8.04, there are no changes in the guest.

In general, what are the best host/guest settings for a low number of 
wakeups?


Thanks,
Anders.


  parent reply	other threads:[~2008-06-22 14:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-19  5:29 KVM power usage - high wakeup rates Haydn Solomon
2008-06-19 18:26 ` Marcelo Tosatti
2008-06-19 18:58   ` Haydn Solomon
2008-06-19 18:34 ` Anthony Liguori
2008-06-19 18:59   ` Haydn Solomon
2008-06-19 20:17     ` Anthony Liguori
2008-06-22  6:53   ` Avi Kivity
2008-06-22 13:55   ` Anders [this message]
2008-06-23  2:51     ` Avi Kivity
2008-06-23 17:10       ` Anders

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=485E59C3.1020607@flac.kalibalik.dk \
    --to=mail@flac.kalibalik.dk \
    --cc=kvm@vger.kernel.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