From: "陳韋任 (Wei-Ren Chen)" <chenwj@iis.sinica.edu.tw>
To: qemu-devel@nongnu.org
Cc: laurent.desnogues@gmail.com, stefanha@gmail.com, vilanova@ac.upc.edu
Subject: Re: [Qemu-devel] How to measure guest memory access (qemu_ld/qemu_st) time?
Date: Mon, 18 Jun 2012 16:28:04 +0800 [thread overview]
Message-ID: <20120618082803.GA49309@cs.nctu.edu.tw> (raw)
In-Reply-To: <20120614031826.GA88265@cs.nctu.edu.tw>
> The reason why we want to do the measuring is we want to use KVM (sounds crazy
> idea) MMU virtualization to speedup the guest -> host memory address translation.
> I talked to some people on LinuxCon Japan, included Paolo, about this idea. The
> feedback I got is we can only use shadow page table rather than EPT/NPT to do
> the address translation (if possible!) since different ISA (ARM and x86, for
> example) have different page table format. Besides, QEMU has to use ioctl to ask
> KVM to get the translation result, but it's an overkill as the ARM page table
> is quite simple, which can be done in user mode very fast.
Anyone would like to give a comment on this? ;)
From the talk with Laurent on #qemu, he said the way he thought of is
translating GVA -> GPA manually (through software), then try to insert
GPA -> HPA into EPT, that's the only way HW can help.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
next prev parent reply other threads:[~2012-06-18 8:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-13 3:14 [Qemu-devel] How to measure guest memory access (qemu_ld/qemu_st) time? 陳韋任 (Wei-Ren Chen)
2012-06-13 9:18 ` Stefan Hajnoczi
2012-06-13 12:43 ` Lluís Vilanova
2012-06-14 3:29 ` 陳韋任 (Wei-Ren Chen)
2012-06-14 23:17 ` Lluís Vilanova
2012-06-13 10:43 ` Laurent Desnogues
2012-06-14 3:18 ` 陳韋任 (Wei-Ren Chen)
2012-06-14 22:30 ` Lluís Vilanova
2012-06-15 8:23 ` Laurent Desnogues
2012-06-15 19:10 ` Lluís Vilanova
2012-06-18 8:28 ` 陳韋任 (Wei-Ren Chen) [this message]
2012-06-18 19:36 ` Blue Swirl
2012-06-18 20:26 ` Lluís Vilanova
2012-06-19 7:52 ` 陳韋任 (Wei-Ren Chen)
2012-06-19 9:35 ` Michael.Kang
2012-06-19 9:47 ` Michael.Kang
2012-06-19 10:51 ` Lluís Vilanova
2012-06-18 19:38 ` Lluís Vilanova
[not found] ` <20120619075534.GB34488@cs.nctu.edu.tw>
[not found] ` <4FE0347A.9040309@redhat.com>
[not found] ` <20120619084939.GA37515@cs.nctu.edu.tw>
2012-06-19 9:01 ` Orit Wasserman
2012-06-14 3:31 ` 陳韋任 (Wei-Ren Chen)
-- strict thread matches above, loose matches on Subject: below --
2012-06-14 12:35 YeongKyoon Lee
2012-06-15 19:20 ` Blue Swirl
2012-06-18 6:57 ` 陳韋任 (Wei-Ren Chen)
2012-06-18 19:28 ` Blue Swirl
2012-06-15 2:10 YeongKyoon Lee
2012-06-18 4:59 YeongKyoon Lee
2012-06-18 19:21 ` Blue Swirl
2012-06-20 7:57 陳韋任 (Wei-Ren Chen)
2012-06-22 9:58 ` Xin Tong
2012-06-24 6:13 ` Blue Swirl
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=20120618082803.GA49309@cs.nctu.edu.tw \
--to=chenwj@iis.sinica.edu.tw \
--cc=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=vilanova@ac.upc.edu \
/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).