public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Dmitry Golubev <lastguru@gmail.com>
Cc: kvm@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: KVM with hugepages generate huge load with two guests
Date: Sun, 21 Nov 2010 13:28:12 +0200	[thread overview]
Message-ID: <4CE9024C.3060709@redhat.com> (raw)
In-Reply-To: <AANLkTi=3gzH+NoYBUvqJYpTxHsgWs9HNNuHo5X3YWNZB@mail.gmail.com>

On 11/21/2010 02:24 AM, Dmitry Golubev wrote:
> Hi,
>
> Seems that nobody is interested in this bug :(
>

It's because the information is somewhat confused.  There's a way to 
prepare bug reports that gets developers competing to see who solves it 
first.


> Anyway I wanted to add a bit more to this investigation.
>
> Once I put "nohz=off highres=off clocksource=acpi_pm" in guest kernel
> options, the guests started to behave better - they do not stay in the
> slow state, but rather get there for some seconds (usually up to
> minute, but sometimes 2-3 minutes) and then get out of it (this cycle
> repeats once in a while - every approx 3-6 minutes). Once the
> situation became stable, so that I am able to leave the guests without
> very much worries, I also noticed that sometimes the predicted
> swapping occurs, although rarely (I waited about half an hour to catch
> the first swapping on the host). Here is a fragment of vmstat. Note
> that when the first column shows 8-9 - the slowness and huge load
> happens. You can also see how is appears and disappears (with nohz and
> kvm-clock it did not go out of slowness period, but with tsc clock the
> probability of getting out is significantly lower):
>

Are you sure it is hugepages related?

Can you post kvm_stat output while slowness is happening? 'perf top' on 
the host?  and on the guest?

-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2010-11-21 11:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  9:07 KVM with hugepages generate huge load with two guests Dmitry Golubev
2010-10-01 22:30 ` Marcelo Tosatti
2010-10-01 23:50   ` Dmitry Golubev
2010-10-02  0:56     ` Dmitry Golubev
2010-10-02  8:03     ` Michael Tokarev
     [not found]   ` <AANLkTinJDLoWjiXwX1MOpuVf4RUuGE3qjrawS=d+5Swu@mail.gmail.com>
2010-11-17  2:19     ` Dmitry Golubev
2010-11-18  6:53       ` Dmitry Golubev
2010-11-21  0:24         ` Dmitry Golubev
2010-11-21  8:50           ` Michael Tokarev
2010-11-21 11:22             ` Dmitry Golubev
2010-11-21 11:28           ` Avi Kivity [this message]
2010-11-21 15:03             ` Dmitry Golubev
2010-12-01  3:38               ` Dmitry Golubev
2010-12-14  7:26                 ` Dmitry Golubev
2010-10-03  9:28 ` Avi Kivity
2010-10-03 20:24   ` Dmitry Golubev
2010-10-04  7:39     ` Avi Kivity
2010-10-04  9:01       ` Dmitry Golubev

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=4CE9024C.3060709@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lastguru@gmail.com \
    --cc=mtosatti@redhat.com \
    /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