From: Jan Kiszka <jan.kiszka@siemens.com>
To: Abel Gordon <ABELG@il.ibm.com>
Cc: Nadav Har'El <NYH@il.ibm.com>, GaoYi <gaoyi709@gmail.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Michael D Day <mdday@us.ibm.com>, Avi Kivity <avi@redhat.com>,
Muli Ben-Yehuda <muli@cs.technion.ac.il>,
Nadav Amit <nadav.amit@gmail.com>
Subject: Re: [Qemu-devel] Will the ELI incorporated in theKVM?
Date: Wed, 19 Sep 2012 16:46:28 +0200 [thread overview]
Message-ID: <5059DAC4.9020907@siemens.com> (raw)
In-Reply-To: <OF164504B0.9943777C-ONC2257A7E.004E83C3-C2257A7E.0050DBC2@il.ibm.com>
On 2012-09-19 16:43, Abel Gordon wrote:
>
>> It's imperfect as you need to dedicate a core to pure guest-mode load
>> and cannot run userspace on that core (cannot walk through
>> userspace-based device models e.g.).
>
> That's not correct.
> For the evaluation, we dedicated a core for each guest to maximize the
> performance but this
> is not a requirement. You can over-commit cores and share them across
> multiple VMs. In this case,
> you will be sharing the cycles among all the VMs and the performance per VM
> will be degraded.
> In addition, if you share a core, an interrupt for a guest may be raised
> while the corresponding
> VCPU is not running. Depending on the workload, most of the interrupts will
> be generated while
> the VCPU runs or not.
>
>> and cannot run userspace on that core (cannot walk through
>> userspace-based device models e.g.).
>
> That's not correct.
> We can run any thread (including user-space threads) on the same core we
> run the VMs (VCPU threads).
> In fact, we did that for the ELI evaluation: we shared a single core to run
> the VCPU thread and ALL the host threads (including qemu I/O thread).
>
>> And it requires that magic bar to
>> map the shadow IDT into the guest (hmm, I think Hitachi avoided this).
>
> Hitachi uses a different technique which seems to have the 2 disadvantages
> you previously mentioned while ELI doesn't have these disadvantages.
>
>> It's invasive as it has to change Linux to maintain those isolated slave
>> CPUs. That is, of course, based on code that was published by Hitachi.
>> Yours may differ but will still have to solve the same problems.
>
> ELI does not require isolated/slave CPUs.
>
OK. Show patches.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-09-19 14:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 12:50 [Qemu-devel] Will the ELI incorporated in theKVM? GaoYi
2012-09-18 13:08 ` Jan Kiszka
2012-09-19 13:37 ` Muli Ben-Yehuda
2012-09-19 14:10 ` Jan Kiszka
2012-09-19 14:20 ` Avi Kivity
2012-09-19 14:43 ` Abel Gordon
2012-09-19 14:46 ` Jan Kiszka [this message]
2012-09-20 5:42 ` GaoYi
2012-09-20 6:58 ` Abel Gordon
2012-09-20 7:14 ` Jan Kiszka
2012-09-20 7:19 ` Gleb Natapov
2012-09-20 9:18 ` Avi Kivity
2012-09-20 9:22 ` Gleb Natapov
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=5059DAC4.9020907@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=ABELG@il.ibm.com \
--cc=NYH@il.ibm.com \
--cc=avi@redhat.com \
--cc=gaoyi709@gmail.com \
--cc=mdday@us.ibm.com \
--cc=muli@cs.technion.ac.il \
--cc=nadav.amit@gmail.com \
--cc=qemu-devel@nongnu.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.