qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
To: Avi Kivity <avi@redhat.com>
Cc: "Andrea Arcangeli" <aarcange@redhat.com>,
	"Chris Wright" <chrisw@redhat.com>,
	"大村圭(oomura kei)" <ohmura.kei@lab.ntt.co.jp>,
	kvm@vger.kernel.org,
	"Fernando Luis Vázquez Cao" <fernando@oss.ntt.co.jp>,
	qemu-devel@nongnu.org,
	"Takuya Yoshikawa" <yoshikawa.takuya@oss.ntt.co.jp>
Subject: [Qemu-devel] Re: [RFC] KVM Fault Tolerance: Kemari for KVM
Date: Thu, 19 Nov 2009 12:43:03 +0900	[thread overview]
Message-ID: <87e9effc0911181943k65656365r56552de25be9a25a@mail.gmail.com> (raw)
In-Reply-To: <4B03FD88.5090809@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]

2009/11/18 Avi Kivity <avi@redhat.com>:
> On 11/18/2009 03:28 PM, Yoshiaki Tamura wrote:
>>
>>> I don't think lmbench is intensive but it's sensitive to memory latency.
>>> We'll measure kernel build time with minimum config, and post it later.
>>>
>>
>> Here are some quick numbers of parallel kernel compile time.
>> The number of vcpu is 1, just for convenience.
>>
>> time make -j 2 all
>>
>> -----------------------------------------------------------------------------
>> Base:    real 1m13.950s (user 1m2.742s, sys 0m10.446s)
>> Kemari: real 1m22.720s (user 1m5.882s, sys 0m10.882s)
>>
>> time make -j 4 all
>>
>> -----------------------------------------------------------------------------
>> Base:    real 1m11.234s (user 1m2.582s, sys 0m8.643s)
>> Kemari: real 1m26.964s (user 1m6.530s, sys 0m12.194s)
>>
>> The result of Kemari includes everything, meaning dirty pages tracking and
>> synchronization upon I/O operations to the disk.
>> The compile time using j=4 under Kemari was worse than that of j=2,
>> but I'm not sure this is due to dirty pages tracking or sync interval.
>>
>
> Do disk writes trigger synchronization?  Otherwise this is a very relaxed
> test.  I'm surprised the degradation is so low running continuously in
> log-dirty.

They do.  I double checked the traffic on the synchronization network.
Attached file is a graph that shows the traffic during kernel compiling under
Kemari.  It seems j=4 produces more traffic than j=2, and after finishing
compilation, both of the traffic drop to the normal rate.

> Is this an npt or ept system?  Without npt or ept I'd expect less
> degradation since the page tables are heavily manipulated anyway.

This is an ept system indeed.  If properly implemented, Kemari should
work not only on x86 but also on other archs, and I'm interested in how
the numbers would differ.

Thanks,

Yoshi

> --
> Do not meddle in the internals of kernels, for they are subtle and quick to
> panic.
>
> --
> 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
>

[-- Attachment #2: kernel-compile-traffic.pdf --]
[-- Type: application/pdf, Size: 23813 bytes --]

      reply	other threads:[~2009-11-19  3:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  3:53 [Qemu-devel] [RFC] KVM Fault Tolerance: Kemari for KVM Fernando Luis Vázquez Cao
2009-11-12 21:51 ` [Qemu-devel] " Dor Laor
2009-11-13 11:48   ` Yoshiaki Tamura
2009-11-15 13:42     ` Dor Laor
2009-11-15 10:35 ` Avi Kivity
2009-11-16 14:18   ` Fernando Luis Vázquez Cao
2009-11-16 14:49     ` Avi Kivity
2009-11-17 11:04       ` Yoshiaki Tamura
2009-11-17 12:15         ` Avi Kivity
2009-11-17 14:06           ` Yoshiaki Tamura
2009-11-18 13:28         ` Yoshiaki Tamura
2009-11-18 13:58           ` Avi Kivity
2009-11-19  3:43             ` Yoshiaki Tamura [this message]

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=87e9effc0911181943k65656365r56552de25be9a25a@mail.gmail.com \
    --to=tamura.yoshiaki@lab.ntt.co.jp \
    --cc=aarcange@redhat.com \
    --cc=avi@redhat.com \
    --cc=chrisw@redhat.com \
    --cc=fernando@oss.ntt.co.jp \
    --cc=kvm@vger.kernel.org \
    --cc=ohmura.kei@lab.ntt.co.jp \
    --cc=qemu-devel@nongnu.org \
    --cc=yoshikawa.takuya@oss.ntt.co.jp \
    /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;
as well as URLs for NNTP newsgroup(s).