All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hansa <forums@logic-q.nl>
To: Wanpeng Li <wanpeng.li@hotmail.com>, kvm list <kvm@vger.kernel.org>
Subject: Re: KVM slow LAMP guest
Date: Wed, 26 Aug 2015 00:41:47 +0200	[thread overview]
Message-ID: <55DCEF2B.6080601@logic-q.nl> (raw)
In-Reply-To: <BLU436-SMTP1200E1A49A7D37AEED5CC5B80610@phx.gbl>

On 26-8-2015 0:33, Wanpeng Li wrote:
>> On the VM server I issued the command below every eleven minutes:
>>
>> date >>  curltest-file; _
>> top -b -n 1 | sed -n '7,12p' >> curltest-file; _
>> curl -o /dev/null -s -w"time_total: %{time_total}\\n" https://my.domain.com | perl -pe 'BEGIN {use POSIX;} print strftime("%Y-%m-%d %H:%M:%S ", localtime)' >> curltest-file
>>
>> This gives me the total time for displaying my site on a local machine. It also includes a 'top' command to display which processes are running at each sample. All is saved in a file called curltest-file.
>>
>> I found 7 occurrences in my curltest-file of a time_total larger than 20 seconds. Top however didn't show any significant CPU or IO activity at those sampled times. Further investigations shows me that they are related to a known (gravatar)  issue in the Wordpress Jetpack plugin. I didn't include these samples in the average total.
>
> If you just use halt_poll_ns or both halt_poll_ns and idle=poll in guest?
>
I just use kvm.halt_poll_ns=500000
Should I try some different tests?

  reply	other threads:[~2015-08-25 22:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  8:25 KVM slow LAMP guest Hansa
2015-06-18 17:26 ` David Matlack
     [not found]   ` <CALzav=f4sybLij197ULZP_FEtzz+uYSCPWGO_FWxgtB54fg7ow@mail.gmail.com>
     [not found]     ` <55A4C2AA.9000307@logic-q.nl>
     [not found]       ` <55A4C454.2070704@intercollect.com>
2015-07-14 17:16         ` David Matlack
2015-07-14 19:54           ` "C. Bröcker"
     [not found]             ` <55A57C21.6080502@redhat.com>
2015-07-15 19:00               ` Hansa
2015-07-15 20:02               ` "C. Bröcker"
2015-07-16 11:27                 ` Paolo Bonzini
2015-07-16 13:54                   ` Hansa
2015-08-23 19:18                   ` Hansa
2015-08-23 23:26                     ` Wanpeng Li
2015-08-24 15:23                       ` Hansa
2015-08-25 15:42                       ` Hansa
2015-08-25 22:33                         ` Wanpeng Li
2015-08-25 22:41                           ` Hansa [this message]
2015-08-25 23:12                             ` Wanpeng Li

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=55DCEF2B.6080601@logic-q.nl \
    --to=forums@logic-q.nl \
    --cc=kvm@vger.kernel.org \
    --cc=wanpeng.li@hotmail.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 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.