All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
To: Shouta.Uehara@jp.yokogawa.com
Cc: kvm@vger.kernel.org
Subject: Re: Guest performance is reduced after live migration
Date: Thu, 01 Nov 2012 12:45:18 +0800	[thread overview]
Message-ID: <5091FE5E.4050004@linux.vnet.ibm.com> (raw)
In-Reply-To: <AF8F7CA61C57594089A6FF49A1B453A503EBDC64A78F@EXMAIL02.jp.ykgw.net>

Shouta,

Can it be reproduced if thp/hugetlbfs is disabled on both source and destination?

On 11/01/2012 08:12 AM, Shouta.Uehara@jp.yokogawa.com wrote:
> Hello.
> 
> I have a problem with the performance of the guest Linux after live migration.
> When I analyze the file I/O latency of the guest using LMbench3, the latency of
> the guest on the destination host is about 2 times bigger than the guest on the
> source host. As a result that I investigated it, this problem occurs if three
> following conditions are right.
> 
>   1. Use the kernel version 2.6.38.6-26.fc15.x86_64 or later.
>   2. Execute system calls for low level file I/O (read, write, open etc.) on the
>      guest.
>   3. Enable EPT.
> 
> Performance cannot decrease on other tests of LMbench3; numerical operation,
> context switching, memory latencies etc.
> 
> Is this an existing problem ? What should I do to resolve it ?
> 
> ---
> The situation the problem occurs
> 
> CPU models     : Intel Xeon E3-1245 (Both hosts have same cpu.)
> Host kernel    : 3.6.4
> Host OS        : Fedora 16 64bit ver. (Both hosts have same OS.)
> Guest OS       : Fedora 16 64bit ver., kernel 3.1.0-7.fc16.x86_64
> QEMU version   : qemu-kvm 1.2.0
> QEMU parameter : qemu-kvm -m 1024 -drive file=guest.qcow2,if=virtio \
>                  -boot order=c,menu=on -k ja
>                  (-incoming tcp:192.168.0.51:4444   set only destination)
> QEMU command   : migrate -d tcp:192.168.0.51:4444
> Analyses       : LMbench version 3
> 
>         [Guest on the source host]
>         $ ./lat_syscall open
>           Simple open/close: 1.4281 microseconds
>         $ ./lat_syscall read
>           Simple read: 0.1416 microseconds
>         $ ./lat_syscall write
>           Simple write: 0.1194 microseconds
>         $ ./lat_fs -s 0
>           0k      550     98726   247712
>           1k      383     69751   193985
>           4k      381     69348   193383
>           10k     313     54369   155697
> 
>         [Guest on the source host]
>         $ ./lat_syscall open
>           Simple open/close: 1.6126 microseconds
>         $ ./lat_syscall read
>           Simple read: 0.2206 microseconds
>         $ ./lat_syscall write
>           Simple write: 0.1980 microseconds
>         $ ./lat_fs -s 0
>           0k      427     83252   243222
>           1k      315     60530   191650
>           4k      184     34535   190947
>           10k     65      11922   152608
> ---
> 
> Thanks.
> 
>         Shota Uehara <Shouta.Uehara()jp.yokogawa.com>
> 
> 
> -----
> CONFIDENTIAL: This e-mail may contain information that is confidential or otherwise protected from disclosure and intended only for the party to whom it is addressed. If you are not the intended recipient, please notify the sender by return and delete this e-mail. You are hereby formally advised that any unauthorized use, disclosure or copying of this email is strictly prohibited and may be unlawful.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 


  reply	other threads:[~2012-11-01  4:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01  0:12 Guest performance is reduced after live migration Shouta.Uehara
2012-11-01  4:45 ` Xiao Guangrong [this message]
2012-11-01  9:26   ` Shouta.Uehara
2012-11-09  9:51   ` Shouta.Uehara
     [not found]   ` <AF8F7CA61C57594089A6FF49A1B453A503EBDBD87D34@EXMAIL02.jp.ykgw.net>
2012-11-21  1:25     ` Shouta.Uehara
2012-11-21  3:31       ` Xiao Guangrong
  -- strict thread matches above, loose matches on Subject: below --
2012-12-19  0:43 Mark Petersen
2013-01-02 21:50 ` Marcelo Tosatti
2013-01-02 23:56   ` Mark Petersen
2013-01-03  0:48     ` Marcelo Tosatti
2013-01-03  1:32       ` Mark Petersen
2013-01-09 17:34         ` Mark Petersen
2013-01-17  0:05           ` Mark Petersen

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=5091FE5E.4050004@linux.vnet.ibm.com \
    --to=xiaoguangrong@linux.vnet.ibm.com \
    --cc=Shouta.Uehara@jp.yokogawa.com \
    --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 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.